generate_variations
Generate multiple distinct variations of an existing image, with control over variation strength, aspect ratio, and resolution.
Instructions
Generate variations of an existing image
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of variations to generate (1-5) | |
| model | No | Model to use: gemini-3.1-flash-image-preview (Nano Banana 2, recommended) or gemini-3-pro-image-preview (Nano Banana Pro) | |
| config | No | Advanced generation configuration | |
| imageData | No | Base64 encoded reference image | |
| imagePath | No | Path to the reference image | |
| outputDir | No | Directory to save the variations | |
| resolution | No | Output resolution: 0.5K (512px, 3.1 Flash only), 1K (default), 2K, or 4K | |
| aspectRatio | No | Aspect ratio for the generated variations (optional) | |
| variationStrength | No | How different the variations should be | moderate |