# inference.seedream-4.img2img.v1

Source: https://docs.prodia.com/job-types/inference-seedream-4-img2img-v1/

## Schema

```json
{
	"type": "object",
	"required": [
		"type",
		"config"
	],
	"additionalProperties": false,
	"properties": {
		"type": {
			"type": "string",
			"enum": [
				"inference.seedream-4.img2img.v1"
			]
		},
		"config": {
			"type": "object",
			"required": [
				"prompt"
			],
			"additionalProperties": false,
			"properties": {
				"image": {
					"type": "string",
					"format": "filename",
					"example": "image.png",
					"description": "Set image to edit."
				},
				"prompt": {
					"type": "string",
					"minLength": 3,
					"maxLength": 4096,
					"default": "a dancing cat under moonlight",
					"description": "Description of desired output."
				},
				"width": {
					"type": "number",
					"minimum": 1024,
					"maximum": 4096,
					"default": 2048,
					"description": "Number of pixels wide."
				},
				"height": {
					"type": "number",
					"minimum": 1024,
					"maximum": 4096,
					"default": 2048,
					"description": "Number of pixels tall."
				},
				"watermark": {
					"type": "boolean",
					"default": false,
					"description": "When set to true a watermark is added indicating the output is AI generated."
				}
			}
		}
	}
}
```
