Skip to content
English

Qwen Image 3.0 Pro Image to Image

POST Base URL: https://api.hiapi.ai /v1/tasks

Image, video, and audio models are called through the Unified Async API POST /v1/tasks endpoint; only the input fields differ (see input parameters below).

Model summary

Model name qwen-image-3.0-pro/image-to-image
Type Image to image
Endpoint POST /v1/tasks
Pricing See HiAPI Pricing

Qwen Image 3.0 Pro Image to Image generates reference-guided images through the unified asynchronous API.

Production guidance

Production guidance
  • In production, prefer callback.url for terminal task notifications.
  • State the subjects, composition, and wording that must be preserved.
  • For exact in-image wording, set prompt_extend to false.

Best suited for

High-fidelity refinement

For complex materials, dense layouts, and final-asset refinement.

image_urlsprompt
Format control

Choose square, landscape, portrait, or ultrawide output.

aspect_ratio

Request parameters

model string required

Fixed value qwen-image-3.0-pro/image-to-image.

example qwen-image-3.0-pro/image-to-image
input object required

Model-specific parameter object.

prompt string required

Positive prompt describing image content, style, and composition; up to 18,000 characters.

image_urls string[] required

Reference image URLs, 1–3 images. JPEG, PNG, WEBP, BMP, GIF, or TIFF up to 10 MB each; SVG is not supported.

aspect_ratio enum optional

Width-height ratio of the output image.

default 1:1 enum: 1:13:22:34:33:416:99:1621:9
resolution enum optional

Output resolution tier.

default 1K enum: 1K2K
output_format enum optional

Generated image file format.

default png enum: pngjpeg
prompt_extend boolean optional

Whether to automatically enrich the prompt.

default true
negative_prompt string optional

Content to avoid in the image, up to 500 characters.

default ""
seed integer optional

Random seed from 0 to 2147483647.

callback object optional

Optional callback configuration. In production, pass callback.url for terminal task notifications.

url string required

HTTPS URL that receives terminal task notifications.

example https://your-domain.com/hiapi/callback
when enum optional

Callback trigger timing. Use final.

default final enum: final

Example requests

Reference-guided refinement

Uses the verified request structure.

Request body
{
  "model": "qwen-image-3.0-pro/image-to-image",
  "input": {
    "prompt": "Refine the supplied image into a premium editorial photograph while preserving its composition and main subject. No added text or logo.",
    "image_urls": [
      "https://dev-static.hiapi.ai/model-covers/2026/08/10/1786343693249-49193d12be6a4009-qwen-image-3-0-pro-golden.webp"
    ],
    "aspect_ratio": "16:9",
    "resolution": "2K",
    "output_format": "png",
    "prompt_extend": false
  }
}

Getting the result

  1. A successful submission returns a taskId immediately.
  2. In production, prefer callback.url; for local debugging, poll GET /v1/tasks/:id.
  3. When status=success, download the image from output[].url.

FAQ

How should I choose Standard or Pro?

Choose Standard for fast exploration and regular generation; choose Pro for richer detail, complex materials, and final assets.

Next steps