Skip to main content
POST /api/v1/generate Content-Type: multipart/form-data
Parameter support can differ depending on the model used. Check the Model Library for model-specific compatibility. Open Model Library.

Authentication

Send your API key in the Authorization header as a Bearer token.

Audio Transcription (ASR)

Supported model: Whisper V3 Turbo (model=whisper_v3_turbo)

Parameters

Example


Text-to-Speech (TTS)

Three models are available. All accept multipart/form-data and return a WAV audio file by default. For real-time streaming over WebSocket, see Stream Audio. To upload a voice reference for cloning, see Upload Voice Reference.

Higgs Audio V2.5 (model=higgs2p5)

ChatterBox Voice Twin (model=chatterbox)

Qwen3 TTS (model=qwen3-tts)

Supports named speakers (CustomVoice mode) or voice cloning (Base mode). voice and voice_id/voice_url cannot be used together.

TTS Example