Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

通用对话接口

  • 统一的对话 API 接口,支持所有文本生成模型
  • 通过 model 参数选择不同的 AI 模型
  • 兼容 OpenAI Chat Completions API 格式

支持模型

系列支持的模型 ID
文本模型模型广场 当前展示的文本模型 ID 为准
模型可用性可能随渠道调整,请以 模型广场 中显示的模型 ID 为准。
Request example
curl --request POST \ --url https://tokenflash.cn/v1/chat/completions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "gpt-5.6-sol", "messages": [ { "role": "user", "content": "你好,请介绍一下你自己" } ] }'
body modelstringrequired
模型 ID,例如 gpt-5.6-sol
body messagesarrayrequired
对话消息数组。
Response example
{ "id": "chatcmpl_xxx", "object": "chat.completion" }