Audio

Generate sound effect (sync)

Generate a short sound effect from a text prompt (ElevenLabs). Synchronous - returns audio bytes. Billed per generation.

post/audio/sfx

Request

  • Base URL: https://kymaapi.com/v1
  • URL: https://kymaapi.com/v1/audio/sfx
  • Auth: HTTP bearer

Request body

modelstring

SFX model SKU. Non-SFX models return 400 not_an_sfx_model. This lane is paused: every model is switched off, so a request returns 404 model_not_found.

promptstring required

Description of the sound effect. Alias: text.

duration_secondsnumber

Optional target length in seconds. Omit to let the model choose.

response_formatstring

Output audio format (ElevenLabs naming, e.g. mp3_44100_128).

prompt_influencenumber

How strictly the output follows the prompt (0-1).

Response

Audio bytes. Billing rides X-Kyma-* response headers. Append ?save_to_blob=1 for a JSON body with a hosted url.

Changes

No recorded changes to this operation across all 1 revision of this API.