Generate sound effects from a text description.
Authenticate with the X-API-Key request header.
List price. Volume / bulk customers get a discounted rate — contact us for account pricing.
| Name | Type | Required | Description | Default / options |
|---|---|---|---|---|
| text | string | required | Description of the sound effect. | — |
| duration | number | optional | Target duration in seconds (0.5-30); auto if omitted. | — |
| prompt_influence | number | optional | Prompt adherence (0-1). | default: 0.3 |
| model_id | string | optional | SFX model id. | default: eleven_text_to_sound_v2 |
| loop | boolean | optional | Generate a seamless loop (eleven_text_to_sound_v2 only). | default: false |
| output_format | string | optional | Audio output format (e.g. mp3_44100_128). | default: mp3_44100_128 |
curl -X POST https://brahmand-api.bulletshorts.co/v1/audio/elevenlabs-sfx \
-H "X-API-Key: $TRINETRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"text":"A heavy wooden door creaking open","duration":3}'{
"text": "A heavy wooden door creaking open",
"duration": 3
}Submitting a job returns 202 Accepted with a job id. Poll GET /v1/jobs/{id} until the job reaches a terminal state, or register a webhook to be notified.
{
"job_id": "job_elevenlabssfx_a1b2c3",
"status": "queued"
}{
"id": "job_elevenlabssfx_a1b2c3",
"model": "elevenlabs-sfx",
"status": "succeeded",
"output": {
"outputs": [
{
"url": "https://cdn.trinetra.ai/out/elevenlabs-sfx/a1b2c3.mp3",
"type": "audio"
}
]
},
"credits_charged": 10
}Webhook: set a webhook_url on your API key to receive a POST with the terminal job document instead of polling.