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

# Create a sound

> Creates a sound from text (text-to-speech) or from an audio file. The answer comes back with `status: processing`. The sound then turns `ready`, or `failed` when it cannot be converted: check its `status` with [Get a sound](/api-reference/sounds/get-a-sound) before you rely on it. A flow save that uses a `failed` sound is refused with `422 CALL_FLOWS.SOUND_FAILED`. Use its `id` as `soundId` in a call flow or a closed action.

- **From text**, `Content-Type: application/json`: `name`, `text`, a `voice` from [List text-to-speech voices](/api-reference/sounds/list-text-to-speech-voices) and a `language` it offers. Text-to-speech has its own per-account limit: over it, the answer is `429 SOUNDS.TEXT_TO_SPEECH_LIMIT` with `Retry-After`.
- **From a file**, `Content-Type: multipart/form-data`: a `name` field and a `file` part, MP3, up to 8 MB.
- **Retries.** Send an `Idempotency-Key` to retry safely. The same key with the same body returns the first answer again; the same key with another body is `422 IDEMPOTENCY.KEY_REUSED`. Keys are kept for 24 hours.



## API Specification

The full API specification for this endpoint is available in the [documentation index](https://help.cloudtalk.io/llms.txt).


## Related topics

- [Configure Sounds and Greetings](https://help.cloudtalk.io/en/articles/5412332-configure-sounds-and-greetings.md)
- [List text-to-speech voices](https://help.cloudtalk.io/api-reference/sounds/list-text-to-speech-voices.md)
- [Changelog](https://help.cloudtalk.io/changelog.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.