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

# Build with AI

> Use AI assistants and coding tools with the Gnani APIs: call the APIs over MCP, search these docs from your editor, and give models the docs as Markdown.

There are three ways to bring the Gnani APIs and these docs into an AI assistant or coding tool.

| You want your assistant to | Use |
| - | - |
| Transcribe audio, generate speech or clone a voice for you | [Gnani MCP server](#call-the-gnani-apis-from-your-assistant) |
| Answer questions and write code using these docs | [Docs MCP server](#search-these-docs-from-your-assistant) |
| Read one page, or the whole docs, as context | [Markdown and `llms.txt`](#give-a-model-the-docs) |

## Call the Gnani APIs from your assistant

[`gnani-mcp`](https://docs.gnani.ai/mcp/introduction) runs on your machine and gives clients such as Claude, Cursor, Windsurf and Zed tools for Speech-to-Text, Batch transcription, Text-to-Speech and Voice Cloning. In Claude Code:

```bash theme={null}
claude mcp add gnani --env GNANI_API_KEY=your-api-key -- uvx gnani-mcp
```

See [MCP server](https://docs.gnani.ai/mcp/introduction.md) for every client, the list of tools and settings.

## Search these docs from your assistant

These docs have their own MCP server at `https://docs.gnani.ai/mcp`. It lets your assistant search the docs while it answers or writes code, so it uses current parameter names and models. It needs no API key.

> [tab] Claude Code
>
> ```bash theme={null}
> claude mcp add --transport http gnani-docs https://docs.gnani.ai/mcp
> ```

> [tab] Cursor
>
> Add this to `~/.cursor/mcp.json`:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "gnani-docs": { "url": "https://docs.gnani.ai/mcp" }
>   }
> }
> ```

> [tab] Other clients
>
> Add a remote (HTTP) MCP server with the URL `https://docs.gnani.ai/mcp`. You can also copy the URL, or install it in Cursor or VS Code, from the page menu at the top of any page.

## Give a model the docs

Every page is available as Markdown, which is easier for a model to read than HTML.

* **One page:** add `.md` to the URL, for example [`/api/STT/quickstart.md`](https://docs.gnani.ai/api/STT/quickstart.md). The page menu at the top of every page has **View as Markdown** and **Copy page**, and opens the page in Claude or ChatGPT.
* **The list of pages:** [`llms.txt`](https://docs.gnani.ai/llms.txt) lists every page with a short description, so a model can pick what to read.
* **Everything:** [`llms-full.txt`](https://docs.gnani.ai/llms-full.txt) is the whole site in one file. It is large; prefer `llms.txt` or the MCP server when you can.

## Tips

* **Never paste your API key into a chat.** Put it in an environment variable or in the MCP config, as the examples above do.
* **Name the model.** Ask for `prisma-v3.0` or `timbre-v3.0` explicitly; without it, the API and the tools default to Prisma v2.5 and Timbre v2.5.
* **Check names against the docs.** The same setting can have a different name on REST, Realtime and Batch. The [Naming map](https://docs.gnani.ai/resources/naming-map.md) lists them.

## Related

> [card] [MCP server](https://docs.gnani.ai/mcp/introduction.md)
>
> Install `gnani-mcp` in your client.

> [card] [Quick Start](https://docs.gnani.ai/api/introduction/quick-start.md)
>
> Make your first request yourself.


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