Actions40
- Index Spoken Words
- Get Transcript
- Search in a Video
- Generate Stream
- Index Scenes
- List Scene Indexes
- Get Scene Index
- Delete Scene Index
- Add Subtitle
- Translate Transcript
- Generate Audio URL
- Generate Image URL
- Create Collection
- Download
- Get Collection
- Get Collections
- Update Collection
- YouTube Search
- Delete Audio
- Delete Image
- Delete Video
- Delete Collection
- Dub Video
- Generate Image
- Generate Music
- Generate Sound Effect
- Generate Voice
- Generate Video
- Generate Text
- Get Audio
- Get Audios
- Get Image
- Get Images
- Get Video
- Get Videos
- Search in a Collection
- Upload
- Record Meeting
- Get Meeting
- Compile Timeline (VideoDB's Video Editor)
Generate Music
AI-generatedSummary
Generates music from a text prompt within a specified collection
Inputs
- collection_id (required) — Choose from the list, or specify an ID using an expression
- prompt (required) — Prompt for the music generation
- duration — Duration of the generated music in seconds
- callback_url — Callback URL for job completion
Output shape
HTTP JSON response from the VideoDB API containing the generated audio asset or job identifier
No query parameters are sent; the POST request body includes prompt, duration, a hardcoded audio_type of 'music', and optional callback_url.