voices

Activate a cloned voice that waits for activation

Changed on
post/v1/voices/{voice_id}/activate

Request

  • Base URL
    https://api.beatra.ai (the document declares no server; this is the origin it was published from)
  • Auth
    none declared. Required headers: Idempotency-Key

Path parameters

voice_id, string required

Headers

x-request-id, string nullable
Idempotency-Key, string required
authorization, string nullable

Request body

VoiceActivateRequest required

Activate a cloned voice that waits for activation (status pending_activation): the call charges the activation price once.

metadata, object nullable

Caller-supplied metadata; ≤16 keys, key ≤64 chars, value ≤512 chars

callback_url, string nullable

HTTPS URL beatra will POST the final Task envelope to when the Task reaches a terminal state

callback_signing_key_id, string nullable

Optional standalone callback signing key. Omit for unsigned callback delivery; requires callback_url when provided.

Response

The voice is already ready, or the same request was already made: nothing more was charged.

VoiceActivationResponse required

A started activation (202, with the task) or a voice that needs nothing (200).

task_id, string nullable
status, string nullable
terminal, boolean nullable
resolved_model, string nullable
billing, TaskBilling nullable
task, TaskEnvelope nullable

Standard Task envelope.

Returned by every async-creation endpoint, GET /v1/tasks/{id}, and the body of customer callback POSTs.

voice, Voice nullable
charged_credits, string

Credits this activation charged in the end: net of any refund (task.billing.net_charged_credits); 0 for a voice that needed no activation.

Changes

    • warning

      removed the request property confirm_credits

    • warning

      removed the request property confirmation_token

    • warning

      removed the optional property quote from the response with the status

    1 more change in this revision