---
title: "Voiceover - Generate speech from text"
method: POST
path: "/v1/ai/voiceover/elevenlabs-turbo-v2-5"
tags: ["voiceover"]
---

# Voiceover - Generate speech from text

`POST /v1/ai/voiceover/elevenlabs-turbo-v2-5`

## Request

- Base URL: `https://api.magnific.com`
- URL: `https://api.magnific.com/v1/ai/voiceover/elevenlabs-turbo-v2-5`
- Auth: API key in header `x-magnific-api-key`

Generate natural-sounding speech from text using ElevenLabs AI voices.

Create professional voiceovers for videos, podcasts, presentations, and more.
Supports multiple languages, voice customization, and high-quality audio output.

## Request body

- Request17
  - `text` string, required: The text to convert to speech. Supports UTF-8 characters including accented letters and non-Latin scripts.
  - `voice_id` string, required: The unique identifier of the ElevenLabs voice to use for synthesis. You can find voice IDs in the ElevenLabs voice library.
  - `stability` number: Controls voice consistency and expressiveness. Lower values (0.0) produce more expressive and varied speech, while higher values (1.0) produce more consistent and stable output.
  - `similarity_boost` number: Controls how closely the generated voice matches the original voice sample. Higher values produce closer matching but may introduce artifacts.
  - `speed` number: Speech rate multiplier. 0.7 is 30% slower than normal, 1.0 is normal speed, 1.2 is 20% faster.
  - `use_speaker_boost` boolean: Enable speaker boost for enhanced voice clarity and presence in the generated audio.
  - `webhook_url` string, uri: Optional callback URL that will receive asynchronous notifications whenever the task changes status. The payload sent to this URL is the same as the corresponding GET endpoint response, but without the data field.

## Response `200`

OK - Task created successfully

- GetStyleTransferTaskStatus200Response
  - `data` TaskDetail, required
    - `task_id` string, uuid, required: Task identifier
    - `status` 'CREATED' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED', required: Task status
    - `generated` string[], required

## Other responses

- `400`: Bad Request - The server could not understand the request due to invalid syntax.
- `401`: Unauthorized - The client must authenticate itself to get the requested response.
- `500`: Internal Server Error - The server has encountered a situation it doesn't know how to handle.
- `503`: Service Unavailable

---

[API](https://skmtc.dev/magnific/apis/magnific-api.md) · [All operations](https://skmtc.dev/magnific/apis/magnific-api/llms.txt) · [OpenAPI document](https://skmtc.dev/magnific/apis/magnific-api/revisions/60711fb082c7?raw)
