# inference.qwen.image-edit.plus.lightning.img2img.v1

Source: https://docs.prodia.com/job-types/inference-qwen-image-edit-plus-lightning-img2img-v1/

## Schema

```json
{
	"type": "object",
	"required": [
		"type",
		"config"
	],
	"additionalProperties": false,
	"properties": {
		"type": {
			"type": "string",
			"enum": [
				"inference.qwen.image-edit.plus.lightning.img2img.v1"
			]
		},
		"config": {
			"type": "object",
			"required": [
				"prompt"
			],
			"additionalProperties": false,
			"properties": {
				"images": {
					"type": "array",
					"minItems": 1,
					"maxItems": 3,
					"items": {
						"type": "string",
						"format": "filename",
						"example": "input.png",
						"description": "The filename of the input image."
					},
					"description": "It supports various combinations such as 'person + person', 'person + product', and 'person + scene'. Optimal performance is currently achieved with 1 to 3 input images."
				},
				"prompt": {
					"type": "string",
					"minLength": 3,
					"maxLength": 4096,
					"examples": [
						"puppies in a cloud, 4k"
					],
					"description": "A description of the desired output."
				},
				"style_preset": {
					"type": "string",
					"enum": [
						"3d-model",
						"analog-film",
						"anime",
						"cinematic",
						"comic-book",
						"digital-art",
						"enhance",
						"fantasy-art",
						"isometric",
						"line-art",
						"low-poly",
						"neon-punk",
						"origami",
						"photographic",
						"pixel-art",
						"texture",
						"craft-clay"
					],
					"description": "Style preset applies a common style to your prompt."
				},
				"steps": {
					"type": "integer",
					"default": 8,
					"minimum": 8,
					"maximum": 8,
					"description": "Amount of computational iterations to run. More is typically higher quality."
				},
				"seed": {
					"type": "integer",
					"examples": [
						42,
						531286735183442
					],
					"description": "A randomness initializer for image reproducibility."
				},
				"width": {
					"type": "number",
					"minimum": 256,
					"maximum": 2048,
					"description": "Width of the output image in pixels."
				},
				"height": {
					"type": "number",
					"minimum": 256,
					"maximum": 2048,
					"description": "Height of the output image in pixels."
				}
			}
		}
	}
}
```
