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

# Qwen 画像 3.0 Pro

> > 🚧 **このモデルはまだ利用できません。お楽しみに**

- Qwen（qwen-image-3.0-pro）モデルはテキストから画像生成（T2I、参照画像なし）と画像編集（I2I、参照画像1〜3枚）の2つのモードに対応
- 非同期処理モード、返却されたタスクIDで[照会](/ja/api-manual/task-management/get-task-detail)
- 生成された画像リンクは24時間有効です、お早めに保存してください



## OpenAPI

````yaml ja/api-manual/image-series/qwen/qwen-image-3.0-pro.json POST /v1/images/generations
openapi: 3.1.0
info:
  title: qwen-image-3.0-pro インターフェース
  description: Qwen モデルを使用した画像編集（簡略化されたモデルパラメータ設定）
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.evolink.ai
    description: 本番環境
security:
  - bearerAuth: []
tags:
  - name: 画像生成
    description: AI画像生成関連API
paths:
  /v1/images/generations:
    post:
      tags:
        - 画像生成
      summary: qwen-image-3.0-pro インターフェース
      description: >-
        > 🚧 **このモデルはまだ利用できません。お楽しみに**


        -
        Qwen（qwen-image-3.0-pro）モデルはテキストから画像生成（T2I、参照画像なし）と画像編集（I2I、参照画像1〜3枚）の2つのモードに対応

        -
        非同期処理モード、返却されたタスクIDで[照会](/ja/api-manual/task-management/get-task-detail)

        - 生成された画像リンクは24時間有効です、お早めに保存してください
      operationId: createQwenImage30ProGeneration
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QwenImageEditRequest'
            examples:
              text_to_image:
                summary: テキストから画像生成（T2I、参照画像なし）
                value:
                  model: qwen-image-3.0-pro
                  prompt: 宇宙飛行士のヘルメットをかぶった茶トラ猫、サイバーパンクのネオン背景
              image_edit:
                summary: 画像編集（I2I、参照画像1〜3枚）
                value:
                  model: qwen-image-3.0-pro
                  prompt: この画像の背景を置き換える
                  image_urls:
                    - https://example.com/image1.png
      responses:
        '200':
          description: 画像タスクの作成に成功しました
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImageGenerationResponse'
        '400':
          description: リクエストパラメータが不正です
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: invalid_request
                  message: Invalid request parameters
                  type: invalid_request_error
        '401':
          description: 未認証、トークンが無効または期限切れです
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: unauthorized
                  message: Invalid or expired token
                  type: authentication_error
        '402':
          description: クォータ不足のため、チャージが必要です
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: insufficient_quota
                  message: Insufficient quota. Please top up your account.
                  type: insufficient_quota
        '403':
          description: アクセスが拒否されました
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: model_access_denied
                  message: 'Token does not have access to model: qwen-image-3.0-pro'
                  type: invalid_request_error
        '429':
          description: レート制限を超えました
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: rate_limit_exceeded
                  message: Too many requests, please try again later
                  type: rate_limit_error
        '500':
          description: サーバー内部エラー
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: internal_error
                  message: Internal server error
                  type: api_error
components:
  schemas:
    QwenImageEditRequest:
      type: object
      required:
        - model
        - prompt
      properties:
        model:
          type: string
          description: モデル名
          enum:
            - qwen-image-3.0-pro
          default: qwen-image-3.0-pro
          example: qwen-image-3.0-pro
        prompt:
          type: string
          description: プロンプト。生成したい画像を説明する（テキストから画像生成）か、入力済みの画像の編集方法を説明します（画像編集）。4500トークンまで
          example: この画像の背景を置き換える
          maxLength: 4500
        image_urls:
          type: array
          description: >-
            参照画像 URL リスト（**任意**）。未指定または空配列 = テキストから画像生成（T2I）；1〜3枚指定 = 画像編集（I2I）


            **注意:**

            - 1回のリクエストで入力できる画像数：`0-3`枚、3枚を超えるとエラーになります

            - 公開された http/https の画像 URL のみサポート、base64 / data-url は非対応

            - 画像の幅と高さはいずれも`[384-3072]`ピクセルの範囲内である必要があります

            - サポートされるファイル形式：`.jpg`、`.jpeg`、`.png`、`.bmp`、`.webp`、`.tiff`

            - 画像 URL はサーバーから直接閲覧可能であるか、アクセス時に直接ダウンロードされる必要があります（通常、これらの URL
            は`.png`、`.jpg`などの画像拡張子で終わります）
          items:
            type: string
            format: uri
          example:
            - https://example.com/image1.png
            - https://example.com/image2.png
        'n':
          type: integer
          description: |-
            生成する画像の枚数を指定、`[1,6]` の間の任意の整数値をサポート

            **注意:**
            - 各リクエストは `n` の値に基づいて事前課金され、実際の課金は生成された画像の枚数に基づきます
          minimum: 1
          maximum: 6
          default: 1
          example: 1
        negative_prompt:
          type: string
          description: |-
            画像に表示したくないコンテンツを記述するネガティブプロンプト、出力を制約するために使用

            **注意:**
            - 中国語と英語をサポート、最大長`500`文字、各中国語文字/文字は1文字としてカウント、超過分は自動的に切り捨てられます
          maxLength: 500
          example: >-
            low resolution, error, worst quality, low quality, mutilated, extra
            fingers, bad proportions
        size:
          type: string
          description: >-
            生成画像のサイズ、デフォルトは `auto`：

            - `auto`（デフォルト）：モデルが適切な出力サイズを自動的に選択します

            - `幅x高さ`：`1024x1024`、`1024x1536`、`1536x1024`など、幅と高さの値の範囲はいずれも`[512,
            2048]`ピクセル


            **注意:**

            - サイズを明示的に指定できるのは出力画像数 `n` が `1` の場合のみで、それ以外はエラーになります；`auto`
            はこの制限を受けません
          default: auto
          example: 1024x1024
        prompt_extend:
          type: boolean
          description: >-
            prompt のインテリジェント書き換えを有効にするかどうか。デフォルト値は`false`（ユーザーの prompt
            を勝手に書き換えません）；明示的に`true`を渡した場合のみ、大規模モデルでポジティブプロンプトを最適化し、説明が不十分で比較的シンプルな
            prompt に対して効果が顕著に向上します
          default: false
          example: true
        watermark:
          type: boolean
          description: 画像の右下隅に "Qwen-Image" ウォーターマークを追加するかどうか。デフォルト値は `false`
          default: false
          example: false
        seed:
          type: integer
          description: |-
            ランダムシード、範囲`[0, 2147483647]`、同じシード値を使用すると、生成されるコンテンツを比較的安定させることができます

            **注意:**
            - 提供されない場合、アルゴリズムは自動的にランダムシードを使用します
            - モデル生成プロセスは確率的であり、同じシードでも、毎回完全に同一の結果を保証することはできません
          minimum: 0
          maximum: 2147483647
          example: 12345
        callback_url:
          type: string
          description: >-
            タスク完了後の HTTPS コールバックアドレス


            **コールバックタイミング：**

            - タスクが完了（completed）、失敗（failed）、またはキャンセル（cancelled）された時にトリガーされます

            - 課金確認完了後に送信されます


            **セキュリティ制限：**

            - HTTPS プロトコルのみサポート

            - 内部 IP アドレスへのコールバックは禁止（127.0.0.1、10.x.x.x、172.16-31.x.x、192.168.x.x
            など）

            - URL の長さは `2048` 文字以内


            **コールバックメカニズム：**

            - タイムアウト：`10` 秒

            - 失敗時最大 `3` 回リトライ（`1` 秒/`2` 秒/`4` 秒後にリトライ）

            - コールバックレスポンスボディの形式はタスククエリ API のレスポンス形式と一致

            - コールバックアドレスが 2xx ステータスコードを返した場合は成功とみなされ、その他のステータスコードはリトライをトリガーします
          format: uri
          example: https://your-domain.com/webhooks/image-task-completed
    ImageGenerationResponse:
      type: object
      properties:
        created:
          type: integer
          description: タスク作成タイムスタンプ
          example: 1757156493
        id:
          type: string
          description: タスク ID
          example: task-unified-1757156493-imcg5zqt
        model:
          type: string
          description: 使用された実際のモデル名
          example: qwen-image-3.0-pro
        object:
          type: string
          enum:
            - image.generation.task
          description: 具体的なタスクタイプ
        progress:
          type: integer
          description: タスク進捗率（0-100）
          minimum: 0
          maximum: 100
          example: 0
        status:
          type: string
          description: タスクステータス
          enum:
            - pending
            - processing
            - completed
            - failed
          example: pending
        task_info:
          $ref: '#/components/schemas/TaskInfo'
          description: 非同期タスク情報
        type:
          type: string
          enum:
            - text
            - image
            - audio
            - video
          description: タスク出力タイプ
          example: image
        usage:
          $ref: '#/components/schemas/Usage'
          description: 使用量と課金情報
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: エラーコード識別子
            message:
              type: string
              description: エラーの説明
            type:
              type: string
              description: エラータイプ
    TaskInfo:
      type: object
      properties:
        can_cancel:
          type: boolean
          description: タスクをキャンセルできるかどうか
          example: true
        estimated_time:
          type: integer
          description: 推定完了時間（秒）
          minimum: 0
          example: 30
    Usage:
      type: object
      description: 使用量と課金情報
      properties:
        billing_rule:
          type: string
          description: 課金ルール
          enum:
            - per_call
            - per_token
            - per_second
          example: per_call
        credits_reserved:
          type: number
          description: 推定消費クレジット
          minimum: 0
          example: 1
        user_group:
          type: string
          description: ユーザーグループカテゴリ
          example: default
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: |-
        ##すべてのAPIにBearer Token認証が必要です##

        **APIキーの取得：**

        [APIキー管理ページ](https://evolink.ai/dashboard/keys)にアクセスしてAPIキーを取得してください

        **リクエストヘッダーに追加：**
        ```
        Authorization: Bearer YOUR_API_KEY
        ```

````