First Test Cost
Save 40%- $10 top-up yields ~1,666 short clips (≤5s) · ~138.9 min ($1 = 100 Credits, no subscription)
- $0 charged on failed or timed-out tasks—100% of held credits return automatically
IndexTeam (Bilibili) IndexTTS 2.0 zero-shot voice cloning and emotional text-to-speech API. Clone any speaker from a 3–30s WAV reference and steer prosody via 9 emotion presets, an optional emotion reference WAV, or natural-language emotion text.
indextts-2.0POST /v1/audios/generationsPreview live credit estimates, listen to real IndexTTS 2.0 voice samples, and export cURL without signing in—or sign in to upload a local WAV reference and synthesize speech.
Pick a built-in sample voice or upload any clean 3–30s solo WAV clip for zero-shot cloning.
Actual delivered audio duration billing at 0.12 Credits / second ($0.0012/s) rounded up to 0.1s with a 5.0s minimum floor (0.60 Credits = $0.0060). Valid clips shorter than 5s (e.g. 3s) settle at 5.0s; failed calls charge 0 Credits.
| Specification | Ref credits | USD equiv | Official reference | Per $10 |
|---|---|---|---|---|
| Per-second rate · 24 kHz mono WAV (>5.0s billed at 0.1s precision) | 0.120000 Credits / s | $0.0012 / s | ~8,333 sec (~138.9 min) | |
| Short clip floor (0.3s–5.0s output, e.g. 3s dialogue = 5.0s min) | 0.600000 Credits | $0.0060 | ~1,666 clips (≤5s) | |
| 15s voiceover clip · Speaker + optional emotion reference WAV included | 1.800000 Credits | $0.0180 | ~555 clips (15s) | |
| 60s narration (1 full minute of synthesized 24 kHz WAV speech) | 7.200000 Credits | $0.0720 | ~138 minutes |
Choose output settings and expected call volume to estimate your spend in Credits and USD.
indextts-2.0Zero-shot 3–30s WAV cloning & 3 emotion modes · 24 kHz WAV
IndexTTS 2.0 API brings IndexTeam’s (Bilibili) flagship autoregressive zero-shot voice cloning and prosody-disentangled emotional text-to-speech model behind Callmodels’ unified POST /v1/audios/generations endpoint. Provide 1 to 1,000 UTF-8 characters of Chinese, English, or mixed bilingual dialogue alongside a single 3.0s–30.0s HTTPS WAV speaker reference, and receive a studio-grade 24 kHz mono PCM WAV file via a 30-day signed link on files.callmodels.dev.
Unlike fixed-speaker TTS engines, IndexTTS 2.0 separates speaker identity from emotional delivery across three mutually exclusive modes: 9 calibrated emotion presets (natural, happy, calm, sad, angry, surprised, melancholic, afraid, disgusted), a separate emotion_audio_url WAV reference, or natural-language emotion_text steering. On Callmodels, completed audio bills strictly on delivered WAV duration at 0.12 Credits / second ($0.0012/s — 40% below fal.ai’s $0.0020/s) rounded up to 0.1s with a 5.0s minimum floor (0.60 Credits = $0.0060), and $0 on failed calls.
Connect Callmodels Remote MCP to Claude, ChatGPT, or Google Gemini via zero-key browser sign-in. Run IndexTTS 2.0 in plain English inside chat with upfront price quotes before any spend.
Connect Chat AssistantSend standard JSON requests to POST /v1/audios/generations on https://api.callmodels.dev with account-scoped Idempotency-Key deduplication and 30-day signed result URLs—zero vendor SDK lock-in.
Jump to API ReferenceCopy a self-contained engineering prompt with exact endpoint, schema constraints, polling loop, and error handling—paste straight into Cursor, Claude Code, or Codex.
Clone bespoke character timbres from a clean 5-second WAV sample and switch between calm, happy, angry, or surprised presets via emotion_scale without retraining voice weights—each ≤5s line costs just 0.60 Credits ($0.0060).
Keep your brand narrator’s exact vocal identity in speaker_audio_url while passing an expressive acting take in emotion_audio_url to transfer dramatic cadence, urgency, or warmth at zero extra reference fee.
Synthesize crisp Chinese-English product narrations with configurable clause pauses (interval_silence_ms) and feed the returned 30-day files.callmodels.dev WAV URL straight into Seedance 2.5 / 2.0 reference-to-video audio_urls.
| Model | Billing Mode | Max Spec | Starting Price | Output per $10 | Best For |
|---|---|---|---|---|---|
| Suno V6 (V6 / Mini / Wild) | Fixed per call | Up to 2 full songs · MP3/M4A · Std & Max (2×) | $0.0700 / call | ~142 calls (~284 songs) | Full-length vocal songs, custom lyrics & instrumental BGM (2 tracks/call) |
| IndexTTS 2.0 | 0.1s audio (5s min) | 24 kHz WAV · 3–30s WAV clone · 3 emotion modes | $0.0012 / s | ~1,666 clips (≤5s) · ~138.9 min | Zero-shot voice cloning, emotional character dubbing & bilingual narration (-40% vs fal.ai) |
Yes. IndexTTS 2.0 has a 5.0-second minimum billable floor (0.60 Credits = $0.0060) to cover zero-shot voice-cloning inference and audio verification. Any valid completed clip between 0.3s and 5.0s (such as a 3.0s line) is delivered normally and settles at 5.0s (0.60 Credits). Clips longer than 5.0s settle at 0.1-second precision (for example, 8.34s bills as 8.4s = 1.008 Credits).
Because speech duration depends on text length, punctuation pauses, and reference speaking pace, Callmodels temporarily holds a safe upper-bound duration estimate when accepting HTTP 202. As soon as the WAV file is verified, only the actual delivered duration (5.0s minimum, 0.1s precision) is charged and 100% of unused held credits return immediately.
Both speaker_audio_url and optional emotion_audio_url must be publicly reachable HTTPS URLs pointing to uncompressed PCM or IEEE float WAV files (.wav) between 3.0 and 30.0 seconds long and up to 15 MB. If your WAV is stored locally, upload it first at 0 Credits via POST /v1/files/uploads to obtain a 24-hour signed files.callmodels.dev URL. Non-WAV files or clips outside 3–30s are rejected upfront with HTTP 400 and 0 Credits held.
No—to keep prosody control deterministic, the three emotion steering modes are mutually exclusive: choose either (1) emotion preset ("natural" through "disgusted"), (2) emotion_audio_url, or (3) emotion_text (1–200 chars). Passing more than one returns HTTP 400 invalid_parameter with 0 Credits charged. emotion_scale (0.0–1.0) works across all modes.
fal.ai lists IndexTTS 2.0 at $0.0020 per audio second ($0.120 / minute). Callmodels charges 0.12 Credits ($0.0012) per audio second ($0.072 / minute)—saving 40% with zero extra surcharge for speaker or emotion reference WAVs.
Failed, rejected, or timed-out tasks charge 0 Credits. 100% of the initial credit hold is automatically released back to your account wallet and API key quota.
Submit to POST /v1/audios/generations with your Bearer key and a stable Idempotency-Key. Query the returned task ID for its result links and settled credits.
Includes exact endpoint, parameter constraints, async polling loop, and error handling—paste straight into your coding agent.
https://api.callmodels.dev/v1/audios/generationsGET /v1/tasks/{task_id}indextts-2.0Zero-Shot Voice Cloning & Emotional TTS (24 kHz WAV)| Parameter | Type | Allowed values & notes |
|---|---|---|
Authorizationheader · Required | string | Bearer sk-... server-side API key from your account. |
Idempotency-Keyheader · Optional (recommended) | string | 1 to 255 ASCII chars. Prevents duplicate submissions and charges for 24h. |
modelbody · Required | "indextts-2.0" | Stable public model ID for IndexTTS 2.0. |
promptbody · Required | string (1..1000) | 1 to 1,000 non-empty UTF-8 characters of speech text to synthesize (Chinese, English, or mixed bilingual text). |
speaker_audio_urlbody · Required | string (HTTPS WAV URL) | Publicly reachable HTTPS PCM/float WAV reference voice clip (3.0s–30.0s, ≤15 MB) for zero-shot timbre cloning. Local .wav files can be uploaded at 0 Credits via POST /v1/files/uploads. |
emotionbody · Optional ("natural") | "natural" | "happy" | "calm" | "sad" | "angry" | "surprised" | "melancholic" | "afraid" | "disgusted" | Preset emotion vector (mutually exclusive with emotion_audio_url and emotion_text). "natural" preserves the speaker reference prosody. |
emotion_audio_urlbody · Optional (omitted) | string (HTTPS WAV URL) | Optional HTTPS WAV clip (3.0s–30.0s, ≤15 MB) whose emotional prosody is disentangled and transferred onto speaker_audio_url. |
emotion_textbody · Optional (omitted) | string (1..200) | Optional natural-language emotion description (1–200 chars, mutually exclusive with emotion_audio_url and non-natural emotion preset). |
emotion_scalebody · Optional (1.0) | number (0..1) | Emotion intensity weight from 0.0 (subtle) to 1.0 (full expressive strength). |
interval_silence_msbody · Optional (200) | integer (0..2000) | Pause duration in milliseconds inserted between segmented clauses (0–2000 ms). |
max_text_tokens_per_segmentbody · Optional (120) | integer (32..300) | Maximum text tokens per autoregressive synthesis segment (32–300). |
output_formatbody · Optional ("wav") | "wav" | 24 kHz mono PCM WAV delivered via a 30-day signed HTTPS URL on files.callmodels.dev. |
# Optional: upload a local 3–30s .wav via POST /v1/files/uploads (0 Credits) to get speaker_audio_url.
# Set CALLMODELS_OPERATION_ID once per job and keep it for retries.
: "${CALLMODELS_OPERATION_ID:?Set a stable job ID}"
curl --silent --show-error --fail-with-body --max-time 15 "https://api.callmodels.dev/v1/audios/generations" \
-H "Authorization: Bearer $CALLMODELS_API_KEY" \
-H "Idempotency-Key: $CALLMODELS_OPERATION_ID" \
-H "Content-Type: application/json" \
--data-binary '{
"model": "indextts-2.0",
"prompt": "只有当科技为本地社群创造价值的时候,才真正有意义。",
"speaker_audio_url": "https://example.com/your-speaker-reference.wav",
"emotion": "natural",
"emotion_scale": 1,
"interval_silence_ms": 200
}'
# Set TASK_ID to the id from the response, then poll until terminal.
if [ -n "${TASK_ID:-}" ]; then
curl --silent --show-error --fail-with-body --max-time 15 "https://api.callmodels.dev/v1/tasks/$TASK_ID" \
-H "Authorization: Bearer $CALLMODELS_API_KEY"
fiHTTP/1.1 200 OK
X-Request-Id: req_example
Cache-Control: no-store
{
"id": "task_01e561ba-859e-47fe-be79-60bc6f1d6499",
"model": "indextts-2.0",
"object": "audio.generation.task",
"created_at": "2026-11-21T00:00:00.000Z",
"status": "completed",
"results": [
{
"type": "audio",
"url": "https://files.callmodels.dev/task_01e561ba-859e-47fe-be79-60bc6f1d6499/0.wav?expires=1797811200&sig=example",
"expires_at": "2026-12-21T00:00:00.000Z"
}
],
"usage": {
"cost_credits": "0.6"
}
}| HTTP / Task Error Code | Cause & Recommended Handling | Billing Impact |
|---|---|---|
400 invalid_parameter 400 model_not_found | Use the model ID and parameters documented for the endpoint. Correct the JSON before sending again. | 0 Credits for this rejection |
401 invalid_api_key | Check the server-side Bearer key, expiration and revocation status. | 0 Credits for this rejection |
402 insufficient_balance 402 key_quota_exceeded | Check available account credits and the key’s total and daily limits with GET /v1/credits. | 0 Credits for this rejection |
403 model_access_denied 403 account_disabled | Check the model allowlist and account status. | 0 Credits for this rejection |
404 not_found | Check the task ID or original Idempotency-Key and the account that submitted it. | 0 Credits for this rejection |
409 idempotency_key_conflict | Use the original JSON for this job. Assign a fresh key only to a new job. | 0 Credits for this rejection |
413 body_too_large 415 unsupported_media_type | Send application/json with a request body no larger than 128 KiB. | 0 Credits for this rejection |
500 internal_error 503 service_unavailable 503 model_unavailable | On a timeout or transient error, look up the original job and retry only with its original key and body. | Check the task record |
Task: delivery_failed Task: submission_unknown Task: submission_rejected Task: upstream_failed Task: timeout | The task ended. Its hold was released. Review error.code before creating a separate generation job. | 0 Credits charged |
Sign in with Google to create scoped sk- API keys, top up from $10 with no monthly commitment, and pay $0 on failed calls.