header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/jsonRequired
Example
{"model":"qwen-image-edit-plus","input":{"messages":[{"role":"user","content":[{"image":"https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/fpakfo/image36.webp"},{"text":"Generate an image that conforms to the depth map, following the description below: A rusty red bicycle is parked on a muddy path, with the background being a dense primeval forest."}]}]},"parameters":{"n":1,"negative_prompt":" ","prompt_extend":true,"watermark":false,"size":"1536*1024"}}
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location'https://www.aiide.com/v1/images/generations' \
--header'Authorization: Bearer <token>' \
--header'Content-Type: application/json' \
--data'{
"model": "qwen-image-edit-plus",
"input": {
"messages": [
{
"role": "user",
"content": [
{
"image": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/fpakfo/image36.webp"
},
{
"text": "Generate an image that conforms to the depth map, following the description below: A rusty red bicycle is parked on a muddy path, with the background being a dense primeval forest."
}
]
}
]
},
"parameters": {
"n": 1,
"negative_prompt": " ",
"prompt_extend": true,
"watermark": false,
"size": "1536*1024"
}
}'