Skip to main content
Qwen-Image is a general-purpose text-to-image model that supports many artistic styles and excels at complex text rendering. It can arrange multiple lines, generate entire paragraphs, and render fine details in layouts that combine text and images. Z-Image is a lightweight text-to-image model for fast generation. It renders Chinese and English text and supports a range of resolutions and aspect ratios.

Model parameters

  • Model IDs: qwen-image/qwen-image-plus/z-image-turbo
  • Pricing: Check the Model Hub for current prices.
  • 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:
  • image
  • strength
  • aspect_ratio
  • quality
  • style_preset
  • response_format
  • output_format
  • mask
  • background
See also: Official Qwen text-to-image API documentation.
Use size to set the Qwen text-to-image output resolution: Available resolutions and their aspect ratios:

Text-to-image generation

qwen-image Give the model a clear, precise description to quickly generate a single high-quality image:
The response is a JSON object containing the URL of the generated image:
z-image-turbo In addition to the parameters listed above, Z-Image does not support negative_prompt or watermark. Recommended resolutions for a total pixel count of 1024x1024: Recommended resolutions for a total pixel count of 1280x1280: Recommended resolutions for a total pixel count of 1536x1536: The total pixel count must be within [512x512, 2048x2048]. For best results, use a resolution in the range [1024x1024, 1536x1536].
As in the qwen-image example above, the response is a JSON object containing the generated image URL.