generate_music
Generate music tracks from text prompts, with adjustable duration and instrumental-only mode. Create complementary background music for videos, including speech ads.
Instructions
Compose a music track with Eleven Music (3-600s) from a text prompt.
For speech ads the bed must be COMPLEMENTARY, not the main event: prompt for minimal/low-key/background music ("soft, sparse, no melodic hook, low intensity"), keep force_instrumental=true so it never fights the voiceover, match duration_s to the video, then lay it under with mix_music_into_video (low gain + speech ducking).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| model_id | No | music_v1 | |
| duration_s | Yes | ||
| output_path | No | ||
| force_instrumental | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||