Calculate price for text-to-audio generation.
The price follows the number of characters (text, or count_text), the
language and the speed. `mode`, `voice` and `instruct` are only validated,
so the quote fails where the job would. Left unset they are taken from the
model's card, exactly as text_to_audio does.
---
Available models:
- `Qwen3_TTS_12Hz_1_7B_VoiceDesign`: text=10-5000 chars, speed=1 (fixed), sample_rate: 24000, mode=voice_design, format=mp3
langs: English, Italian, Spanish, Portuguese, Russian, French, German, Korean, Japanese, Chinese (voice from instruct)
- `Qwen3_TTS_12Hz_1_7B_Base`: text=10-5000 chars, speed=1 (fixed), sample_rate: 24000, mode=voice_clone, format=mp3
langs: English, Italian, Spanish, Portuguese, Russian, French, German, Korean, Japanese, Chinese (voice from ref_audio, 5-15s)
- `Qwen3_TTS_12Hz_1_7B_CustomVoice`: text=10-5000 chars, speed=1 (fixed), sample_rate: 24000, mode=custom_voice, format=mp3
langs: Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish, Italian (10); voices (9, shared): Vivian, Serena, Uncle_Fu, Dylan, Eric, Ryan, Aiden, Ono_Anna, Sohee (Chinese lacks Ryan)
- `Chatterbox`: text=10-2000 chars, speed=1 (fixed), sample_rate: 24000, mode=custom_voice, format=mp3
langs: ar, da, de, el, en, es, fi, fr, he, hi, it, ja, ko, ms, nl, no, pl, pt, ru, sv, sw, tr, zh (23); voices (1, same in every language): default
- `Kokoro`: text=3-10001 chars, speed=0.5-2, sample_rate: 24000, mode=custom_voice, format=mp3
langs: en-us [20: af_alloy, af_aoede, af_bella, af_heart, af_jessica, af_kore, af_nicole, af_nova, af_river, af_sarah, af_sky, am_adam, am_echo, am_eric, am_fenrir, am_liam, am_michael, am_onyx, am_puck, am_santa]; en-gb [8: bf_alice, bf_emma, bf_isabella, bf_lily, bm_daniel, bm_fable, bm_george, bm_lewis]; es [3: ef_dora, em_alex, em_santa]; fr-fr [1: ff_siwis]; hi [4: hf_alpha, hf_beta, hm_omega, hm_psi]; it [2: if_sara, im_nicola]; pt-br [3: pf_dora, pm_alex, pm_santa]