curl --location --request POST 'https://router.shengsuanyun.com/api/v1/images/edits' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "ali/qwen-image-edit",
"prompt": "将图中的人物改为趴姿势,伸手握住狗的前爪",
"image": "https://dashscope.oss-cn-beijing.aliyuncs.com/images/dog_and_girl.jpeg",
"negative_prompt": "",
"watermark": false,
"seed": 1
}'
{
"output": {
"choices": [
{
"finish_reason": "stop",
"message": {
"role": "assistant",
"content": [
{
"image": "https://****"
}
]
}
}
]
},
"usage": {
"width": 1248,
"image_count": 1,
"height": 832
},
"request_id": "12bc3915-4e9d-9d84-83b8-584fd54c8194"
}