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

# QWave API

> Unified AI model API gateway — call every major LLM through a single endpoint

An OpenAI-compatible unified API endpoint. Call GPT-4o, Claude, Gemini, Sora, VEO, and other leading models with a single line of code. Just swap your `base_url` — no other changes required.

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

  client = OpenAI(
      base_url="https://www.qingbo.dev/v1",
      api_key="your-api-key"
  )

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

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

  ```javascript JavaScript theme={"system"}
  import OpenAI from 'openai';

  const client = new OpenAI({
    baseURL: 'https://www.qingbo.dev/v1',
    apiKey: 'your-api-key'
  });

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

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

  ```bash cURL theme={"system"}
  curl https://www.qingbo.dev/v1/chat/completions \
    -H "Authorization: Bearer your-api-key" \
    -H "Content-Type: application/json" \
    -d '{
      "model": "gpt-4o",
      "messages": [{"role": "user", "content": "Hello!"}]
    }'
  ```
</CodeGroup>

## AI Model Capabilities

Access a full range of AI models through QWave API.

<CardGroup cols={3}>
  <Card title="Text Generation" img="https://mintcdn.com/qwave/3W5hakP5hW7zEoGD/images/cards/text-generation.svg?fit=max&auto=format&n=3W5hakP5hW7zEoGD&q=85&s=f9461e89662fd78a1ca55fc39f6fe65e" href="/en/api-reference/text/general-chat" width="800" height="400" data-path="images/cards/text-generation.svg">
    GPT-4o, Claude Sonnet, Gemini, and other leading LLMs with streaming support
  </Card>

  <Card title="Image Generation" img="https://mintcdn.com/qwave/3W5hakP5hW7zEoGD/images/cards/image-generation.svg?fit=max&auto=format&n=3W5hakP5hW7zEoGD&q=85&s=7c6a64ae1ece95be68160952dfb6d4c4" href="/en/api-reference/image/gpt4o-image" width="800" height="400" data-path="images/cards/image-generation.svg">
    GPT-4o Image, FLUX Kontext, Seedream, and more image generation models
  </Card>

  <Card title="Video Generation" img="https://mintcdn.com/qwave/3W5hakP5hW7zEoGD/images/cards/video-generation.svg?fit=max&auto=format&n=3W5hakP5hW7zEoGD&q=85&s=015c09aca055264799341463719be8f8" href="/en/api-reference/video/veo3" width="800" height="400" data-path="images/cards/video-generation.svg">
    VEO3, Sora2, Kling, Hailuo, and other video generation models
  </Card>
</CardGroup>

<CardGroup cols={3}>
  <Card title="Audio Processing" img="https://mintcdn.com/qwave/3W5hakP5hW7zEoGD/images/cards/audio.svg?fit=max&auto=format&n=3W5hakP5hW7zEoGD&q=85&s=0949bbc2f3af67e009eca90df128b71c" href="/en/api-reference/audio/tts" width="800" height="400" data-path="images/cards/audio.svg">
    Whisper speech recognition and TTS text-to-speech
  </Card>

  <Card title="Task Management" img="https://mintcdn.com/qwave/3W5hakP5hW7zEoGD/images/cards/task-management.svg?fit=max&auto=format&n=3W5hakP5hW7zEoGD&q=85&s=58a7de7744a533fc7a98ae911a14eb6c" href="/en/api-reference/task/get-status" width="800" height="400" data-path="images/cards/task-management.svg">
    Track asynchronous task status and monitor image/video generation progress
  </Card>

  <Card title="OpenAI Compatible" img="https://mintcdn.com/qwave/3W5hakP5hW7zEoGD/images/cards/openai-compatible.svg?fit=max&auto=format&n=3W5hakP5hW7zEoGD&q=85&s=886c9cfaee009cdd48fb20ccfeffdbe3" href="/en/guides/quickstart" width="800" height="400" data-path="images/cards/openai-compatible.svg">
    Fully compatible with the OpenAI SDK — just change the URL
  </Card>
</CardGroup>

## Why QWave API

<CardGroup cols={2}>
  <Card title="Zero-Cost Migration" icon="rotate">
    OpenAI-compatible format — point your existing code at a new base\_url and you're done
  </Card>

  <Card title="Unified Model Access" icon="layer-group">
    One API key, every major model. Switch between providers via the model parameter
  </Card>

  <Card title="Async Task System" icon="clock-rotate-left">
    Image and video generation run as asynchronous tasks with real-time status and progress
  </Card>

  <Card title="Stable & Reliable" icon="shield-check">
    High-performance gateway with intelligent routing for dependable service
  </Card>
</CardGroup>

## Quick Start

<Steps>
  <Step title="Get an API Key">
    Sign up and grab your API key at the [Dashboard](https://qingbo.dev/dashboard/keys)
  </Step>

  <Step title="Swap the Base URL">
    Point your OpenAI SDK at `https://www.qingbo.dev/v1`
  </Step>

  <Step title="Pick a Model and Call It">
    Specify the model you want via the `model` parameter and send your request
  </Step>
</Steps>
