Generate speech from text. 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://docs.magichour.ai/llms.txt
Use this file to discover all available pages before exploring further.
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
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