AI Voice Cloner API Reference - Magic Hour Docs
Clone a voice from an audio sample and generate speech.
- Each character costs 0.05 credits.
- The cost is rounded up to the nearest whole number
Documentation Index
Fetch the complete documentation index at: https://magichour-update-openapi-spec.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <api_key>, where <api_key> is your API key. To get your API key, go to Developer Hub and click "Create new API Key".
Body
Body
Response
Success
Success
Unique ID of the audio. Use it with the Get audio Project API to fetch status and downloads.
"cuid-example"
The amount of credits deducted from your account to generate the audio. We charge credits right when the request is made.
If an error occurred while generating the audio, credits will be refunded and this field will be updated to include the refund.
1