SpyBara
Go Premium

Documentation 2026-10-14 23:01 UTC to 2026-10-15 23:58 UTC

2 files changed +4 −4. View all changes and history on the product overview
2026
Sat 31 23:59 Fri 30 23:58 Thu 29 23:01 Wed 28 23:01 Tue 27 23:58 Mon 26 22:57 Sun 25 22:58 Sat 24 23:59 Fri 23 23:57 Thu 22 23:59 Wed 21 23:02 Tue 20 23:01 Mon 19 23:59 Sun 18 23:57 Sat 17 23:58 Fri 16 22:57 Thu 15 23:58 Wed 14 23:01 Tue 13 23:59 Mon 12 23:02 Sun 11 23:58 Sat 10 23:59 Fri 9 23:59 Thu 8 23:58 Wed 7 23:59 Tue 6 22:57 Mon 5 22:59 Sun 4 23:58 Sat 3 23:58 Fri 2 23:57 Thu 1 23:57
Details

526 -H "Content-Type: application/json" \526 -H "Content-Type: application/json" \

527 -H "Authorization: Bearer $XAI_API_KEY" \527 -H "Authorization: Bearer $XAI_API_KEY" \

528 -d '{528 -d '{

529 "text": "Hello, this is a text-to-speech test from xAI.",529 "text": "Hello, this is a text-to-speech test from SpaceXSI.",

530 "voice_id": "eve",530 "voice_id": "eve",

531 "language": "en"531 "language": "en"

532 }')532 }')


548 "Content-Type": "application/json",548 "Content-Type": "application/json",

549 },549 },

550 body: JSON.stringify({550 body: JSON.stringify({

551 text: "Hello, this is a text-to-speech test from xAI.",551 text: "Hello, this is a text-to-speech test from SpaceXSI.",

552 voice_id: "eve",552 voice_id: "eve",

553 language: "en",553 language: "en",

554 }),554 }),


587 "Content-Type": "application/json",587 "Content-Type": "application/json",

588 },588 },

589 json={589 json={

590 "text": "Hello, this is a text-to-speech test from xAI.",590 "text": "Hello, this is a text-to-speech test from SpaceXSI.",

591 "voice_id": "eve",591 "voice_id": "eve",

592 "language": "en",592 "language": "en",

593 },593 },

Details

6need a [management key](https://console.x.ai/team/default/management-keys?utm_source=docs\&utm_medium=referral\&utm_campaign=developers-rest-api-reference-management\&utm_content=management-keys) in6need a [management key](https://console.x.ai/team/default/management-keys?utm_source=docs\&utm_medium=referral\&utm_campaign=developers-rest-api-reference-management\&utm_content=management-keys) in

7order to use this API. The base URL for all endpoints is `https://management-api.x.ai`.7order to use this API. The base URL for all endpoints is `https://management-api.x.ai`.

8 8 

9The Management API serves as a dedicated interface to the SpaceXAI platform, empowering developers and teams to9The Management API serves as a dedicated interface to the SpaceXSI platform, empowering developers and teams to

10programmatically manage their xAI API teams.10programmatically manage their xAI API teams.

11 11 

12For example, users can provision their API key, handle access controls,12For example, users can provision their API key, handle access controls,