# inference.nano-banana.txt2img.v2

Source: https://docs.prodia.com/job-types/inference-nano-banana-txt2img-v2/

## Schema

```json
{
	"type": "object",
	"required": [
		"type",
		"config"
	],
	"additionalProperties": false,
	"properties": {
		"type": {
			"type": "string",
			"enum": [
				"inference.nano-banana.txt2img.v2"
			]
		},
		"config": {
			"type": "object",
			"additionalProperties": false,
			"required": [
				"prompt"
			],
			"properties": {
				"prompt": {
					"type": "string",
					"minLength": 1,
					"maxLength": 2500,
					"examples": [
						"puppies in a cloud, 4k"
					],
					"description": "A description of the desired output image."
				},
				"aspect_ratio": {
					"type": "string",
					"default": "1:1",
					"enum": [
						"1:1",
						"2:3",
						"3:2",
						"3:4",
						"4:3",
						"4:5",
						"5:4",
						"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."
				}
			}
		}
	}
}
```
