xai-tts-v1
xAI's xAI Text to Speech: text to speech in 28 voices.
| Variant | ID | Per 1K characters | Providers |
|---|---|---|---|
| Standard | * | $0.0158 | 1 |
This is the lowest price among the providers that can run each variant. A job that falls back to another provider can cost more; the estimate shows the cap before you run it.
Quantity: Worked out from input.text: one per 1,000 characters, rounded up.
| Field | Type | Accepts |
|---|---|---|
textrequired | text | up to 15,000 characters |
voice | choice | carina, zagan, helix, orion, luna, iris, altair, zenith and 20 more |
A field that is not listed here is refused, never passed through.
curl "https://api.opengrid.one/v1/generations?wait=60" \
-H "Authorization: Bearer $OPENGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "xai-tts-v1",
"input": {
"text": "Hello from OpenGrid."
}
}'