Seed Audio 1.0 API
1–3 speaker podcast & drama dialogue · 288 voices + WAV/MP3 clone
POST /v1/audios/generations · https://api.callmodels.dev/v1/audios/generations
Pricing & specification tiers
Actual delivered audio duration billing at 0.45 Credits / second ($0.0045/s) rounded up to 0.1s with a 5.0s minimum floor (2.25 Credits = $0.0225). 1–3 preset/cloned voice references, 1 mood image, and up to 48 kHz add 0 extra Credits; failed calls charge 0 Credits.
| Specification | Price (USD) | Credits ($1 = 100) | Per $10 Est. |
|---|---|---|---|
| Per-second base rate · 8–48 kHz MP3 or WAV (>5.0s billed at 0.1s precision) | $0.0045 / s | 0.450000 Credits / s | ~2,222 sec (~37.0 min) |
| Short line floor (0.3s–5.0s output, 1–3 voices included) | $0.0225 | 2.250000 Credits | ~444 lines (≤5s) |
| 30s two-speaker drama dialogue · Preset + WAV/MP3 clone mix (+0 ref fee) | $0.1350 | 13.500000 Credits | ~74 scenes (30s) |
| 60s two-host podcast conversation (1 full minute, up to 48 kHz) | $0.2700 | 27.000000 Credits | ~37 minutes |
Request parameters
Local
.wav/.mp3 voice clips (≤30s, ≤10 MB) or scene images (≤10 MB): upload via POST /v1/files/uploads (0 Credits) for a 24h signed URL.| Parameter | Type & Default | Constraints |
|---|---|---|
AuthorizationRequiredHeader | string | Bearer sk-... server-side API key from your account. |
Idempotency-KeyOptionalHeader | stringDefault: recommended | 1 to 255 ASCII chars. Prevents duplicate submissions and charges for 24h. |
modelRequired | "seed-audio-1.0" | Stable public model ID for BytePlus Seed Audio 1.0. |
promptRequired | string (1..1500) | 1 to 1,500 non-empty UTF-8 characters. Use @audio1, @audio2, @audio3 (or @音频1..3) to assign lines to entries in audio_references, plus natural stage cues for tone, laughter, or pauses. |
audio_referencesOptional | string[] (1..3)Default: omitted | Optional 1–3 speaker references (mutually exclusive with image_urls). Each item can be one of 288 preset voice IDs (e.g. "zh_male_shenyeboke_uranus_bigtts") or a reachable HTTPS .wav/.mp3 clip (≤30s, ≤10 MB). Local files upload free via POST /v1/files/uploads. |
image_urlsOptional | string[] (1)Default: omitted | Optional single HTTPS scene image (JPEG/PNG/WebP, ≤10 MB, mutually exclusive with audio_references) to steer vocal mood and delivery. |
sample_rateOptional | 8000 | 16000 | 24000 | 32000 | 44100 | 48000Default: 24000 | Output audio sample rate in Hz (8000, 16000, 24000 default, 32000, 44100, or 48000 broadcast studio rate) at 0 extra Credits. |
speech_rateOptional | number (0.5..2.0)Default: 1.0 | Speaking speed multiplier from 0.5 (half speed) to 2.0 (double speed). |
loudness_rateOptional | number (0.5..2.0)Default: 1.0 | Output loudness multiplier from 0.5 to 2.0. |
pitch_rateOptional | integer (-12..12)Default: 0 | Pitch shift in integer semitones from -12 to +12 (0 = natural pitch). |
output_formatOptional | "mp3" | "wav"Default: "mp3" | Output container ("mp3" default or lossless "wav"), delivered via a 30-day signed HTTPS URL on files.callmodels.dev. |
Code examples
# Optional: upload up to 3 local .wav/.mp3 voice samples (<=30s, <=10MB) or 1 image via POST /v1/files/uploads (0 Credits).
# 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": "seed-audio-1.0",
"prompt": "@音频1 欢迎回到《深夜灵感》,今天我们聊聊独立团队怎么在一晚之内做完一整期播客配音。\n@音频2 以前光约两位主播对时间就要三天,现在直接把台词标上角色,语气停顿都能一气呵成。",
"audio_references": [
"zh_male_shenyeboke_uranus_bigtts",
"zh_female_vv_uranus_bigtts"
],
"output_format": "mp3",
"sample_rate": 24000
}'
# 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"
fiTask responses
On completed, read results[0].url (30-day signed link, no auth header) and usage.cost_credits.
HTTP/1.1 202 Accepted
X-Request-Id: req_example
Cache-Control: no-store
{
"id": "task_01e561ba-859e-47fe-be79-60bc6f1d6499",
"model": "seed-audio-1.0",
"object": "audio.generation.task",
"created_at": "2026-11-21T00:00:00.000Z",
"status": "pending"
}Error codes
| HTTP / Error Code | Cause & Handling | Billing |
|---|---|---|
400 invalid_parameter400 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_balance402 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_denied403 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_large415 unsupported_media_type | Send application/json with a request body no larger than 128 KiB. | 0 Credits for this rejection |
500 internal_error503 service_unavailable503 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: invalid_mediaTask: content_moderationTask: invalid_inputTask: submission_rejected | The task ended (retryable: false) and its hold was released. Fix the prompt, parameters, or reference media (format, dimensions, aspect ratio, duration, or public HTTPS URL) before creating a new job with a fresh Idempotency-Key. | 0 Credits charged |
Task: service_busyTask: timeoutTask: delivery_failedTask: submission_unknownTask: upstream_failed | The task ended due to temporary load, timeout, or output verification failure (retryable: true) and its hold was released. You may create a separate generation job with a fresh Idempotency-Key. | 0 Credits charged |