Generate audio
Changed onSubmits an asynchronous audio (text-to-speech) generation job to the fal.ai queue and returns the queued job immediately. It speaks the given text; for a song, soundtrack or instrumental use POST /v1/audio/music. To speak in a cloned voice, pass its id from GET /v1/audio/voices as input.voice and omit model. Poll GET /v1/jobs/{id} or GET /v1/audio/{id} for status and results. Credits are charged only when the job completes successfully.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Request body
A quality tier (fast, balanced, quality) or any fal.ai text-to-speech endpoint id. Prefer a tier — it tracks the best current model for that price point. Defaults to fal-ai/elevenlabs/tts/multilingual-v2; GET /v1/audio/models maps tiers to ids with live pricing.
Model-specific input, forwarded to fal verbatim. text is required.
Example request
{
"model": "fast"
}Response
Generation job queued
Changes
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
3 more changes in this revision
- warning