ModelStream LogoModelStream Logo
Models
Video API
Image API
Chat API
Audio API
Studio
Pricing
Docs
Menu
IntroductionQuickstartAPI KeysUse with Hermes AgentUse with OpenClaw
Model ListBilling Guide
ModelStream

Video API

  • Seedance 2.0
  • Happyhorse 1.0
  • Vidu Q3
  • Kling V3.0
  • Veo 3.1
  • Wan 2.7
  • More Video Models →

Image API

  • GPT Image 2
  • Nano Banana 2
  • Seedream 5.0
  • Imagen 4
  • Qwen Image 2.0
  • Z-Image Turbo
  • More Image Models →

Audio API

  • Suno Music
  • Qwen3 TTS Flash
  • More Audio Models →

Chat API

  • GLM-5.2
  • Claude Opus 4.8
  • Gemini 3.5 Flash
  • Qwen 3.7 Max
  • GPT 5.5
  • More Chat Models →

About Us

  • Privacy Policy
  • Terms of Service
  • Support
  • Enterprise

© 2026 ModelStream Inc. All rights reserved.

API Documentation
API Reference
Images
Generate Image

Generate Image

Loading models...
Q
Qwen-Image-Edit-Plus (qwen-image-edit-plus)
qwen-image-edit-plus0 models support this endpoint

The qwen series of image editing Plus models further optimizes inference performance and system stability based on the initial Edit model, significantly reducing the response time for image generation and editing. It also supports returning multiple images in a single request, greatly enhancing user experience. https://bailian.console.alibabacloud.com/cn-beijing?tab=model#/model-market/detail/qwen-image-edit-plus?serviceSite=asia-pacific-china

Generate image

https://api.modelstream.ai
POST/v1/images/generations

Authentication

BearerAuth
AuthenticationBearer <token>

All API requests must be authenticated using a Bearer token in the Authorization header. Please ensure your API key is active.Authorization: Bearer sk-xxxxxx

Parameter Location: Header Param

Request Body

application/json

These parameters come from the selected model form_schema. Switching models updates this list and the request example.

images*array

Supports uploading 1 to 3 images for editing and fusion. The aspect ratio of the output image is based on the last image.

RequiredExample Value: ["https://static.modelstream.ai/demo/qwen/qwen-image-edit.png"]Value Range: 0 ≤ value ≤ 3
prompt*string
RequiredExample Value: Placeholder: Describe the desired content, style, and composition in detail (max 800 characters)...
negative_prompt?string
Example Value: Placeholder: Describe content you do not want to see, e.g., low resolution, worst quality...
n?number

The number of images to output. Max 6 (base edit model supports 1).

Example Value: 1
size?string

Sets the resolution of the output image, e.g., 1024*1024. If empty, automatically determined based on input.

Example Value:
Enum/Options:
Auto: 1024 * 1024 (1:1): 1024*10241536 * 1536 (1:1): 1536*1536768 * 1152 (2:3): 768*11521024 * 1536 (2:3): 1024*15361152 * 768 (3:2): 1152*7681536 * 1024 (3:2): 1536*1024960 * 1280 (3:4): 960*12801080 * 1440 (3:4): 1080*14401280 * 960 (4:3): 1280*9601440 * 1080 (4:3): 1440*1080720 * 1280 (9:16): 720*12801080 * 1920 (9:16): 1080*19201280 * 720 (16:9): 1280*7201920 * 1080 (16:9): 1920*10801344 * 576 (21:9): 1344*5762048 * 872 (21:9): 2048*872
prompt_extend?boolean

When enabled, the model optimizes the prompt, significantly improving results for simple prompts.

Example Value: true
watermark?boolean

Adds a 'Qwen-Image' watermark to the bottom right of the image.

Example Value: false

Response Parameters

application/json
200apiDocs.responses.successGenerateImage
created?integer

Parameter description for Created

data?array

Parameter description for Data

curl -X POST "https://api.modelstream.ai/v1/images/generations" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "qwen-image-edit-plus",
  "input": {
    "messages": [
      {
        "role": "user",
        "content": [
          {
            "image": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/thtclx/input1.png"
          },
          {
            "image": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/iclsnx/input2.png"
          },
          {
            "image": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/gborgw/input3.png"
          },
          {
            "text": "The girl from Image 1 is wearing the black dress from Image 2 and sitting in the pose from Image 3. Keep her clothing, hairstyle, and expression unchanged, and make the action look natural and smooth."
          }
        ]
      }
    ]
  },
  "parameters": {
    "n": 2,
    "negative_prompt": "low resolution, error, worst quality, low quality, disfigured, extra fingers, or bad proportions",
    "prompt_extend": true,
    "watermark": false,
    "size": "1024*1536"
  }
}'
{
  "created": 0,
  "data": [
    {
      "url": "string",
      "b64_json": "string",
      "revised_prompt": "string"
    }
  ]
}