speak_avatar
Synthesize Piper TTS speech and play it on the 3D avatar with lipsync, emotion, and optional motion. Returns launch_url only when the viewer is not yet connected (client_connected: false). When client_connected is true and launch_url is omitted, the speech is streamed directly to the already-open viewer screen—do not ask the user to open a new URL. If no request has been sent for a long time, the first synthesis request may fail while the voice server wakes up; retrying with a new session after about 1 minute will recover automatically.
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": {
"uuid": "<uuid>",
"text": "<text>",
"emotion": "<emotion>",
"lang": "<lang>"
},
"name": "speak_avatar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vrm | No | Optional predefined character model (B, D, E, or M). Omit to use client default. | |
| lang | Yes | ||
| text | Yes | Single sentence to speak (1-250 chars) | |
| uuid | Yes | UUID v4 session identifier | |
| pitch | No | Speech pitch (default: 1.0, range: 0.3-2.5; out-of-range values are automatically clamped) | |
| speed | No | Speech speed (default: 0.75, range: 0.1-3.0; out-of-range values are automatically clamped) | |
| motion | No | Optional body motion name. Omit to keep idle motion. | |
| emotion | Yes | ||
| signed_tx | No | Optional pre-authorized Solana signed transaction (Base64 or Base58) | |
| webhook_url | No | Optional public HTTP/HTTPS callback URL for payment retry & disconnect notifications | |
| speak_on_selection | No | Wait to speak while user is operating another screen/window (default: true) |