Generate a music bed
plan_musicGenerate an instrumental music bed from a style, returning a media key plus BPM and beat times so video can be cut on the beat. Pass the key to edit_footage's music.
Instructions
Generate an instrumental music bed from a style (genre, mood, instruments, tempo; never an artist) and get its media key with its beat grid (bpm, beat times), so a video can be cut on the beat. Pass the key as edit_footage's music. SPENDS CREDIT: about $0.06 of engine cost a default call, billed with the plan's margin; budgetUsd caps it (default 2, max 10) and chargedUsd says what it cost. Needs the write scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | Yes | Genre, mood, instrumentation and tempo - what the generator is given, near-verbatim. | |
| budgetUsd | No | Optional: the most this call may spend, in dollars, default 2, max 10. | |
| allow_vocals | No | Lets the bed sing. Default false, because a voice under a narrator fights it - set it true when the track IS the post (a silent video, a music-led piece, a hook that wants a topline). | |
| duration_seconds | No | How long the video runs. The grid comes back covering that length, repeating as the bed loops - so a beat time is usable anywhere in the video, not just in the first loop. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| media | Yes | ||
| output | No | The tool's own result, shaped by the tool. | |
| chargedUsd | Yes |