English
  • English
  • 中文简体
English
  • English
  • 中文简体
English
  • English
  • 中文简体
  1. Official API
  • Model interface
    • Aiide Platform
    • Law and Policy
      • Service Agreement
      • Privacy Policy
    • List of model interfaces
      • Get Models
        • Get Available Models
      • Anthropic (Claude Code)
        • Official API
          • Text Chat (Preferred)
        • OpenAI-Compatible API
          • Text Chat
      • OpenAI (Codex, GPT-Image-2)
        • Official API
          • Text Chat (Officially Recommended / Next Generation)
            POST
          • Text Chat (Compatible API)
            POST
          • Generate Image (GPT-Image-2)
            POST
          • Edit Image (GPT-Image-2)
            POST
          • Create Video
            POST
          • Get Video Task Status
            GET
          • Get Video Content
            GET
      • Google (Gemini, Nano Banana)
        • Official API
          • Text Chat (Preferred)
          • Generate Image (Nano Banana)
        • OpenAI-Compatible API
          • Text Chat
          • Generate Image (Nano Banana)
      • xAI (Grok-Image)
        • OpenAI-Compatible API
          • Generate Image (Grok)
      • Images
        • OpenAI-Compatible API
          • Generate Image
        • Qwen-Compatible Format
          • Generate Image
          • Edit Image
      • Videos
        • Qwen Format (Happyhorse)
          • Create Video (Text-to-Video)
          • Create Video (First-Frame Image-to-Video)
          • Create Video (Reference-Image-to-Video)
          • Create Video (Video Editing)
          • Get Video Generation Task Status
        • Volcengine Doubao Format (Seed-2.0)
          • Create Video (Text-to-Video)
          • Create Video (First-Frame Image-to-Video)
          • Create Video (First-and-Last-Frame Image-to-Video)
          • Create Video (Reference-Image-to-Video)
          • Create Video (Multimodal Reference-to-Video)
          • Get Video Generation Task Status
        • OpenAI Format (Google Veo 3.1, Seed-2.0)
          • Google Veo 3.1
            • Create Video (Text-to-Video)
            • Create Video (Reference-Image-to-Video)
            • Get Video Generation Task Status
          • OpenAI Sora Format (Seed-2.0 Special Price)
            • Create Video (Text-to-Video)
            • Create Video (Multimodal Reference-to-Video)
            • Get Video Generation Task Status
            • Get Video Content
    • Video Asset APIs
      • Asset Library API Integration Guide
      • Asset Library API Integration Guide (Volcengine Official Format)
      • Upload Asset
      • List Assets
      • Get Asset
      • Update Asset Description
      • Delete Asset
    • Tool Configuration Tutorial
      • CC Switch 配置
      • Claude Code配置
      • Codex配置
      • Gemini CLI配置
      • OpenCode 配置
      • Cursor 配置
      • node 安装教程
  1. Official API

Text Chat (Officially Recommended / Next Generation)

POST
/v1/responses
Request in official OpenAI format.
New primary endpoint.
Unified generation endpoint: text / multimodal / tool use / reasoning.
responses will gradually replace chat.completions.
gpt-5.2
gpt-5.3-codex
gpt-5.4-mini
gpt-5.4, etc.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/jsonRequired

Example
{
    "model": "gpt-5.4",
    "input": [
        {
            "role": "user",
            "content": "Hello"
        }
    ],
    "max_output_tokens": 1
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://www.aiide.com/v1/responses' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "model": "gpt-5.4",
    "input": [
        {
            "role": "user",
            "content": "Hello"
        }
    ],
    "max_output_tokens": 1
}'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
    "id": "string",
    "object": "string",
    "created_at": 0,
    "status": "string",
    "background": true,
    "completed_at": 0,
    "error": null,
    "frequency_penalty": 0,
    "incomplete_details": null,
    "instructions": "string",
    "max_output_tokens": null,
    "max_tool_calls": null,
    "model": "string",
    "output": [
        {
            "id": "string",
            "type": "string",
            "encrypted_content": "string",
            "summary": [
                "string"
            ],
            "status": "string",
            "content": [
                {
                    "type": "string",
                    "annotations": [
                        "string"
                    ],
                    "logprobs": [
                        "string"
                    ],
                    "text": "string"
                }
            ],
            "role": "string",
            "required": null,
            "x-apifox-orders": null
        }
    ],
    "parallel_tool_calls": true,
    "presence_penalty": 0,
    "previous_response_id": null,
    "prompt_cache_key": "string",
    "prompt_cache_retention": null,
    "reasoning": {
        "effort": "string",
        "summary": null
    },
    "safety_identifier": "string",
    "service_tier": "string",
    "store": true,
    "temperature": 0,
    "text": {
        "format": {
            "type": "string"
        },
        "verbosity": "string"
    },
    "tool_choice": "string",
    "tools": [
        "string"
    ],
    "top_logprobs": 0,
    "top_p": 0,
    "truncation": "string",
    "usage": {
        "input_tokens": 0,
        "input_tokens_details": {
            "cached_tokens": 0
        },
        "output_tokens": 0,
        "output_tokens_details": {
            "reasoning_tokens": 0
        },
        "total_tokens": 0
    },
    "user": null,
    "metadata": {}
}
🟠429Rate Limit
🟠400Bad Request
Modified at 2026-09-10 05:58:04
Previous
Text Chat
Next
Text Chat (Compatible API)
Built with