- Agent surface (API key): synthesize speech in a voice the agent already owns, list voices, generate talking videos.
- Human surface (signed-in session): create (clone) and revoke voices. These record a legal consent affirmation, so they require a human session — not just an API key.
Cloning and revoking a voice are human-only. Run
naive auth session-login first (see Authentication). Synthesis and talking-video generation work with a normal agent API key.Cloning a voice (human-only)
Key options:
For third-party voices the consenter receives a verification link; the voice stays in a draft/pending state until consent is confirmed.
authorized_uses is enforced at synthesis time — a voice cloned for email only will refuse a video use.
Revoking a voice (human-only, irreversible)
voice_revoked.
Synthesizing speech (agent surface)
The
use field must fall within the voice’s authorized_uses. Text is capped at 5000 characters per call. The audio URL is presigned and expires after 24 hours — re-run say if it lapses.
Digital twin — talking video
naive clone generate produces a lip-synced talking video of a real person from a reference image, an existing cloned voice, and a script. The voice supplies both the audio and the consent record; the image supplies the likeness (which you must separately affirm).
REST:
Consent model
Every voice is backed by a consent record that captures who consented, the affirmation text, and the authorized uses. This is enforced end to end:- Cloning requires
--i-affirmand aconsent_type; third-party voices require the consenter’s verification. - Synthesis and talking-video generation are refused if the voice was revoked (
voice_revoked) or the declareduseis outside the authorized set. - The digital-twin clone additionally requires an explicit likeness affirmation for the depicted person.
Billing
- Synthesis is billed per character of input text at 0.0025 credits/character — $0.125 per 1,000 characters, or about 0.3 credits for a 120-word paragraph. The exact charge is returned as
creditson eachsay, and streaming (/v1/voice/stream) is billed at the same rate as/v1/voice/synthesize. - Talking-video generation is billed on completion like other video jobs — failed jobs cost nothing.
- Cloning and revoking voices are free; you pay only when you synthesize or generate.
voice primitive per user, and the human-only clone/revoke surface is always gated behind a signed-in session.