Queue a new audio generation request.
/audio/quote to estimate cost, then poll /audio/retrieve with the returned queue_id until the generation finishes. If you keep generated media after retrieval, call /audio/complete once you have downloaded it.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The model to use for audio generation.
"elevenlabs-music"
The prompt describing the audio to generate. Minimum and maximum prompt lengths vary by model; inspect /models for min_prompt_length and prompt_character_limit.
1"A warm spoken narration introducing a product launch."
Optional lyrics/text for lyric-capable models. Required when /models reports lyrics_required=true; unsupported when /models reports supports_lyrics=false.
"Verse 1: Walking through the city lights..."
Optional duration hint in seconds. Only supported for models that expose duration metadata via /models. Accepts either an integer or a numeric string. If omitted, the model default duration is used when available.
x > 060
Optional instrumental toggle. Only supported when /models reports supports_force_instrumental=true.
false
Optional voice selection for voice-enabled models. See /models?type=music for the model's supported voices and default_voice.
"Aria"
Optional audio speed multiplier. Only supported when /models reports supports_speed=true; use the model-specific min_speed and max_speed values.
0.25 <= x <= 41
Audio generation request queued successfully
The ID of the model used for audio generation.
"elevenlabs-music"
The ID of the audio generation request. Use this to poll for status and retrieve the result.
"123e4567-e89b-12d3-a456-426614174000"
The status of the audio generation request.
QUEUED "QUEUED"