Skip to content

inference.partner.wan2-6.img2img.v1

View markdown
{
"type": "object",
"required": [
"type",
"config"
],
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"config": {
"type": "object",
"required": [
"prompt"
],
"additionalProperties": false,
"properties": {
"prompt": {
"type": "string",
"minLength": 1,
"maxLength": 2000,
"description": "Text description of the desired image content, style, and composition based on input image(s).",
"examples": [
"Transform this image into a watercolor painting style"
]
},
"image": {
"type": "string",
"format": "filename",
"description": "Input reference image for editing or style transfer.",
"examples": [
"reference.png",
"input.jpg"
]
},
"negative_prompt": {
"type": "string",
"maxLength": 500,
"description": "Description of content you do not want in the image.",
"examples": [
"Low resolution, blurry, deformed"
]
},
"size": {
"type": "string",
"default": "1024*1024",
"description": "Output image resolution in width*height format.",
"examples": [
"1024*1024",
"1280*720",
"720*1280"
]
},
"n": {
"type": "integer",
"minimum": 1,
"maximum": 4,
"default": 1,
"description": "Number of images to generate (1-4)."
},
"seed": {
"type": "integer",
"minimum": 0,
"maximum": 2147483647,
"description": "A randomness initializer for image reproducibility.",
"examples": [
42,
12345
]
},
"prompt_extend": {
"type": "boolean",
"default": true,
"description": "Enable intelligent prompt rewriting for better results."
}
}
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}