模型接口
Responses
Responses
POST /v1/responses 支持当前已验证的 Responses 请求及 SSE 响应。
curl https://api.yuanqiaoyun.com/v1/responses \
-H "Authorization: Bearer sk-your-api-key" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-5.4","input":"只回复:连接成功"}'需要流式返回时设置 "stream": true。请以响应中的 usage 字段和控制台使用日志核对用量;中断的流式请求可能只产生已完成部分的结算记录。
这篇文档对您有帮助吗?