> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kymaapi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ElevenLabs Sound Effects

> ElevenLabs Sound Effects generates short, non-speech audio clips from text prompts. Use it when you need fast, low-cost foley, ambient noise, or UI sound effects without synthesizing voice.

## Overview

This model converts text descriptions into non-speech audio, producing clips between 0.5 and 22 seconds. It handles prompts for environmental sounds, impacts, and mechanical noises. The context window accepts up to 500 tokens for prompt instructions.

On Kyma, the endpoint operates with automatic failover and returns exact usage costs in the response payload. Prompt caching is supported, billing repeated prompt prefixes at this model's cached input rate. The model runs on a fast, cheap tier and does not support reasoning, vision, or structured JSON outputs.

Output is strictly audio. The model does not generate speech or music, and it will not return structured data formats. It is optimized for quick generation of isolated sound assets rather than long-form audio composition.

## Specs

| Field              | Value                                                  |
| ------------------ | ------------------------------------------------------ |
| Model ID           | `elevenlabs-sfx`                                       |
| Best for           | Sound effects, foley, ambient sounds, video game audio |
| Context window     | 500                                                    |
| Input modalities   | Text                                                   |
| Output modalities  | Audio                                                  |
| Tool calling       | Yes                                                    |
| Structured outputs | Yes                                                    |
| Prompt caching     | Yes                                                    |
| Speed              | Fast                                                   |
| Cost band          | Cheap                                                  |
| Release stage      | Stable                                                 |

## Pricing

|        | Per 1M tokens |
| ------ | :-----------: |
| Input  |     \$0.20    |
| Output |     \$0.60    |

## Use this when

* **Game Foley Generation** — Create impact sounds, footsteps, and environmental cues for interactive media.
* **Video Post Production** — Add background ambience, weather effects, and mechanical noises to video timelines.
* **UI Interaction Sounds** — Generate short clicks, swipes, and notification tones for application interfaces.
* **Podcast Audio Enhancement** — Insert transitional whooshes, rain, or crowd noise to match narrative pacing.

## Not ideal for

Do not use this model for generating spoken dialogue, singing, or musical compositions.

## Pick something else when

* You need realistic voice narration: use [`eleven-multilingual-v2`](/models/eleven-multilingual-v2).
* You require background music tracks: use [`elevenlabs-music`](/models/elevenlabs-music).
* You want fast, low-latency voice synthesis: use [`eleven-turbo-v2-5`](/models/eleven-turbo-v2-5).

## Example

```python theme={null}
from openai import OpenAI

client = OpenAI(base_url="https://kymaapi.com/v1", api_key="ky-...")

response = client.chat.completions.create(
    model="elevenlabs-sfx",
    messages=[{"role": "user", "content": "..."}],
)
```

## Agent query example

Ask the API which models fit, instead of hardcoding an id:

```bash theme={null}
curl "https://kymaapi.com/v1/models?recommended_for=generate-speech&tools=true&quality_tier=strong"
```

## FAQ

**What is the maximum length of the generated audio?**

The model outputs clips ranging from 0.5 to 22 seconds per generation.

**Does this model support prompt caching?**

Yes, repeated prompt prefixes are cached and billed at this model's cached input rate.

**Can I use this for generating speech or music?**

No, it is strictly designed for non-speech sound effects and ambient audio.
