> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anotherwrapper.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ElevenLabs

> Set up ElevenLabs & understand how it's used in the Voice Studio app

ElevenLabs turns text into incredibly lifelike speech. With 1,000+ voices across 26+ languages, your Voice Studio app can offer a seriously impressive text-to-speech experience. Let's get it set up.

## Get your API key

<Steps>
  <Step title="Create or sign into your ElevenLabs account">
    Head to [ElevenLabs](https://elevenlabs.io/sign-up) and sign up or log in.
  </Step>

  <Step title="Find your API key">
    Go to your **Profile Settings** and locate your API key.
  </Step>

  <Step title="Add it to your env">
    Paste the key in your `.env.local` file:

    ```env theme={null}
    ELEVENLABS_API_TOKEN=your_elevenlabs_token
    ```
  </Step>
</Steps>

<Warning>
  Keep your API key safe. Don't share it or commit it to version control.
</Warning>

## App using ElevenLabs

The Voice Studio app at `/apps/voice` uses the ElevenLabs API to generate high-quality speech from text.

<CardGroup cols={1}>
  <Card title="Voice Studio" icon="microphone" href="/apps/voice">
    Convert text to lifelike speech using 26+ languages and over 1,000 voices
  </Card>
</CardGroup>

## Features

Here's what you get with ElevenLabs in your app:

* **1,000+ voices** from the ElevenLabs Voice Library -- your users have plenty to choose from
* **26+ languages** supported out of the box
* **Fine-tuning controls** -- adjust stability, similarity, and style to get the perfect audio output
* **Cloud storage** -- generated audio is uploaded to Cloudflare R2 storage automatically
* **Database tracking** -- generation data is stored in the `generations` table in PostgreSQL
* **Credit usage** -- each generation reduces the user's credits (configurable in `toolConfig.ts`)

<Tip>
  The voice fine-tuning settings (stability, similarity, style) let your users really dial in the output. Higher stability gives more consistent results, while lower stability adds more expressiveness and variation.
</Tip>

<Card title="Structure" icon="folder" href="/setup/structure">
  Understand the full project structure of the codebase.
</Card>
