Image to Image
Description
Connection
Name
Description
Required
Category
Input Schema
{
"description": "Image to image node input.",
"properties": {
"source_image": {
"description": "The image to use as the source for the image to image generation.",
"title": "Source Image",
"type": "string"
},
"prompt": {
"description": "What you wish to see in the output image. A strong, descriptive prompt that clearly defines elements, colors, and subjects will lead to better results.",
"title": "Prompt",
"type": "string"
},
"prompt_2": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "A second prompt to guide the image generation.",
"title": "Prompt 2"
},
"negative_prompt": {
"description": "A blurb of text describing what you do not wish to see in the output image.",
"title": "Negative Prompt",
"type": "string"
},
"guidance_scale": {
"default": 7.5,
"description": "The guidance scale of the generated image.",
"exclusiveMinimum": 0,
"maximum": 15,
"title": "Guidance scale",
"type": "number"
},
"image_guidance_scale": {
"default": 1.5,
"description": "The guidance scale of the generated image.",
"exclusiveMinimum": 0,
"maximum": 15,
"title": "Image Guidance Scale",
"type": "number"
},
"strength": {
"default": 0.8,
"description": "The strength of the source image.",
"exclusiveMinimum": 0,
"maximum": 1,
"title": "Strength",
"type": "number"
},
"steps": {
"default": 20,
"description": "The number of steps to take in the generated image.",
"exclusiveMinimum": 0,
"maximum": 50,
"title": "Steps",
"type": "integer"
},
"batch_size": {
"default": 1,
"description": "The number of images to generate in a batch.",
"exclusiveMinimum": 0,
"maximum": 8,
"title": "Batch size",
"type": "integer"
},
"seed": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "The seed to use for the generated image.",
"title": "Seed"
},
"width": {
"default": 0,
"description": "The width of the generated image.",
"title": "Width",
"type": "integer"
},
"height": {
"default": 0,
"description": "The height of the generated image.",
"title": "Height",
"type": "integer"
}
},
"required": [
"source_image",
"prompt",
"negative_prompt"
],
"title": "ImageToImageNodeInput",
"type": "object"
}Output Schema
How It Works
Usage Examples
Example 1: Style Transfer on Product Photo
Example 2: Artistic Transformation
Example 3: Image Enhancement with Consistency
Common Use Cases
Error Handling
Error Type
Cause
Solution
Notes
Last updated