Skip to main content
PUT
For the speaker’s own instant_clone voice, instant_clone_settings (accent, expressiveness) may be set. If the voice changes, the speaker’s segments lose their audio and become outdated; the result says which mode the next dub will use. A voice with meaning_first_compatible: false on a meaning-first project warns meaning_first_disabled. When to use: to give a speaker another voice (stock, library clone or their own instant clone); then estimateDub and createDub with mode changed_segments. Side effects: The project’s pipeline_status becomes voice_edited when the voice changed; voice_origin becomes assigned. Cost: Free (the redub is priced by estimateDub). A new instant clone counts against the daily clone-creation cap (429 rate_limited, policy clone-create-day). Idempotency: Idempotency-Key accepted (SDKs send one); retries within 24 h replay the first response. Concurrency: If-Match with the current speaker ETag is required (428 if missing or *, 412 with current_etag if stale). On 412 re-read, re-apply once and retry. Plan: an instant_clone voice -> instant_voice_clone. Required scopes: voices:write Errors: dub_in_progress (409), voice_not_in_pool (422), instant_clone_not_available (422), feature_not_in_plan (403)

Authorizations

Authorization
string
header
required

API key from Settings -> API keys, sent as Authorization: Bearer <key> (SDK environment variable RASK_API_KEY). Bound to one workspace and one acting user. Operations list the scopes they need (OpenAPI 3.1 scopes on a bearer scheme).

Scopes

voices:write

Headers

Idempotency-Key
string

Optional. A unique key per logical request (SDKs send a bare UUIDv4; an RFC 9651 quoted string is accepted and unquoted); reuse it unchanged on retries to replay the first response.

Required string length: 1 - 255
Pattern: ^[\x20-\x7E]+$
If-Match
string
required

Required: the speaker's current ETag (getSpeaker or listSpeakers).

Maximum string length: 128

Path Parameters

project_id
string
required

Project id (from createProject or listProjects).

Maximum string length: 64
speaker_id
string
required

Speaker id.

Maximum string length: 11
Pattern: ^SPEAKER_\d{2,3}$

Body

application/json

Settings are accepted only for instant_clone voices.

voice_id
string
required

A voice from listProjectVoices (or the speaker's current voice).

Maximum string length: 64
instant_clone_settings
object

Instant-clone settings.

Response

OK: SpeakerVoiceUpdateResult.

Result of updateSpeakerVoice. Transient (no id).

object
enum<string>
required

Always speaker_voice_update_result.

Available options:
speaker_voice_update_result
speaker
object
required

A speaker of a project.

effects
object
required

Effects of a voice change.

warnings
object[]
required

Warnings.