API Market
GooglePopularNew
Nano Banana 2 API
Edit images by telling it what to change
Best-in-class at targeted edits — swap a background, change wardrobe, keep the face — across multiple turns.
Text to imageImage editingMulti-reference2K
Quickstart
Authenticate with a bearer token from your dashboard, then POST the request below.
curl -X POST https://api.viddly.io/v1/images/generations \
-H "Authorization: Bearer $VIDDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nano-banana-2",
"prompt": "a lighthouse in a storm, drone orbit, dusk",
"size": "1024x1024",
"num_images": 1
}'Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| prompt* | text | — | What to generate. Describe subject, action, camera and lighting. |
| image_url | image | — | Optional reference or first-frame image. Publicly reachable URL. |
| size | enum1024x1024 | 1536x1024 | 1024x1536 | 2048x2048 | 1024x1024 | Output dimensions. |
| num_images | number | 1 | How many images to return (1–4). |
| seed | number | — | Fix for reproducible results. |
Similar models
Black Forest LabsHD
Black Forest Labs
Flux 2 Pro
Text to ImageImage to Image
Photoreal stills with reliable typography
Try it$0.060 / image~12s
Black Forest LabsBest price
Black Forest Labs
Flux 2 Flex
Text to ImageImage to Image
Draft-speed Flux for high-volume pipelines
Try it$0.020 / image~4s
Black Forest Labs
Black Forest Labs
Flux 2 Kontext
Image EditingImage to Image
Instruction-based editing that preserves identity
Try it$0.050 / image~10s


