Voice .clone
POST /{namespace}/voices/clone
Clone trains a Voice from a real speaker’s recordings after the speaker records Consent in that same voice.
- Noun
- Voice
- Mode
do- Event
Voice.cloned
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
speaker | Person | required | The person whose voice it is. |
samples | list of File | required | Recordings of the speaker. |
consent | Consent | required | The speaker’s Consent, spoken in the voice being cloned. |
scope | string | required | Who may speak in it. |
Outputs
| Output | Type | Required | Description |
|---|---|---|---|
voice | Voice | required | The Voice, training until the upstream finishes. |
Effects
- Emits
Voice.cloned. - Performed by the Content Lead.
- Two-way: it runs at once, in the
try,sendanddomodes. - Refuses when the Consent is missing, withdrawn, or not spoken by the speaker.
- Moves the Voice to
readywhen training ends.
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | Voice.clone |
| The Consent is missing, withdrawn, or not spoken by the speaker | refused | Clear what the check names, then call it again. | Voice.clone |
When it waits
| Gate | Default |
|---|---|
| Decision class | Low: two-way, nothing at stake |
| Delay window | None: it runs once review passes. |
| Limit | The call Limit of the Permission it runs under. |
| Over the Limit | It waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled. |