ElevenLabs SFX · Music
Generate Sound EffectNEW
📌 What is this: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.
Endpoints
| Usage | Method | Path |
|---|---|---|
| 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.
Sub-models
| model | Usage | Materials | Duration (sec) | Price (credits/sec) |
|---|---|---|---|---|
| elevenlabs-sound-v2 | Sound v2 | prompt (required) | 1~30 | 1.5 |
Request Parameters
| Param | Type | Required | Description |
|---|---|---|---|
| model | string | Required | Sub-model: elevenlabs-sound-v2 |
| prompt | string | Required | Sound effect description |
| duration | integer | — | Duration (sec) 1-30, default 5 |
Request Example
curl -X POST https://api.cqtai.com/api/cqt/generator/elevenlabs \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "elevenlabs-sound-v2",
"prompt": "heavy rain on a tin roof with distant thunder",
"duration": 5
}'
# -> { "code":200, "data":"<taskId>" }Response Example
{
"code": 200,
"msg": "success",
"data": {
"id": "cab61d6001a74bdeb80897dc0eebb5ed",
"resultUrl": "https://cdn.novapi.ai/elevenlabs/1791950033809_927c5d544d5a470ea114defa6e719889.mp3",
"status": "succeeded",
"errorMsg": null,
"createTime": "2026-10-14 11:53:35",
"completeTime": "2026-10-14 11:53:54"
}
}Response Fields
| Field | Type | Description |
|---|---|---|
| code | number | 200 means success |
| data.id | string | Task ID (taskId) |
| data.status | string | queued / running / succeeded / failed |
| data.resultUrl | string | Result URL(s) on our CDN (long-lived); multiple results are comma-separated; null until done or on failure |
| data.errorMsg | string | null | Failure reason; null on success |