Generate background music from a text description using ElevenLabs. Returns a job that you poll or stream for completion.
Describe genre, mood, tempo, and instruments for best results.
API key from varg.ai/dashboard.
Pass as Authorization: Bearer varg_xxx.
Music model to use. Currently music_v1 is the only available model.
"music_v1"
Description of the music to generate. Include genre, mood, tempo, and instruments.
"upbeat electronic pop, energetic, 120bpm"
Duration in seconds
30
Additional options passed directly to the provider
Job created
Unique job identifier
"job_a1b2c3d4"
Current job status
queued, processing, completed, failed, cancelled "completed"
Resolved model identifier (provider:model format)
"fal:kling-v2.5"
When the job was created
"2026-02-13T10:00:00Z"
When the job finished (completed, failed, or cancelled)
"2026-02-13T10:02:30Z"
Job output, present when status is completed
Cache metadata
Error message, present when status is failed
"Provider returned an error"