inference.wan2-7.txt2img.v1
Schema
Section titled “Schema”{ "type": "object", "required": [ "type", "config" ], "additionalProperties": false, "properties": { "type": { "type": "string", "enum": [ "inference.wan2-7.txt2img.v1" ] }, "config": { "type": "object", "required": [ "prompt" ], "additionalProperties": false, "properties": { "prompt": { "type": "string", "minLength": 1, "maxLength": 5000, "description": "Text description of the image to generate. Supports Chinese and English.", "examples": [ "A serene mountain landscape at sunset with vibrant colors" ] }, "size": { "type": "string", "default": "2K", "enum": [ "1K", "2K" ], "description": "Output image resolution. 1K≈1024×1024 total pixels, 2K≈2048×2048. Aspect ratio is square for text-only input." }, "thinking_mode": { "type": "boolean", "default": true, "description": "Enable thinking mode for improved image quality at the cost of longer generation time." }, "seed": { "type": "integer", "minimum": 0, "maximum": 2147483647, "description": "A randomness initializer for image reproducibility.", "examples": [ 42, 12345 ] } } } }}