# Quickstart

> Make your first audio clip in the web app, and your first text to speech request with the API.

## In the web app

1. Create an account at https://moknah.io. The free plan needs no credit card and gives credits every month (see [Pricing](../pricing/index.md) for the current amount).
2. Open **Text to Speech** from the sidebar.
3. Click **Select a voice** and choose one. Press play on a voice to hear it first.
4. Type or paste your text. The box holds up to 1,500 characters; use [Audio Studio](../products/audio-studio.md) for anything longer.
5. Check the estimated credits next to **Generate**, then click **Generate**.
6. Play the result and download it as MP3 or WAV.

## With the API

API access is a plan feature. See [Pricing](../pricing/index.md) for the plans that include it.

1. In the dashboard open **API**, then **Manage API Keys**, then **New Key**. Choose the services the key may use and copy the key; it is shown once.
2. List the voices your key can use:

```bash
curl -X POST "https://moknah.io/api/v1/voices/" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

3. Generate speech with a `voice_id` from that list:

```bash
curl -X POST "https://moknah.io/api/v1/tts/generate/" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "مرحبا بك في منصة مكنة", "voice_id": 1328, "language": "ar"}' \
  --output speech.mp3
```

A `200` response is the audio file itself. Any other status is JSON; see [Errors](../errors/index.md).

The voice id above is an example. Always take ids from the voice list of your own key.

## With an AI assistant

Connect Moknah to ChatGPT, Claude or another MCP client and ask in plain language. See [AI Connect (MCP)](../mcp/overview.md).

## Next

- [API overview](../api/overview.md)
- [Integrate text to speech](../workflows/tts-integration.md)
- [Create an audiobook](../workflows/audiobook.md)
