> ## 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.

# API reference

> 从 Apifox 同步的 AGICTO API 接口总览

这里收录从 Apifox 同步的 AGICTO API 文档。每个接口页面都包含请求地址、Header、示例请求和原始 OpenAPI 片段。

<Info>
  部分接口在 Apifox 中共用同一个 method 和 path，但请求体表示不同模型或供应商的变体。对应页面会保留各自的原始 OpenAPI 片段。
</Info>

## Base URL

```text theme={null}
https://api.agicto.cn/v1/
```

## Authentication

```http theme={null}
Authorization: Bearer $API_KEY
```

## 接口分组

<CardGroup cols={2}>
  <Card title="模型调用" icon="message" href="/api-reference/model/chat/message">
    聊天、嵌入、图片和排序模型。
  </Card>

  <Card title="图片生成" icon="image" href="/api-reference/images/openai/generate">
    OpenAI 图片格式、Midjourney、Qwen、Google 和豆包图片接口。
  </Card>

  <Card title="视频生成" icon="video" href="/guides/video-workflow">
    OpenAI 兼容视频格式和官方视频格式。
  </Card>

  <Card title="工具接口" icon="wrench" href="/api-reference/tools/search">
    联网搜索、热榜、视频解析、发票查验和发票 OCR。
  </Card>
</CardGroup>

## 使用建议

* 第一次调用先读 <a href="/quickstart">快速开始</a>。
* 迁移已有 OpenAI SDK 项目先读 <a href="/guides/openai-compatible">OpenAI 兼容格式</a>。
* 视频任务先读 <a href="/guides/video-workflow">视频任务流程</a>。
* 接口报错先读 <a href="/guides/troubleshooting">故障排查</a>。
