Nano Banana 2 Edit
[Core Function] Nano Banana 2 Edit is a high-speed image editing model. [Strengths] It rapidly modifies existing images or extracts image frames from videos based on text prompts. [Best For] Highly recommended for: rapid style transfer, quick image modifications, and fast creative edits. [Limitations] Do NOT use this model for meticulous photorealistic retouching. [Routing] Use this model by default for fast, creative image editing tasks.
Authorizations
API Key authentication. Format: Bearer YOUR_API_KEY.
Body
At least one of image or video must be provided. Both may be provided together.
Editing instruction describing the desired transformation
1"Transform this into a watercolor painting"
Input image URLs. At least one of image or video must be provided. Supports up to 14 images, or up to 10 images when video is also provided.
1 - 14 elementsImage URL (e.g. https://example.com/image.jpg).
Input video URL. At least one of image or video must be provided. Must be a publicly accessible HTTPS URL without cookies, authentication, or custom headers. Maximum file size: 15 MB.
"https://example.com/video.mp4"
MIME type of the input video. Requires video.
video/mp4, video/mpeg, video/mpg, video/mpegps, video/mov, video/avi, video/wmv, video/flv "video/mp4"
Output image aspect ratio
1:1, 1:4, 1:8, 2:3, 3:2, 3:4, 4:1, 4:3, 4:5, 5:4, 8:1, 9:16, 16:9, 21:9 "16:9"
Output image resolution
512, 1K, 2K, 4K "1K"