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

# Qwen Image 3.0 Pro 图像编辑

> Qwen Image 3.0 Pro 图像编辑 API 是 Qwen Image 3 高质量版参考图编辑模型，输出 1K 和 2K。

> [!TIP]
>
> 1. 提交后会返回 `task_id`。如果提供了 `callback_url`，当任务状态变为 `finished` 或 `failed` 时，系统会向 `callback_url` 发送 POST 请求。
> 2. 无论是否提供 `callback_url`，都可以通过统一的[查询任务状态](https://docs.vidgo.ai/zh/api-manual/task-management/status.md)接口获取结果。

此模型支持基于参考图的编辑，适用于海报、产品视觉、文字排版和自然语言创意任务。

## 模型

* **qwen-image-3.0-pro/edit** - 高质量版参考图编辑，输出 1K 和 2K

## 参数

* `prompt` 必填，最多 5,000 个字符。
* `size` 支持 `1:1`、`3:2`、`2:3`、`4:3`、`3:4`、`16:9`、`9:16` 和 `21:9`。
* `resolution` 支持 `1K` 和 `2K`。
* `output_format` 支持 `png` 和 `jpeg`。
* `prompt_extend` 控制是否自动增强提示词。
* `negative_prompt` 描述不希望出现在输出中的内容。
* `seed` 取值范围为 0 到 2,147,483,647。
* `enable_safety_checker` 控制内容安全检查。
* `image_urls` 必填。
* 按输出图像计费；分辨率和输入图像数量可能影响当前模型价格。

## 参考图示例

```json theme={null}
{
  "model": "qwen-image-3.0-pro/edit",
  "callback_url": "https://your-domain.com/callback",
  "input": {
    "prompt": "A cinematic scene with natural lighting and coherent motion",
    "resolution": "1K",
    "size": "1:1",
    "image_urls": [
      "https://cdn.vidgo.ai/temp/reference-1.jpg"
    ]
  }
}
```


## OpenAPI

````yaml zh/api-manual/image-series/qwen-image-3-0-pro-edit.json POST /api/generate/submit
openapi: 3.0.0
info:
  title: Vidgo API - Qwen Image 3.0 Pro 图像编辑
  description: 通过 Vidgo 统一生成 API 调用 Qwen Image 3.0 Pro 图像编辑。
  version: 1.0.0
servers:
  - url: https://api.vidgo.ai
    description: 生产环境服务器
security:
  - BearerAuth: []
paths:
  /api/generate/submit:
    post:
      tags:
        - Qwen Image 3.0 Pro Image Edit
      summary: 提交 Qwen Image 3.0 Pro 图像编辑任务
      operationId: submitQwenImage30ProEditTask
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitRequest'
            examples:
              default:
                summary: Qwen Image 3.0 Pro 图像编辑
                value:
                  model: qwen-image-3.0-pro/edit
                  callback_url: https://your-domain.com/callback
                  input:
                    prompt: >-
                      A cinematic scene with natural lighting and coherent
                      motion
                    resolution: 1K
                    size: '1:1'
                    image_urls:
                      - https://cdn.vidgo.ai/temp/reference-1.jpg
      responses:
        '200':
          description: 任务提交成功
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitResponse'
        '400':
          description: 请求参数无效
        '401':
          description: 未授权
components:
  schemas:
    SubmitRequest:
      type: object
      required:
        - model
        - input
      additionalProperties: false
      properties:
        model:
          type: string
          example: qwen-image-3.0-pro/edit
        callback_url:
          type: string
          format: uri
          description: 可选的 Webhook 回调 URL。
        input:
          type: object
          required:
            - prompt
            - image_urls
          additionalProperties: false
          properties:
            prompt:
              type: string
              description: 描述要生成或编辑的图像的文字指令。
              maxLength: 5000
            size:
              type: string
              description: 输出宽高比。
              enum:
                - '1:1'
                - '3:2'
                - '2:3'
                - '4:3'
                - '3:4'
                - '16:9'
                - '9:16'
                - '21:9'
              default: '1:1'
            resolution:
              type: string
              description: 输出分辨率。
              enum:
                - 1K
                - 2K
              default: 1K
            output_format:
              type: string
              description: 输出图像格式。
              enum:
                - png
                - jpeg
            enable_safety_checker:
              type: boolean
              description: 是否开启内容安全检查。
            prompt_extend:
              type: boolean
              description: 是否自动增强提示词。
            negative_prompt:
              type: string
              description: 不希望出现在输出中的内容。
              maxLength: 5000
            seed:
              type: integer
              description: 可选的确定性种子。
              minimum: 0
              maximum: 2147483647
            image_urls:
              type: array
              description: 此图像编辑模型所需的参考图。
              minItems: 1
              maxItems: 3
              items:
                type: string
                format: uri
    SubmitResponse:
      type: object
      required:
        - code
        - data
      properties:
        code:
          type: integer
          example: 200
        data:
          type: object
          required:
            - task_id
            - status
            - created_time
          properties:
            task_id:
              type: string
            status:
              type: string
              enum:
                - not_started
                - running
                - failed
            created_time:
              type: string
              format: date-time
              example: '2026-10-10T08:00:00Z'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: '使用 `Authorization: Bearer VIDGO_API_KEY`。'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.