Skip to main content
Qwen Image Edit supports multiple input and output images. It can precisely edit text in images, add, remove, or move objects, change a subject’s pose, transfer styles, and enhance details.

Model parameters

  • Model IDs: qwen-image-edit/qwen-image-edit-plus
  • 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:
  • strength
  • aspect_ratio
  • quality
  • style_preset
  • response_format
  • output_format
  • mask
  • background
See also: Official Qwen-Image-Edit API documentation.
Use size to set the output resolution as a width-by-height string, such as “1024x2048”. Both dimensions must be between 512 and 2048 pixels. Only the qwen-image-edit-plus series supports this parameter. Set n to specify the number of outputs (default: 1). The qwen-image-edit-plus series can output 1–6 images; qwen-image-edit outputs only 1. image also accepts Base64 image data in the format data:{mime_type};base64,{base64_data}.

Image editing

The response is a JSON object containing the URL of the generated image: