Smart Resize API
Recompose an image for several target sizes instead of cropping it
About this model
Smart Resize adapts one image to several target dimensions. Rather than cropping or stretching, it rebuilds the composition for each size; it is described as using Nano Banana Pro with vision-language-model-guided prompting for composition-aware recomposition.
You list the sizes you need and get one image per size plus a text description of the source image. Because the picture is regenerated, small details may differ from the original; for a pure canvas extension keep the original untouched with Image Outpaint.
Limits: up to 16 images per request, up to 4 per size.
Use cases
- Adapting an ad to several social formats
- Making banner variants from one picture
- Resizing a poster without awkward crops
Input and output
- Input
- Image + list of target sizes
- Output
- One image per target size, plus a scene description
Developer
Pipeline built on Google Nano Banana Pro
Official site of Pipeline built on Google Nano Banana Pro- Developer
- Utilities
- Type
- Predictions
Smart Resize request example
This model type has a request format of its own; see the API documentation for details.