Skip to content

inference.wan2-1.lightning.txt2img.v1

{
"type": "object",
"required": [
"type",
"config"
],
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"enum": [
"inference.wan2-1.lightning.txt2img.v1"
]
},
"config": {
"type": "object",
"required": [
"prompt"
],
"additionalProperties": false,
"properties": {
"prompt": {
"type": "string",
"minLength": 1,
"maxLength": 2500,
"examples": [
"A photorealistic landscape: a quiet mountain lake at sunrise."
],
"description": "Text description of the image to generate."
},
"seed": {
"type": "integer",
"examples": [
42,
531286735183442
],
"description": "A randomness initializer for image reproducibility."
},
"width": {
"type": "integer",
"default": 1024,
"minimum": 256,
"maximum": 2048,
"examples": [
1024,
1280,
1536
],
"description": "Requested output width in pixels. Inference runs at the closest pre-compiled FP8-safe production resolution; the output is then resampled to the requested size."
},
"height": {
"type": "integer",
"default": 1024,
"minimum": 256,
"maximum": 2048,
"examples": [
1024,
720,
1920
],
"description": "Requested output height in pixels."
},
"steps": {
"type": "integer",
"default": 20,
"minimum": 1,
"maximum": 50,
"description": "Number of denoising steps."
},
"guidance_scale": {
"type": "number",
"default": 5,
"minimum": 1,
"maximum": 12,
"description": "Classifier-free guidance scale."
}
}
}
}
}