> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hubto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 响应生成

> OpenAI Responses 接口。

## 用途

用于以 Responses 风格发起生成请求，适合已经采用新接口结构的客户端。

## 请求头

<ParamField header="Authorization" type="string" default="Bearer YOUR_API_KEY" required>
  Bearer 鉴权请求头，格式为 `Bearer YOUR_API_KEY`。
</ParamField>

## 请求体

<ParamField body="model" type="string" default="gpt-5.4" required>
  模型名称。
</ParamField>

<ParamField body="input" type="string" default="请概括 HubTo 的核心价值。" required>
  输入内容。
</ParamField>

<ParamField body="stream" type="boolean" default="false">
  可选，是否流式返回。
</ParamField>

<ParamField body="max_output_tokens" type="integer" default="512">
  可选，限制本次生成的最大输出 token 数。
</ParamField>

## 示例请求体

```json theme={null}
{
  "model": "gpt-5.4",
  "input": "请概括 HubTo 的核心价值。"
}
```

## 响应

<ResponseField name="id" type="string">
  请求 ID。
</ResponseField>

<ResponseField name="output" type="object[]">
  模型输出内容。
</ResponseField>
