ElevenLabs Sound Effect V2 API Integration
Use ElevenLabs Sound Effect V2 through Rivya Public API v1 with model id elevenlabs-sound-effect-v2, supported inputs, parameters, Files API rules, credits, and response examples.
Available via APIText input readyAudio
API model id
elevenlabs-sound-effect-v2
Inputs
text
Files API
Not required for the minimal request
Base credits
3
Capability
Audio
Billing
METERED
Prompt limit
5000 characters
Request contract
Send the model id at the top level. Model-specific controls belong in params.
| Key | Type | Required | Default | Description |
|---|---|---|---|---|
| model | string | Yes | elevenlabs-sound-effect-v2 | Use the elevenlabs-sound-effect-v2 API model id. |
| prompt | string | Yes | - | Maximum 5000 characters for this model. |
| params | object | No | - | Model-specific parameter object. Use the rows below for allowed keys. |
| client_request_id | string | No | - | Optional client-side id for tracing requests in your system. |
Model parameters
| Key | Type | Required | Default | Range | Options | Description |
|---|---|---|---|---|---|---|
| loop | select | No | false | - | false, true | Loop |
| duration_seconds | number | No | 3 | min 0.5 / max 22 / step 0.5 | - | Duration seconds |
| prompt_influence | number | No | 0.3 | min 0 / max 1 / step 0.05 | - | Prompt influence |
| output_format | select | No | mp3_44100_128 | - | mp3_22050_32, mp3_44100_32, mp3_44100_64, mp3_44100_96, mp3_44100_128, mp3_44100_192, pcm_8000, pcm_16000, pcm_22050, pcm_24000, pcm_44100, pcm_48000, ulaw_8000, alaw_8000, opus_48000_32, opus_48000_64, opus_48000_96, opus_48000_128, opus_48000_192 | Output format |
Minimal request
{
"model": "elevenlabs-sound-effect-v2",
"prompt": "A polished audio concept for a short product story",
"params": {
"loop": "false",
"duration_seconds": 3,
"prompt_influence": 0.3,
"output_format": "mp3_44100_128"
}
}Create response
The create endpoint returns a public task id. Poll the status endpoint until the task succeeds or fails.
{
"id": "task_elevenlabs_sound_effect_v2_example",
"status": "queued",
"model": "elevenlabs-sound-effect-v2",
"reserved_credits": 3,
"final_credits": 0,
"created_at": "2026-05-11T00:00:00.000Z",
"updated_at": "2026-05-11T00:00:00.000Z",
"result": null,
"error": null
}Common errors
validation_failed, insufficient_credits, idempotency_conflict, rate_limited, not_found
The create endpoint returns a public task id. Poll the status endpoint until the task succeeds or fails.