Skip to content

inference.nano-banana.img2img.v2

{
"type": "object",
"required": [
"type",
"config"
],
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"enum": [
"inference.nano-banana.img2img.v2"
]
},
"config": {
"type": "object",
"additionalProperties": false,
"required": [
"prompt"
],
"properties": {
"images": {
"type": "array",
"minItems": 1,
"maxItems": 3,
"items": {
"type": "string",
"format": "filename",
"example": "input.png",
"description": "The filename of the input image."
},
"description": "Provide an image and use text prompts to add, remove, or modify elements, change the style, or adjust the color grading. Use multiple input images to compose a new scene or transfer the style from one image to another."
},
"prompt": {
"type": "string",
"minLength": 0,
"maxLength": 2500,
"examples": [
"puppies in a cloud, 4k"
],
"description": "A description of the desired output."
},
"aspect_ratio": {
"type": "string",
"default": "auto",
"enum": [
"auto",
"1:1",
"2:3",
"3:2",
"3:4",
"4:3",
"9:16",
"16:9",
"21:9"
],
"description": "Aspect ratio of output."
},
"include_messages": {
"type": "boolean",
"default": false,
"description": "Enable to include the model's messages in the output as message.txt files."
}
}
}
}
}