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

# Welcome to VoidAI

> Unified API gateway for AI models from OpenAI, Anthropic, Google, Mistral, and more

## What is VoidAI?

VoidAI provides a single API endpoint to access AI models from multiple providers. Use one API key to access GPT-5.1, Claude, Gemini, Mistral, and many more models through a unified, OpenAI-compatible interface.

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/quickstart">
    Get up and running with VoidAI in under 5 minutes.
  </Card>

  <Card title="Authentication" icon="key" href="/authentication">
    Learn how to authenticate your API requests.
  </Card>

  <Card title="Chat Completions" icon="message" href="/api-reference/chat/completions">
    Generate text with chat models like GPT-5 and Claude.
  </Card>

  <Card title="Image Generation" icon="image" href="/api-reference/images/generations">
    Create images with DALL-E, Stable Diffusion, and more.
  </Card>
</CardGroup>

## Key Features

<CardGroup cols={3}>
  <Card title="15+ Providers" icon="layer-group">
    Access models from OpenAI, Anthropic, Google, Mistral, DeepSeek, and more through a single API.
  </Card>

  <Card title="OpenAI Compatible" icon="plug">
    Drop-in replacement for OpenAI SDK. Switch your base URL and you're ready to go.
  </Card>

  <Card title="Credit-Based Pricing" icon="coins">
    Pay only for what you use with our transparent credit system.
  </Card>
</CardGroup>

## Supported Capabilities

| Capability           | Description                                                            |
| -------------------- | ---------------------------------------------------------------------- |
| **Chat Completions** | Text generation with streaming support, function calling, and tool use |
| **Image Generation** | Create and edit images with various AI models                          |
| **Audio**            | Text-to-speech, transcription, and translation                         |
| **Video**            | Generate videos from text prompts                                      |
| **Embeddings**       | Create vector embeddings for semantic search                           |
| **Moderations**      | Content moderation and safety filtering                                |

## Quick Example

<CodeGroup>
  ```python Python theme={null}
  from openai import OpenAI

  client = OpenAI(
      api_key="sk-voidai-your_key_here",
      base_url="https://api.voidai.app/v1"
  )

  response = client.chat.completions.create(
      model="gpt-5.1",
      messages=[
          {"role": "user", "content": "Hello!"}
      ]
  )

  print(response.choices[0].message.content)
  ```

  ```typescript TypeScript theme={null}
  import OpenAI from 'openai';

  const client = new OpenAI({
    apiKey: 'sk-voidai-your_key_here',
    baseURL: 'https://api.voidai.app/v1'
  });

  const response = await client.chat.completions.create({
    model: 'gpt-5.1',
    messages: [
      { role: 'user', content: 'Hello!' }
    ]
  });

  console.log(response.choices[0].message.content);
  ```

  ```bash cURL theme={null}
  curl https://api.voidai.app/v1/chat/completions \
    -H "Authorization: Bearer sk-voidai-your_key_here" \
    -H "Content-Type: application/json" \
    -d '{
      "model": "gpt-5.1",
      "messages": [
        {"role": "user", "content": "Hello!"}
      ]
    }'
  ```
</CodeGroup>
