POST
javascript
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 const axios = require('axios'); const fs = require('fs'); const path = require('path'); async function toB64(imgPath) { const data = fs.readFileSync(path.resolve(imgPath)); return Buffer.from(data).toString('base64'); } const api_key = "YOUR API-KEY"; const url = "https://api.segmind.com/v1/qwen-image-edit-plus"; const data = { "image": "toB64('https://segmind-resources.s3.amazonaws.com/input/c9e0ba47-d061-44fd-91e0-c9c55eed07fb-img2-qime.jpg')", "image_2": "toB64('https://segmind-resources.s3.amazonaws.com/input/5bacb90c-f157-4dec-9ea8-7a02052206a0-image1-ip.png')", "image_3": "toB64('null')", "prompt": "The woman from image 2 is sitting on the sofa, smiling and waving, in the scene from image 1", "aspect_ratio": "match_input_image", "go_fast": true, "seed": 760941192, "image_format": "webp", "quality": 90, "base64": false }; (async function() { try { const response = await axios.post(url, data, { headers: { 'x-api-key': api_key } }); console.log(response.data); } catch (error) { console.error('Error:', error.response.data); } })();
RESPONSE
image/jpeg
HTTP Response Codes
200 - OKImage Generated
401 - UnauthorizedUser authentication failed
404 - Not FoundThe requested URL does not exist
405 - Method Not AllowedThe requested HTTP method is not allowed
406 - Not AcceptableNot enough credits
500 - Server ErrorServer had some issue with processing

Attributes


imageimage *

Input Image URL or file reference.


image_2image *

Input Image URL or file reference.


image_3image *

Input Image URL or file reference.


promptstr *

Describes what to edit in the image


aspect_ratioenum:str ( default: match_input_image )

Defines frame aspect ratio.

Allowed values:


go_fastbool ( default: true )

Activates faster image generation. Disable for quality over speed.


seedint ( default: 760941192 )

Seed stabilizes output. Try -1 for randomness.

min : -1,

max : 999999999999999


image_formatenum:str ( default: webp )

Choose format for image storage. 'jpeg' for compact files, 'png' for clarity.

Allowed values:


qualityint ( default: 90 )

Sets image detail level. Use 80 for web content, 100 for high-quality prints.

min : 10,

max : 100


base64boolean ( default: 1 )

Outputs base64. True if image as text needed.

To keep track of your credit usage, you can inspect the response headers of each API call. The x-remaining-credits property will indicate the number of remaining credits in your account. Ensure you monitor this value to avoid any disruptions in your API usage.

Qwen Image Edit Plus: Advanced Multi-Image Editing Model

Edited by Segmind Team on October 24, 2025.

What is Qwen Image Edit Plus?

Qwen Image Edit Plus is an image editing model that is powered by advanced AI and designed for complex multi-image manipulation. It works at a professional level when it comes to blending up to three images effortlessly, while simultaneously preserving essential and fine details: facial features, product textures, and text consistency. It also has a built-in ControlNet integration that enables users to precisely control every single image's transformation using its integrated tools, including depth, edge, and keypoint mapping.

Key Features of Qwen Image Edit Plus

  • It supports multi-image editing for up to three input images simultaneously
  • It is integrated with advanced facial identity preservation across transformations
  • It offers precise text editing with font and color maintenance
  • It has an in-built Native ControlNet for fine-grained control
  • It includes flexible aspect ratio adjustment with multiple preset options
  • It sports a high-quality output configuration with customizable parameters
  • It can execute fast processing mode for rapid iterations

Best Use Cases

  • Professional portrait transformations and enhancements
  • Product marketing material creation
  • Complex multi-subject image compositions
  • Brand asset modification and text editing
  • E-commerce product visualization
  • Fashion and lifestyle content creation
  • Marketing collateral development

Prompt Tips and Output Quality

  • Provide prompts that are specific and detailed to achieve precise results
  • Provide clear, high-resolution input images for the best quality output
  • Utilize the quality parameter (10-100) to balance detail and output size
  • When you want a high level of precision in the image output, disable "go_fast" mode
  • Match aspect ratios to your input image for consistent results
  • Use seed values strategically, such as -1 for variation, fixed numbers for reproducibility

FAQs

How many images can I combine with Qwen Image Edit Plus?

You can work with up to three images simultaneously for seamless blending and transformations.

What makes Qwen Image Edit Plus different from basic image editors?

Qwen Image Edit Plus's native ControlNet integration and high consistency preservation make it a sophisticated model when compared to its rivals. It also offers precise control over transformations while maintaining image integrity.

How can I ensure the best output quality?

Professional-level results can be produced using high-resolution input images, setting quality to 90 or above, disabling "go_fast" mode for crucial projects, and providing detailed and specific prompts.

What image formats are supported?

The model supports PNG, JPEG, and WebP outputs, with WebP recommended for optimal quality-to-size ratio.

Can I control the randomness in image generation?

Yes, use the seed parameter (-1 to 999999999999999) to either ensure consistency (fixed number) or generate variations (-1).

Is ControlNet integration automatic?

Yes, Qwen Image Edit Plus natively supports ControlNet features for depth, edge, and keypoint mapping without any manual integrations.