Convert speech to a target voice
Changed onCreates an asynchronous speech-to-speech voice conversion task (elevenlabs-sts-v2 or auto, 1 second to 5 minutes, up to 50 MiB) using a voice with supports_speech_to_speech=true from GET /v1/voices. Supports optional voice expressiveness controls (stability, similarity_boost, style, use_speaker_boost). Charged per started input audio minute. When the task succeeds, output contains {type: "speech_to_speech", model, voice_id, audio: {url, artifact_id, duration_seconds, mime_type, size_bytes}}.
Request
- 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
POST /v1/audio/speech-to-speech 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.
Source speech audio (artifact_id or HTTPS url; 1.0-300.0 seconds, <= 50 MB). Accepts audio or source.
Target Beatra voice_id supporting speech_to_speech (supports_speech_to_speech=true or model=elevenlabs-sts-v2 in voices list). Accepts voice or voice_id.
Speech-to-speech model identifier, or 'auto' for automatic selection.
Strip ambient noise from the source recording before voice conversion.
Output audio container/encoding format.
Optional deterministic seed (0..4294967295).
Optional target voice stability (0.0-1.0; lower is more expressive, higher is steadier).
Optional target voice similarity boost (0.0-1.0).
Optional target voice style exaggeration (0.0-1.0).
Optional speaker clarity boost on the target voice.
Optional model-family-specific options (for example, {"elevenlabs": {...}}). Unrecognized keys emit an option_ignored warning.
Response
Task accepted
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
- info
endpoint added
- info