Generate non-speech audio from a text prompt. Synchronous, flat per-generation pricing.
Synchronous endpoint. Describe a sound — door slam, rain, sword unsheathing, ambient room — get back a clip. Pairs naturally withDocumentation Index
Fetch the complete documentation index at: https://docs.kymaapi.com/llms.txt
Use this file to discover all available pages before exploring further.
/v1/audio/music for video and game soundtracking.
application/json body.
elevenlabs-sfx is shipped.text as an alias.0.5 to 22 seconds. Omit to let the model auto-pick a sensible length.0–1.200 OK with audio bytes. Flat pricing — duration doesn’t change the cost.
| Header | What |
|---|---|
X-Kyma-Model | elevenlabs-sfx |
X-Kyma-Cost-USD | flat $0.027 per generation |
X-Kyma-Balance-USD | remaining balance |
| Status | error.code | When |
|---|---|---|
400 | not_an_sfx_model | model is not an SFX SKU |
400 | prompt_too_long | prompt > 500 chars |
400 | invalid_duration | duration_seconds outside [0.5, 22] |
401 | auth_error | missing or invalid API key |
402 | billing_error | balance too low |
502 | provider_error | upstream provider failure |
POST /v1/audio/music — full music tracksPOST /v1/audio/speech — voice narration