Skip to content

inference.wan2-7.img2img.v1

{
"type": "object",
"required": [
"type",
"config"
],
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"enum": [
"inference.wan2-7.img2img.v1"
]
},
"config": {
"type": "object",
"required": [
"prompt"
],
"additionalProperties": false,
"properties": {
"prompt": {
"type": "string",
"minLength": 1,
"maxLength": 5000,
"description": "Text description of the desired edits or style changes to apply to the input image. Supports Chinese and English.",
"examples": [
"Transform this image into a watercolor painting style"
]
},
"image": {
"type": "string",
"format": "filename",
"description": "Input image to edit or use as a reference.",
"examples": [
"reference.png",
"input.jpg"
]
},
"size": {
"type": "string",
"default": "2K",
"enum": [
"1K",
"2K"
],
"description": "Output image resolution. 1K≈1024×1024 total pixels, 2K≈2048×2048. Output aspect ratio matches the input image."
},
"seed": {
"type": "integer",
"minimum": 0,
"maximum": 2147483647,
"description": "A randomness initializer for image reproducibility.",
"examples": [
42,
12345
]
}
}
}
}
}