用途
用于以 Responses 风格发起生成请求,适合已经采用新接口结构的客户端。请求
- Method:
POST - URL:
https://api.hubto.ai/v1/responses - Auth:
Authorization: Bearer YOUR_API_KEY - Content-Type:
application/json
最小请求体
请求示例
常用字段
model: 目标模型名称input: 输入内容stream: 可选,是否流式返回
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
OpenAI Responses 接口。
POSThttps://api.hubto.ai/v1/responsesAuthorization: Bearer YOUR_API_KEYapplication/json{
"model": "gpt-5.4",
"input": "请概括 HubTo 的核心价值。"
}
curl https://api.hubto.ai/v1/responses \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "gpt-5.4",
"input": "请概括 HubTo 的核心价值。"
}'
model: 目标模型名称input: 输入内容stream: 可选,是否流式返回