Image model API
Nano Banana Pro Edit API
fal-ai/nano-banana-pro/edit is a fast and efficient AI-powered image editing model designed to modify and enhance existing images using natural language instructions. It enables users to perform precise visual edits—such as changing objects, adjusting styles, modifying backgrounds, or improving image details—while preserving the overall structure and composition of the original image. Optimized for speed and quality, this model allows creators, designers, and developers to quickly transform images with minimal effort, making it ideal for rapid creative workflows and automated visual editing p
- Model id
nano-banana-pro-edit- Takes
- Text (optional) + Image (required, up to 14)
- Makes
- Image
- Endpoint
POST /api/v1/images/generations- Made by
- Mode
- Synchronous
Call Nano Banana Pro Edit
https://payload.rentprompts.com/api/v1. Replace the placeholder with your key.Model nano-banana-pro-edit
POST /api/v1/images/generations
curl https://payload.rentprompts.com/api/v1/images/generations \
-H "Authorization: Bearer rp_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nano-banana-pro-edit",
"prompt": "A lighthouse at dusk, watercolor",
"n": 1
}'Replace rp_live_YOUR_KEY with your key, ideally via the RENTPROMPTS_API_KEY environment variable. Keys are shown only once, so they are never filled in here. Get your API key →
What a typical call costs
- 1 image15.2 Joules
- 4 images60.8 Joules
Send requests to POST /api/v1/images/generations. Nano Banana Pro Edit answers synchronously: the result comes back in the response to the same request.