Deprecated, still works

This page describes a native (non-OpenAI) interface. It still works, but it is deprecated. New integrations should use the unified API.

There is no matching unified interface yet. Until the unified shape covers this capability, keep using the interface on this page.

ElevenLabs SFX · Music

Generate Sound EffectNEW

Generate a sound effect (mp3) from a text description.

💡 When to use:Use for ambience and action sound effects in videos / games / animations. No image / video materials.

Submit task
POST/ api/ cqt/ generator/ elevenlabs
Query Result
GET/ api/ cqt/ info/ elevenlabs?id={taskId}
⏱ Recommended polling interval:Poll every 5s until status = succeeded / failed.

Authorization

AuthorizationstringheaderRequired
API key, sent as a Bearer token in the Authorization header.

Sub-models

modelUsageMaterialsDuration (sec)Price (credits/sec)
elevenlabs-sound-v2Sound v2prompt (required)1~301.5

Request body

application/json
modelstringRequired
Sub-model: elevenlabs-sound-v2
promptstringRequired
Sound effect description
durationinteger
Duration (sec) 1-30, default 5

Response Fields

codenumber
200 means success
data.idstring
Task ID (taskId)
data.statusstring
queued / running / succeeded / failed
data.resultUrlstring
Result URL(s) on our CDN (long-lived); multiple results are comma-separated; null until done or on failure
data.errorMsgstring | null
Failure reason; null on success