design_voice
Create a voice profile from a text description. Saves the profile and returns an ID for use with generate_speech.
Instructions
Design and save a new voice profile from a text description.
The description is mapped onto the same attributes describe_voice
previews (see its docstring for the vocabulary). The backend tries to
render a fixed-seed identity sample at save time; if the voice engine
isn't ready, the profile is still saved and the same sample is
rendered on first use, so the voice stays stable across
generate_speech calls either way. Pass the returned profile_id to
generate_speech. Refuses a description that matches no attribute.
Args:
name: A human-friendly name for the new voice.
description: Free-text description of the voice.
language: The voice's saved language (ISO code or 'Auto'); used
for its sample and by generate_speech calls that omit one.
Returns:
JSON with the new profile's id, name, kind, the attrs used, and
any unmatched description fragments.
For long operations use voicestudio_start_job.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| language | No | Auto | |
| description | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |