> ## Documentation Index
> Fetch the complete documentation index at: https://veniceai-feat-models-redesign.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# xAI TTS v1 API

> xAI TTS v1 API on Venice: text to speech with 26 voices at $18.75 per 1M characters (about $0.015 per minute). Anonymized access without your identity.

export const HubMount = ({view, children, ...props}) => {
  const [hub, setHub] = useState(null);
  const [failed, setFailed] = useState(false);
  useEffect(() => {
    let alive = true;
    const w = window;
    if (!w.__veniceModelHub) {
      const urls = w.location.hostname === 'localhost' ? ['http://localhost:3333/data/model-hub.bundle.json', '/data/model-hub.bundle.json'] : ['/data/model-hub.bundle.json'];
      const load = i => fetch(urls[i], {
        cache: 'no-cache'
      }).then(res => {
        if (!res.ok) throw new Error(`bundle ${res.status}`);
        return res.json();
      }).catch(err => i + 1 < urls.length ? load(i + 1) : Promise.reject(err));
      const Frag = <></>.type;
      const h = (type, props, ...kids) => {
        const T = type;
        const {key, ...rest} = props || ({});
        if (!kids.length) return <T key={key} {...rest} />;
        if (kids.length === 1) return <T key={key} {...rest}>{kids[0]}</T>;
        return <T key={key} {...rest}>{kids.map((kid, i) => <Frag key={i}>{kid}</Frag>)}</T>;
      };
      w.__veniceModelHub = load(0).then(bundle => new Function(`return (${bundle.code})`)()({
        h,
        Fragment: Frag,
        useState,
        useEffect,
        useRef,
        useMemo,
        useCallback
      }));
    }
    w.__veniceModelHub.then(instance => {
      if (alive) setHub(instance);
    }).catch(() => {
      w.__veniceModelHub = null;
      if (alive) setFailed(true);
    });
    return () => {
      alive = false;
    };
  }, []);
  const View = hub ? hub[view] : null;
  if (View) return <View {...props}>{children}</View>;
  if (failed) {
    return <div className="vx-mount is-failed">
        <p className="vx-mount-note">The interactive model catalog could not load. The full data is below.</p>
        {children}
      </div>;
  }
  return <div className="vx-mount" aria-busy="true">
      <div className="vx-mount-skeleton" aria-hidden="true"><span /><span /><span /></div>
      <div className="vx-mount-source">{children}</div>
    </div>;
};

<HubMount view="ModelPage" data={{"family":{"slug":"xai-tts-v1","name":"xAI TTS v1","modality":"audio","task":"tts","provider":"xai","primary":"tts-xai-v1","variants":["tts-xai-v1"],"created":1776384000,"updated":1776384000,"privacy":["anonymized"]},"models":[{"id":"tts-xai-v1","name":"xAI TTS v1","type":"tts","modality":"audio","task":"tts","variant":"standard","provider":"xai","created":1776384000,"privacy":"anonymized","audio":{"voices":["altair","ara","atlas","carina","castor","celeste","cosmo","eve","helios","helix","iris","kepler","leo","lumen","luna","lux","naksh","orion","perseus","rex","rigel","sal","sirius","ursa","zagan","zenith"],"formats":["mp3","wav","pcm"],"defaultFormat":"mp3"},"pricing":{"per1MChars":18.75,"perMinute":0.015469,"perHour":0.92814},"headline":{"value":18.75,"unit":"per 1M characters","basis":"characters"},"endpoints":[{"id":"speech","method":"POST","path":"/audio/speech","name":"Create speech","status":"stable","recommended":true}],"family":"xai-tts-v1"}],"related":{"similar":[{"slug":"inworld-tts-1-5-max","name":"Inworld TTS-1.5 Max","provider":"inworld","modality":"audio","privacy":["anonymized"],"created":1776384000,"headline":{"value":12.5,"unit":"per 1M characters","basis":"characters"},"variants":1},{"slug":"chatterbox-hd","name":"Chatterbox HD (Resemble AI)","provider":"resemble","modality":"audio","privacy":["private"],"created":1776384000,"headline":{"value":50,"unit":"per 1M characters","basis":"characters"},"variants":1},{"slug":"gradium-tts","name":"Gradium TTS","provider":"gradium","modality":"audio","privacy":["anonymized"],"created":1780617600,"headline":{"value":47.5,"unit":"per 1M characters","basis":"characters"},"variants":1},{"slug":"elevenlabs-turbo-v2-5","name":"ElevenLabs Turbo v2.5","provider":"elevenlabs","modality":"audio","privacy":["anonymized"],"created":1776384000,"headline":{"value":62.5,"unit":"per 1M characters","basis":"characters"},"variants":1}],"versions":[]},"providers":{"xai":{"slug":"xai","name":"xAI","logo":"/images/icons/models/grok.svg"},"inworld":{"slug":"inworld","name":"Inworld","logo":"/images/icons/models/music.svg"},"resemble":{"slug":"resemble","name":"Resemble AI","logo":"/images/icons/models/music.svg"},"gradium":{"slug":"gradium","name":"Gradium","logo":"/images/icons/models/music.svg"},"elevenlabs":{"slug":"elevenlabs","name":"ElevenLabs","logo":"/images/icons/models/elevenlabs.svg"}},"faq":[{"q":"How much does the xAI TTS v1 API cost?","a":"$18.75 per 1M characters of input text, about $0.015 per minute of generated speech. Prices are in USD and can be paid in DIEM at parity."},{"q":"What is the xAI TTS v1 model ID?","a":"Use `tts-xai-v1` as the `model` parameter."},{"q":"Is the xAI TTS v1 API private?","a":"xAI TTS v1 is anonymized: Venice forwards requests to the provider without your identity, but the provider may retain prompt data, so use a private model for sensitive work."},{"q":"How many voices does xAI TTS v1 have?","a":"26 voices, for example `altair`, `ara`, `atlas`. Output formats: mp3, wav, pcm."},{"q":"Which endpoint does the xAI TTS v1 API use?","a":"Call `POST /audio/speech`."}]}} />

<div className="vx-static">
  <Accordion title="Plain-text specification">
    # xAI TTS v1 API

    xAI TTS v1 is a text-to-speech model by xAI, available on the Venice API as `tts-xai-v1`. Requests are anonymized, so the provider never sees your identity.

    ## xAI TTS v1 API pricing

    | Model ID | Variant | Privacy | Price |
    | - | - | - | - |
    | `tts-xai-v1` | Standard | Anonymized | \$18.75 per 1M characters |

    ## xAI TTS v1 specifications

    | Spec | Value |
    | - | - |
    | Provider | xAI |
    | Released | Apr 17, 2026 |
    | Privacy | Anonymized |
    | Voices | 26 |
    | Formats | mp3, wav, pcm |

    ## How to use the xAI TTS v1 API

    Send requests to `POST https://api.venice.ai/api/v1/audio/speech` with `"model": "tts-xai-v1"` and your API key.

    ```bash theme={null}
    curl https://api.venice.ai/api/v1/audio/speech \
      -H "Authorization: Bearer $VENICE_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "tts-xai-v1",
        "input": "Private AI for everyone.",
        "voice": "altair",
        "response_format": "mp3"
      }' --output speech.mp3
    ```

    ## xAI TTS v1 API FAQ

    ### How much does the xAI TTS v1 API cost?

    $18.75 per 1M characters of input text, about $0.015 per minute of generated speech. Prices are in USD and can be paid in DIEM at parity.

    ### What is the xAI TTS v1 model ID?

    Use `tts-xai-v1` as the `model` parameter.

    ### Is the xAI TTS v1 API private?

    xAI TTS v1 is anonymized: Venice forwards requests to the provider without your identity, but the provider may retain prompt data, so use a private model for sensitive work.

    ### How many voices does xAI TTS v1 have?

    26 voices, for example `altair`, `ara`, `atlas`. Output formats: mp3, wav, pcm.

    ### Which endpoint does the xAI TTS v1 API use?

    Call `POST /audio/speech`.

    ## Related models

    * [Inworld TTS-1.5 Max API](/models/inworld-tts-1-5-max): \$12.50 per 1M characters
    * [Chatterbox HD (Resemble AI) API](/models/chatterbox-hd): \$50.00 per 1M characters
    * [Gradium TTS API](/models/gradium-tts): \$47.50 per 1M characters
    * [ElevenLabs Turbo v2.5 API](/models/elevenlabs-turbo-v2-5): \$62.50 per 1M characters
  </Accordion>
</div>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.