The second argument to speak() can take three shapes — by name, by pattern, or by query. Pick a mode to see each one in action.
| Name | Language | Gender | Type |
|---|---|---|---|
| Initializing… | |||
| Name | Language | Match |
|---|---|---|
| Initializing… | ||
VoiceQuery selector. A structured filter object — the same JSON-serializable shape that the SDKs in other languages (Python, Go, PHP, Java) and server-side configs use. Every field you set must be true for a voice to match (logical AND).
Note: provider and isByok: true both target premium voices that route through BYOK (bring-your-own-keys) services.
| Name | Language | Gender | Provider |
|---|---|---|---|
| Initializing… | |||
// Choose a voice above to see the speak() call here.