Sound Effects
Sound Effects API for sound effects at $0.003384 per call. Sound effects from text. Call it on /v1/audio/generations and pay as you go in USD; failed tasks are not charged.
- Price
- $0.003384
- Unit
- per call
- Type
- Sound effects
- Endpoint
- /v1/audio/generations
Pricing
$0.003384 per call
Estimated $0.01354
USD, charged from your prepaid balance at the listed price. List price; a few keys on special plans may differ.Failed and cancelled tasks are not charged. How billing works
What it does
Sound effects from text
- Model ID
- sound-effects
API
POST /v1/audio/generations
Runs as an asynchronous task: create it, poll its status, then download the file. Set BIGMODEL_API_KEY to your API key first.
cURL
curl https://bigmodel.io/v1/audio/generations \
-H "Authorization: Bearer $BIGMODEL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: sfx-1" \
-d '{
"model": "sound-effects",
"prompt": "Rain on a tin roof, distant thunder"
}'
# Poll, then download
curl https://bigmodel.io/v1/audio/generations/TASK_ID \
-H "Authorization: Bearer $BIGMODEL_API_KEY"Python, Node.js, every input field and error handling are in the guide. Guide →