Skip to content

Voice programs: clone, retire

The Voice Verbs clone, retire as MCP do programs, with inputs, result, refusals and an example.

Reference for Voice, one group of Voice programs.

Voice.clone

Clone trains a Voice from a real speaker’s recordings after the speaker records Consent in that same voice. Verb page.

Text
do: return await $.Voice.clone(input)

Emits Voice.cloned.

Inputs

InputTypeRequiredDescription
speakerPersonrequiredThe person whose voice it is.
sampleslist of FilerequiredRecordings of the speaker.
consentConsentrequiredThe speaker’s Consent, spoken in the voice being cloned.
scopestringrequiredWho may speak in it.

Returns

OutputTypeRequiredDescription
voiceVoicerequiredThe Voice, training until the upstream finishes.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.
The Consent is missing, withdrawn, or not spoken by the speakerrefusedClear what the check names, then call it again.None.

Example

JSON
{
  "name": "do",
  "arguments": {
    "code": "return await $.Voice.clone({ speaker: 'person_sLqbXbW683', samples: ['file_V1AuhyCTsH'], consent: 'consent_lMkrg7nUGY', scope: 'studio' })"
  }
}

Voice.retire

Retire deletes a Voice’s trained copy at the upstream and refuses new speech in it, keeping the record and every File made. Verb page.

Text
do: return await $.Voice.retire(input)

Emits Voice.retired.

Inputs

InputTypeRequiredDescription
voiceVoicerequiredThe Voice to retire.
reasontextWhy, such as Consent withdrawn.

Returns

OutputTypeRequiredDescription
voiceVoicerequiredThe Voice, now retired.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

JSON
{
  "name": "do",
  "arguments": {
    "code": "return await $.Voice.retire({ voice: 'voice_s6Qb8KW683' })"
  }
}