Clone a voice from an audio sample
Changed onRequest
- Base URLhttps://api.beatra.ai (the document declares no server; this is the origin it was published from)
- Authnone declared. Required headers: Idempotency-Key
Headers
Request body
Caller-supplied metadata; ≤16 keys, key ≤64 chars, value ≤512 chars
HTTPS URL beatra will POST the final Task envelope to when the Task reaches a terminal state
Optional standalone callback signing key. Omit for unsigned callback delivery; requires callback_url when provided.
Per-model-family passthrough options; opaque to the platform, validated per model
Clean single-speaker voice sample (uploaded artifact or HTTPS URL), ~10s-5min
Optional aligned quality sample that sharpens clone similarity.
Clone engine. Omit unless the user explicitly asks for a specific clone engine; 'auto' (the default) lets the platform choose.
Optional BCP-47 language hint for the cloned voice
Optional speaker gender tag (male, female, or neutral); inferred automatically when omitted and unambiguous.
Optional speaker age group (child, youth, adult, or senior); inferred automatically when omitted and unambiguous.
Optional recommended scenarios for this cloned voice (up to 5 items).
Optional short description of timbre, pace, and character (up to 200 characters).
Optional. true: hear the voice before paying. The clone and a short fixed preview are free; the voice waits (status pending_activation) up to 3 days until beatra.voices.activate charges the model's clone price once, and it is deleted automatically if not activated. Omit it for the normal clone, charged once and ready at once. Supported by minimax-voice-clone and elevenlabs-voice-clone (and auto). At most 3 previews started per account per UTC day and 5 waiting at once. Set language to the sample's spoken language so the fixed preview sentence matches it.
Caller asserts it has the rights to clone this voice. Recorded, not verified.
Response
Clone task accepted; task output carries the new voice_id
Standard Task envelope.
Returned by every async-creation endpoint, GET /v1/tasks/{id}, and the body of customer callback POSTs.
Caller-requested model verbatim (may be 'auto'). Null for social_operation tasks.
Actual model that ran (null until execution starts; equals model for explicit-model calls)
Changes
- breaking
removed the enum value
doubao-voice-clone-2.0of the request propertymodel - info
added the new optional request property
preview_first
- breaking
- info
added the new optional request property
age_group
3 more changes in this revision
- info