Model parameters
- Model IDs:
qwen-image-3.0/qwen-image-3.0-pro - Pricing: See the model pages for Qwen-Image-3.0 and Qwen-Image-3.0-pro.
- Endpoint:
https://geekai.co/api/v1/images/generations - Parameters: See the Image API reference.
- Authentication: Get an API key.
The following Image API parameters are not supported:
strengthaspect_ratioqualitystyle_presetresponse_formatoutput_formatmaskbackground
size as a widthxheight string, such as “1024x1024”. If omitted, the model recommends a resolution based on the prompt:
- Text-to-image (T2I): Any dimensions with a total pixel count between
512x512and2048x2048and an aspect ratio between1:8and8:1. - Image-to-image (I2I): Any dimensions with a total pixel count between
512x512and2048x2048and an aspect ratio between1:8and8:1.
enhance_prompt instead of the official prompt_extend to optimize prompts automatically. The model refines the original prompt to improve image quality and detail.
Set n to specify the number of images, up to 6. The default is 1.
For image-to-image generation, pass up to 3 reference images in image as URLs or Base64-encoded data. Use an array for multiple images. Requirements:
- Supported formats: PNG, JPG, JPEG, and WEBP.
- Each image must be no larger than 10 MB.
- Recommended dimensions: 384–2048 pixels for both width and height.
Pricing
Like GPT-Image-2, Qwen-Image-3.0 can generate images at any resolution from512x512 to 2048x2048. Prices depend on resolution:
Unlike GPT-Image-2, which bills by token, Qwen-Image-3.0 bills output images by total pixel count (width × height). Images above 2,250,000 pixels are billed at the 2K rate; images at or below that threshold are billed at the 1K rate.
For
qwen-image-3.0, 1K and 2K cost the same. For qwen-image-3.0-pro, 2K costs twice as much as 1K. Both models charge 0.02 CNY per input reference image.
Text-to-image generation
Give the model a clear, precise description to quickly generate a high-quality image:billed_units is the billable image count. output_image_type indicates the output resolution tier: qima_output_1k means 1K and qima_output_2k means 2K.
Image-to-image generation
Single image Pass a single image inimage to edit it or generate an image based on it:
image to generate an image based on several references:
