For AI agents: the complete documentation index is available at https://aioproxy.dev/zh/llms.txt, the full documentation bundle is available at https://aioproxy.dev/zh/llms-full.txt, and this page is available as Markdown at https://aioproxy.dev/zh/api/chat-completions.md.
  • 简体中文
  • 创建聊天补全 POST /v1/chat/completions

    创建 OpenAI 兼容的聊天补全。

    参数 / 响应

    参数: conversation_id, max_completion_tokens, max_tokens, messages, metadata, model, prompt_cache_key, reasoning_effort, response_format, service_tier, session_id, stream, temperature, tool_choice, tools

    响应: 2XX application/json, 2XX text/event-stream, 2XX text/plain

    Loading API reference…