Skip to content

X.AI TTS Voice Channel

What is it?

X.AI TTS is a speech synthesis service from x.ai (Elon Musk's AI company), built on the Grok model. It supports multiple languages and offers distinctive voice styles.

Prerequisites:

  • A paid x.ai subscription
  • An API Key
  • pyVideoTrans v3.98-319+ or later

Step 1: Get an API Key

  1. Visit: https://console.x.ai
  2. Click API Keys on the left
  3. Create and copy your API Key

Step 2: Configure the Software

  1. Open the software and go to Menu → TTS Settings → X.AI TTS
  2. Paste the API Key
  3. Click the Test button
  4. If no errors occur and audio plays, it's working
  5. Click Save

Step 3: Start Dubbing

  1. Return to the main interface
  2. Select X.AI from the Voice Channel dropdown
  3. Select the target language
  4. Choose a voice
  5. Start dubbing

Available Voices

X.AI TTS provides the following 5 voices:

  • eve - Female
  • ara - Female
  • rex - Male
  • sal - Male
  • leo - Male

Supported Languages

X.AI TTS supports the following 16 languages:

  • Chinese, English, French, German
  • Italian, Japanese, Korean, Russian
  • Spanish, Turkish, Vietnamese
  • Hindi, Indonesian, Bengali
  • Arabic, Portuguese

Note:

  • Arabic is fixed to Saudi Arabic
  • Portuguese uses Portuguese (Portugal)
  • Spanish is fixed to Spanish (Spain)

Important Notes

  • Paid subscription required: You need an active x.ai paid subscription to use this service
  • Direct API only: This does not work with relay/proxy APIs — if you're using a relay, configure it under Menu → TTS Settings → OpenAI and Compatible instead
  • API address: https://api.x.ai/v1/tts

Common Errors

ErrorCauseSolution
Authentication errorInvalid API KeyVerify the key is correct
Payment requiredNo paid subscriptionActivate an x.ai paid account
Connection errorNetwork issueCheck your network connection
Unsupported languageLanguage not in the supported listChoose a supported language