Wan 2.7 Image Edit is a prompt-driven image editing model supporting 1-9 reference images. Describe edits in natural language while preserving composition, subject identity, and structure. Ideal for fashion editing, background replacement, product retouching, and creative iteration.
Request
Authorization
Header Params
Body Params application/jsonRequired
Example
{"imageUrls":["https://www.runninghub.cn/view?filename=e0911c83c26ceafa86272c21dd0f85e3ad574d10977b6757278d1f9bdca63f3d.png&type=input&subfolder=&Rh-Comfy-Auth=eyJ1c2VySWQiOiIzZjY1MTNlNWEwNjY1N2I4OGYyNjU5NTEzYmU3ZDM0YyIsInNpZ25FeHBpcmUiOjE3NzU3OTE3OTYxNjgsInRzIjoxNzc1MTg2OTk2MTY4LCJzaWduIjoiOWY2NGM3ZDQ3NThmOTViMzBlMDA1MzNhMGU0ODY3NDYifQ==&Rh-Identify=3f6513e5a06657b88f2659513be7d34c&rand=0.4226927119997568"],"prompt":"Change the bamboo forest behind the characters to a more realistic bamboo forest effect, making the whole image more realistic, lifelike, and in a photographic style.","width":1024,"height":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--request POST 'https://www.runninghub.ai/openapi/v2/alibaba/wan-2.7/image-edit' \
--header'Authorization: Bearer [Your API KEY]' \
--header'Authorization: Bearer [Your API KEY]' \
--header'Content-Type: application/json' \
--data-raw'{
"imageUrls": [
"https://www.runninghub.cn/view?filename=e0911c83c26ceafa86272c21dd0f85e3ad574d10977b6757278d1f9bdca63f3d.png&type=input&subfolder=&Rh-Comfy-Auth=eyJ1c2VySWQiOiIzZjY1MTNlNWEwNjY1N2I4OGYyNjU5NTEzYmU3ZDM0YyIsInNpZ25FeHBpcmUiOjE3NzU3OTE3OTYxNjgsInRzIjoxNzc1MTg2OTk2MTY4LCJzaWduIjoiOWY2NGM3ZDQ3NThmOTViMzBlMDA1MzNhMGU0ODY3NDYifQ==&Rh-Identify=3f6513e5a06657b88f2659513be7d34c&rand=0.4226927119997568"
],
"prompt": "Change the bamboo forest behind the characters to a more realistic bamboo forest effect, making the whole image more realistic, lifelike, and in a photographic style.",
"width": 1024,
"height": 1024
}'