voiceover

Voiceover - Generate speech from text

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.

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

Request body

textstring required

The text to convert to speech. Supports UTF-8 characters including accented letters and non-Latin scripts.

voice_idstring required

The unique identifier of the ElevenLabs voice to use for synthesis. You can find voice IDs in the ElevenLabs voice library.

stabilitynumber

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_boostnumber

Controls how closely the generated voice matches the original voice sample. Higher values produce closer matching but may introduce artifacts.

speednumber

Speech rate multiplier. 0.7 is 30% slower than normal, 1.0 is normal speed, 1.2 is 20% faster.

use_speaker_boostboolean

Enable speaker boost for enhanced voice clarity and presence in the generated audio.

webhook_urlstring 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.

Example request

{
  "text": "Welcome to Magnific. Create amazing designs with AI-powered tools.",
  "voice_id": "21m00Tcm4TlvDq8ikWAM",
  "stability": 0.5,
  "similarity_boost": 0.2,
  "speed": 1,
  "use_speaker_boost": true,
  "webhook_url": "https://www.example.com/webhook"
}

Response

OK - Task created successfully

Example response

{
  "data": {
    "generated": [
      "https://openapi-generator.tech",
      "https://openapi-generator.tech"
    ],
    "task_id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
    "status": "CREATED"
  }
}

Changes

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