# Chat Completions

Chat Completions 通过 `messages` 数组接收对话输入，并在 `choices[]` 中返回模型回复。先完成[身份认证](../../getting-started/authentication.md)并确认模型 ID，再按输入类型选择文本、多模态或流式调用。

## 选择调用方式

| 你的输入或输出需求 | 使用的页面 |
| --- | --- |
| 发送纯文本消息并一次性获取回复 | [文本对话](text-chat.md) |
| 在消息中同时发送文本和图像 | [多模态对话](multimodal-chat.md) |
| 持续接收模型生成的增量内容 | [Chat Completions 流式输出](streaming-chat-completions.md) |

每次请求都应使用当前凭据可访问的模型 ID。模型支持的输入类型和可选参数会因模型而异；先用最小请求验证所选模型。

```{toctree}
:hidden:
:maxdepth: 1

文本对话 <text-chat>
多模态对话 <multimodal-chat>
Chat Completions 流式输出 <streaming-chat-completions>
```
