Model ID
Put this value in the request body's `model` field — not the display name above.
by other · Voice cloning: upload or record your own (or an authorised) voice to clone a reusable custom voice for text-to-speech and digital human narration.
POST /v1/audio/voiceshttps://api.xxb69.xyz/v1curl https://api.xxb69.xyz/v1/audio/voices \
-H "Authorization: Bearer sk-gpushare-xxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"name": "我的音色",
"audio_url": "https://example.com/sample.mp3",
"async": true
}'
# 参考音频:公网直链,5 秒-3 分钟清晰人声
# ⚠️ 克隆真实人声前请确认已获得声音所有者授权curl https://api.xxb69.xyz/v1/audio/voices/$VOICE_ID \
-H "Authorization: Bearer sk-gpushare-xxxxxxxx"
# status: pending / ready / failed(失败自动全额退款)
# ready 后把这个 id 传进 /v1/audio/speech 的 voice 字段This is an async task: submit for a task ID, then poll until it settles. Polling itself is free.
Billed per call: a one-off training fee per cloned voice.
Sign in and any personal discount on your account will show up here. Sign in
Models like this bill for real per image / per second / per call and are mostly async tasks, so there is no one-click test here. Use the sample code above, or generate in the matching workbench (which has a parameter panel and a cost estimate).
Open the workbench404 model_not_foundYou passed the display name instead of the model ID.✗ Voice cloning · create a voice→✓ voice-clone-pro
→ Copy the Model ID at the top of this page
402 quota_exceededInsufficient account balance. All your API keys share one balance.
401 / 403The API key is invalid, or it has a model allowlist that doesn't include this ID.
→ Check the key's status and allowed models
400 invalid_requestThe reference audio is not a publicly reachable direct link, or its length is outside the 5-second to 3-minute range.
→ Check your request body against the sample code above
本页的 Markdown 版本:/models/voice-clone-pro.md