composer_generate_music
Generates a music track (Lyria 3 Pro) as an async task. Returns task_id and the credit cost.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | Yes | Path relative to the project, e.g. gen/shot1.mp4. | |
| seed | No | Random seed. An identical request (same seed) within 10 minutes returns the existing task. | |
| prompt | Yes | Music description: length, tempo, genre, structure. | |
| duration | No | Target length in seconds. Lyria has no duration control and often overshoots short requests a lot; longer output is trimmed with a fade-out to match. Omit to let the model's natural length stand. | |
| project_id | Yes | project_id from composer_project_create. |