Skip to main content
POST
Creates a reusable workspace voice clone from 1-10 voice samples (media imported with purpose voice_sample: audio, or video whose audio was extracted to MP3; each <= 11 MB as stored) or from one speaker of a project, and starts a voice_clone job. The clone exists at once with status: processing. Send rights_confirmed: true to attest that you may clone the voice. When to use: to dub with a specific person’s voice across projects. Side effects: Creates the clone (counts against the quota) and a job. Cost: Free, within the plan’s clone quota and a daily cap on clone creations that counts deleted and instant clones (429 rate_limited, policy clone-create-day). Async: returns 202 and a voice_clone Job with Location: /v3/jobs/{job_id}; wait with GET /v3/jobs/{job_id}?wait_seconds=20 (poll hint 10 s); typically 1 min (p95 10 min). Idempotency: Idempotency-Key required; a same-key retry within 24 h returns the job’s current state (Idempotent-Replayed: true); after a failed or canceled job, use a new key. Plan: voice_clones (quota voice_clone_limit). Required scopes: voices:write Errors: feature_not_in_plan (403), voice_clone_limit_reached (403), media_not_found (404), unsupported_media_type (415), project_not_found (404), speaker_not_found (404), speaker_has_no_speech (422), too_many_concurrent_jobs (429), media_too_large (413), media_purpose_mismatch (422)

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
required

Required. 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. Kept 24 h per (workspace, acting user).

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

Body

application/json

Body of createVoiceClone.

name
string
required

Clone name.

Required string length: 1 - 100
source
object
required

Source of a new voice clone: a union on type.

rights_confirmed
boolean
required

Attestation that you have the right to clone this voice (you are the speaker or have their permission). Must be true; recorded in the audit log with the credential and source.

settings
object

Voice clone settings.

Response

Accepted: Job.

Asynchronous work started through v3, and automatic follow-up work (auto-dub, on-screen auto-start, the stages of a localization run) on projects created through v3. Started by 202 responses (Location: /v3/jobs/{id}); wait with getJob wait_seconds. Finished jobs can be read for 90 days, then answer 404 job_not_found. Work started in the web app or API v2 has no job.

object
enum<string>
required

Always job.

Available options:
job
id
string
required

Job id.

workspace_id
string
required

Workspace that owns the job (and whose owner pays).

type
enum<string>
required

Job type. Open enum: new types are added over time.

  • media_import: registering uploaded or imported media (poll hint 3 s; cancelable)
  • project_processing: the project pipeline up to translation (poll hint 10 s)
  • translation: retranslating segments (poll hint 5 s)
  • segment_generation: paid voicing of chosen segments into downloadable clips (poll hint 5 s)
  • dub: dubbing or redubbing (poll hint 10 s)
  • lipsync: lip-sync (poll hint 30 s)
  • onscreen: on-screen text translation (poll hint 15 s; cancelable while queued)
  • localization: dub, lip-sync and on-screen as one run with child jobs (poll hint 15 s)
  • voice_clone: creating a voice clone (poll hint 10 s)
  • export: rendering an export (poll hint 15 s)
  • file_restore: restoring archived files (poll hint 300 s)
Available options:
media_import,
project_processing,
translation,
segment_generation,
dub,
lipsync,
onscreen,
localization,
voice_clone,
export,
file_restore
status
enum<string>
required

Job status. Monotonic: never goes backwards and never leaves a terminal state.

  • queued: accepted, not started
  • running: in progress
  • succeeded: finished; see result
  • failed: finished; see error
  • canceled: canceled, or its project was deleted (error.code = project_deleted)
Available options:
queued,
running,
succeeded,
failed,
canceled
progress
integer<int32> | null
required

0-100; null when the type has no honest progress.

Required range: 0 <= x <= 100
stage
enum<string> | null
required

Per-type stage; for a localization job, the running stage's.

Available options:
queued,
uploading,
transcribing,
separating_audio,
detecting_speakers,
matching_voices,
translating,
voicing,
merging,
downloading,
extracting_audio,
face_check,
waiting_for_worker,
rendering,
charging,
waiting_for_runner,
starting,
preparing,
checking,
publishing,
cloning,
restoring
queue_position
integer<int32> | null
required

Queue position (1 = next).

estimated_finish_at
string<date-time> | null
required

Estimated completion from the queue position and the type's typical duration (on-screen: the runner's ETA); null when terminal or unknown. An estimate, not a deadline.

overdue
boolean
required

True once the job runs past its type's overdue threshold: Rask is alerted. Keep waiting or check back later; do not start the same work again.

project_id
string | null
required

Project.

media_id
string | null
required

Media.

parent_job_id
string | null
required

The job that started this system job: the project_processing job of an auto-dub, the dub whose merge started an on-screen auto-start, the localization job of a stage, the project_processing job of a localization block, or the failed run a resumed localization job continues.

channel
enum<string>
required

Who started a job.

  • api: REST API v3
  • mcp: the Rask MCP server
  • system: automatic (auto-dub, on-screen auto-start, the stages of a localization run)
Available options:
api,
mcp,
system
params
object
required

Normalized request echo: a union on type (= Job.type).

details
object | null
required

Live per-type state.

stages
object[] | null
required

The stages of a localization job in run order; null for other types.

cost
object
required

Quoted at creation; charged turns true once the charge is committed. A localization job has no charge of its own: minutes is the sum of its stages charged and not refunded so far, charged is true once any stage is charged, refunded is true only when every charged stage was refunded, refunded_at is the latest refund. stages[].cost holds each stage; the quote is params.expected_cost_minutes.

result
object
required

Set when succeeded; a failed segment_generation job may also list clips already voiced.

error
object | null
required

Set when failed; on a canceled job only for the cancellation reason project_deleted (the project was deleted while the job ran; its work is discarded, refunded only for on-screen); instance is /v3/jobs/{id}, detail is generic. Each code's status, retry, recommendation and hint are in components.x-rask-job-errors. Codes by type: media_import source_download_failed, unsupported_media_type, media_corrupt, media_processing_failed, media_too_large (a voice sample above its limit); project_processing media_processing_failed, source_unavailable, no_audio_track, transcription_failed, no_speech_detected, audio_separation_failed, speaker_detection_failed, translation_failed, subtitle_import_rolled_back, project_processing_timeout, internal_error; translation translation_failed, translation_dispatch_failed, translation_timeout; segment_generation (cause_code) segment_generation_failed, segment_generation_timeout; localization localization_stage_failed, localization_stage_skipped (failed_stage, cause_code); dub (cause_code) dub_voiceover_failed, dub_merge_failed, dub_failed, dub_timeout; lipsync lipsync_failed, face_check_failed, no_face_detected, lipsync_rejected (cause_code), lipsync_timeout; onscreen onscreen_queue_timeout, onscreen_runner_lost, onscreen_runner_failed, onscreen_provider_unavailable, onscreen_finalize_timeout, onscreen_invalid_result, onscreen_publish_failed, onscreen_source_unavailable, onscreen_charge_failed; voice_clone voice_clone_failed, voice_clone_timeout; export export_failed; file_restore restore_failed. A failed job refunds its minutes (onscreen_charge_failed never charged). A failed localization job refunds only the failed stage, by its type's rule: succeeded stages stay charged, and skipped or unreached stages were never charged. A failed project_processing job refunds its project credit when a stage from transcription to translation failed, when it timed out and when a copy failed, but not for media_processing_failed, source_unavailable, no_audio_track or the internal_error of a new project.

created_at
string<date-time>
required

Creation time.

started_at
string<date-time> | null
required

Start time.

finished_at
string<date-time> | null
required

End time.

Path-absolute API links.