edit_asset
Edit existing images with precise instructions for lighting, focus, camera changes, and localized adjustments while preserving specified elements.
Instructions
Edit an existing asset with fine-grained controls. Supports localized edits, lighting adjustments, focus changes, camera transformations, and more using Nano Banana Pro's advanced editing capabilities.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resolution | No | Target resolution if upscaling/downscaling needed | |
| aspectRatio | No | Target aspect ratio if different from source | |
| sourceImage | Yes | Source image URL or base64-encoded data URL to edit | |
| editInstructions | Yes | Detailed editing instructions (e.g., 'Adjust lighting to be warmer, increase contrast, blur background') | |
| preserveElements | No | Elements to preserve during editing (e.g., ['logo', 'text', 'main-subject']) |