English
  • English
  • 中文简体
English
  • English
  • 中文简体
English
  • English
  • 中文简体
  1. Qwen-Compatible Format
  • 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)
          • Text Chat (Compatible API)
          • Generate Image (GPT-Image-2)
          • Edit Image (GPT-Image-2)
          • Create Video
          • Get Video Task Status
          • Get Video Content
      • 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
            POST
          • Edit Image
            POST
      • 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 (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. Qwen-Compatible Format

Edit Image

POST
/v1/images/generations

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": "qwen-image-edit-plus",
    "input": {
        "messages": [
            {
                "role": "user",
                "content": [
                    {
                        "image": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/fpakfo/image36.webp"
                    },
                    {
                        "text": "Generate an image that conforms to the depth map, following the description below: A rusty red bicycle is parked on a muddy path, with the background being a dense primeval forest."
                    }
                ]
            }
        ]
    },
    "parameters": {
        "n": 1,
        "negative_prompt": " ",
        "prompt_extend": true,
        "watermark": false,
        "size": "1536*1024"
    }
}

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/images/generations' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "model": "qwen-image-edit-plus",
    "input": {
        "messages": [
            {
                "role": "user",
                "content": [
                    {
                        "image": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/fpakfo/image36.webp"
                    },
                    {
                        "text": "Generate an image that conforms to the depth map, following the description below: A rusty red bicycle is parked on a muddy path, with the background being a dense primeval forest."
                    }
                ]
            }
        ]
    },
    "parameters": {
        "n": 1,
        "negative_prompt": " ",
        "prompt_extend": true,
        "watermark": false,
        "size": "1536*1024"
    }
}'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
    "data": [
        {
            "url": "string",
            "b64_json": "string",
            "revised_prompt": "string"
        }
    ],
    "created": 0,
    "metadata": {
        "output": {
            "choices": [
                {
                    "finish_reason": "string",
                    "message": {
                        "content": [
                            {
                                "image": "string"
                            }
                        ],
                        "role": "string"
                    }
                }
            ],
            "required": null,
            "x-apifox-orders": null
        },
        "usage": {
            "height": 0,
            "image_count": 0,
            "width": 0
        },
        "request_id": "string"
    }
}
🟠429Rate Limit
🟠400Bad Request
Modified at 2026-09-10 06:25:06
Previous
Generate Image
Next
Create Video (Text-to-Video)
Built with