Skip to main content
POST
ElevenLabs Music - Generate

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
input
object

Parameters for this endpoint (input_schema.params). Input media URLs use schema field names, e.g. image_url, image_urls, mask_url.

webhook_url
string<uri>

Optional webhook URL for terminal status (HMAC header x-ms-signature)

Response

Audio task (usually queued right after submit)

Async audio task

task_id
string
required
Example:

"ms-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

endpoint
string
required
Example:

"google/veo-3.1/text-to-video"

model
string
required
Example:

"veo-3.1"

capability
enum<string>
required
Available options:
image,
video,
audio
mode
string
required
Example:

"text-to-video"

status
enum<string>
required
Available options:
queued,
processing,
succeeded,
failed,
timeout,
canceled
created_at
string<date-time>
required
error
object | null
started_at
string<date-time> | null
completed_at
string<date-time> | null
elapsed_ms
integer | null
output
object | null

Normalized task output. Null while queued/processing; populated when status=succeeded.