Skip to main content
POST
Submit Qwen Image 2.0 task

Submit task

prompt is required (at most 800 characters). Omit image_urls for generation, or provide 1–3 public HTTP(S) URLs for editing; base64 is rejected. resolution is 1K (default) or 2K. Each request produces one image.
The gateway charges 31 credits per image; 1K and 2K cost the same. Read /pricing for the current amount.

Authorizations

Authorization
string
header
required

Wizzx API key. This is not a JWT.

Body

application/json

Shared by qwen-image-2.0 and qwen-image-2.0-pro. Omit image_urls for text-to-image or provide 1-3 public URLs for image-to-image. One image per request; 1K and 2K cost the same.

prompt
string
required

Required prompt, at most 800 Unicode characters.

Required string length: 1 - 800
negative_prompt
string
Maximum string length: 500
image_urls
string<uri>[]
Maximum array length: 3

Publicly reachable HTTP(S) URL.

Pattern: ^https?://
aspect_ratio
enum<string>
default:1:1
Available options:
1:1,
4:3,
3:4,
16:9,
9:16,
3:2,
2:3
resolution
enum<string>
default:1K

Case-insensitive. Does not change the price.

Available options:
1K,
2K

Response

Task accepted

code
enum<integer>
required
Available options:
0
message
string
required
Example:

"success"

data
object
required
request_id
string<uuid>
required