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

# AGICTO API docs

> Call AGICTO API for models, images, videos, tools, and speech

AGICTO API lets you call model services with one Base URL and one API Key. You can use OpenAI-compatible requests for chat, embeddings, images, and videos, or call task-specific endpoints for Midjourney, web search, invoice OCR, TTS, and official video providers.

<CardGroup cols={3}>
  <Card title="Quickstart" icon="rocket" href="/en/quickstart">
    Send your first Chat completions request in a few minutes.
  </Card>

  <Card title="OpenAI compatibility" icon="code" href="/en/openai-compatible">
    Migrate existing OpenAI SDK code by changing the Base URL, API Key, and model.
  </Card>

  <Card title="API reference" icon="book-open" href="/api-reference/introduction">
    Browse the API pages synced from Apifox.
  </Card>
</CardGroup>

## What you can build

<CardGroup cols={2}>
  <Card title="Text and chat" icon="message" href="/api-reference/model/chat/message">
    Use `/v1/chat/completions` for assistants, coding, summarization, and text workflows.
  </Card>

  <Card title="Images" icon="image" href="/api-reference/images/openai/generate">
    Generate images with OpenAI-compatible image requests or provider-specific endpoints.
  </Card>

  <Card title="Videos" icon="video" href="/guides/video-workflow">
    Create video jobs, poll status, and download completed results.
  </Card>

  <Card title="Tools" icon="wrench" href="/api-reference/tools/search">
    Call web search, hot lists, video parsing, invoice validation, and invoice OCR.
  </Card>
</CardGroup>

## Essentials

* **Base URL**: `https://api.agicto.cn/v1/`
* **API Key**: send it as `Authorization: Bearer $API_KEY`
* **OpenAI-compatible format**: use it first for common chat, embedding, image, and video workflows

<Tip>
  If you already use the OpenAI SDK, start with <a href="/en/openai-compatible">OpenAI compatibility</a>. You usually only need to change the Base URL, API Key, and model name.
</Tip>
