design_speech_voice
Create a custom voice from a text description. Free; the voice lives 365 days.
request: display_name, prompt (10-1000 characters: age, timbre, pace, manner, accent), gender (male, female or neutral) and optional language_code (default ru-RU). The result holds the voice (use its id as custom_voice_id in create_speech) and a short sample. An account keeps at most 5 saved voices (made here or in the studio; expired ones do not count): the sixth fails with 409 VOICE_LIMIT_REACHED, details.limit and details.used, and delete_speech_voice makes room. Google also caps the whole project at 200 voices (the same 409). One creation per account at a time: a parallel one fails with 429 VOICE_CREATION_IN_PROGRESS, wait and retry. There is no idempotency key: after a timeout check list_my_speech_voices before retrying, and remove an extra voice with delete_speech_voice.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"request": "<request>"
},
"name": "design_speech_voice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||