# 响应responses接口

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/responses:
    post:
      summary: 响应responses接口
      deprecated: false
      description: >-
        创建模型响应。提供文本或图像输入以生成文本或JSON输出。让模型调用您自己的自定义代码，或使用内置工具（如网络搜索或文件输入）将您自己的数据用作模型响应的输入。

        本页面只展示最简答的调用和参数,
        更详细的文档请查看[官方文档](https://platform.openai.com/docs/api-reference/responses/create)
      tags:
        - 模型接口/聊天接口（Chat）
      parameters:
        - name: Content-Type
          in: header
          description: ''
          required: false
          example: application/json
          schema:
            type: string
        - name: Authorization
          in: header
          description: ''
          required: false
          example: Bearer {{YOUR_API_KEY}}
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                model:
                  type: string
                  title: 模型名
                  default: gpt-4.1
                input:
                  type: string
                  title: 用于生成响应的模型的文本、图像或文件输入
                  default: 你好
              x-apifox-orders:
                - model
                - input
              required:
                - model
                - input
            example:
              model: gpt-4.1
              input: 你好
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: 模型接口/聊天接口（Chat）
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/2946232/apis/api-385209336-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.chatanywhere.tech
    description: 正式环境
security: []

```
