Skip to main content
Back to API Platform

Nano Banana Edit API

Google Nano Banana image editing — multi-image fusion + edit instruction with Standard/Pro/Pro-fal tiers and 1K/2K/4K resolution. Integrate this model via REST with endpoint docs, parameters, and code examples.

Image Generation
Img2Img
Credit Cost
3 credits
Type
image

API Endpoint

POST
/api/v1/models/google-nano-banana/run

Parameters

Input parameters accepted by this model

ParameterTypeDefault
prompt
required
string
-
image_input
array
-
modelTier
enum
pro
resolution
enum
2K
aspect_ratio
enum
1:1
output_format
enum
png

See also

Related endpoints on this model — you may need a different apiId for a different operation (e.g. image edit vs generation).

Example Outputs

Real outputs generated by this model

studio portrait of a golden retriever, soft beauty dish lighting, sharp focused eyes, neutral grey backdrop, professional pet photography, magazine cover quality
View Details

studio portrait of a golden retriever, soft beauty dish lighting, sharp focused eyes, neutral grey backdrop, professional pet photography, magazine cover quality

3 credits
34.3s
top-down flatlay of premium skincare bottles and wellness supplements on natural linen, soft daylight, editorial wellness aesthetic, clean negative space
View Details

top-down flatlay of premium skincare bottles and wellness supplements on natural linen, soft daylight, editorial wellness aesthetic, clean negative space

3 credits
32.2s
aerial photograph of a mediterranean coastal village, whitewashed buildings cascading down to a turquoise sea, fishing boats in the harbor, golden afternoon light, travel magazine cover
View Details

aerial photograph of a mediterranean coastal village, whitewashed buildings cascading down to a turquoise sea, fishing boats in the harbor, golden afternoon light, travel magazine cover

3 credits
48.7s
corporate portrait, three diverse co-founders in casual smart attire, modern startup office with exposed brick and warm wood, candid laughter, natural light through large windows
View Details

corporate portrait, three diverse co-founders in casual smart attire, modern startup office with exposed brick and warm wood, candid laughter, natural light through large windows

3 credits
36.1s
wide-angle real estate interior photograph, mid-century modern living room with floor-to-ceiling windows, warm natural light flooding in, listing-grade composition
View Details

wide-angle real estate interior photograph, mid-century modern living room with floor-to-ceiling windows, warm natural light flooding in, listing-grade composition

3 credits
36.4s
athlete mid-rep in a sun-streaked industrial gym, slight motion blur on movement, sweat detail on skin, dramatic backlight from window, fitness brand photography
View Details

athlete mid-rep in a sun-streaked industrial gym, slight motion blur on movement, sweat detail on skin, dramatic backlight from window, fitness brand photography

3 credits
37.2s
glossy magazine cover composition, bold typography placeholder, premium fashion editorial styling, color grade by Steven Meisel
View Details

glossy magazine cover composition, bold typography placeholder, premium fashion editorial styling, color grade by Steven Meisel

3 credits
53.5s
lifestyle brand photography, person enjoying their morning routine in a sunlit cafe, candid composition, photorealistic skin and texture
View Details

lifestyle brand photography, person enjoying their morning routine in a sunlit cafe, candid composition, photorealistic skin and texture

3 credits
110.9s
character reference sheet, same person across three poses: front view, profile, three-quarter, neutral grey background, consistent lighting, no text
View Details

character reference sheet, same person across three poses: front view, profile, three-quarter, neutral grey background, consistent lighting, no text

3 credits
39.4s
top-down flat lay photography, curated objects on a linen textured surface, soft daylight, editorial composition
View Details

top-down flat lay photography, curated objects on a linen textured surface, soft daylight, editorial composition

3 credits
33.6s
a thrilling action sequence of a woman trying to find her favorite candy. The candy wrapper is purple with a pixelated dragon and reads "Pixel Dojo". The woman says "Gotta have that pixel dojo candy. with over 60 ai tools, it's basically zero calories."
View Details

a thrilling action sequence of a woman trying to find her favorite candy. The candy wrapper is purple with a pixelated dragon and reads "Pixel Dojo". The woman says "Gotta have that pixel dojo candy. with over 60 ai tools, it's basically zero calories."

3 credits
40.2s
a thrilling action sequence of a woman trying to find her favorite candy. The candy wrapper is purple with a pixelated dragon and reads "Pixel Dojo". The woman says "Gotta have that pixel dojo candy. with over 60 ai tools, it's basically zero calories."
View Details

a thrilling action sequence of a woman trying to find her favorite candy. The candy wrapper is purple with a pixelated dragon and reads "Pixel Dojo". The woman says "Gotta have that pixel dojo candy. with over 60 ai tools, it's basically zero calories."

3 credits
44.1s

Code Examples

Copy and paste to get started

bash
curl -X POST "https://pixeldojo.ai/api/v1/models/google-nano-banana/run" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A beautiful mountain landscape at golden hour",
    "aspect_ratio": "1:1"
  }'

Response Format

Submit Response (202 Accepted)

json
{
  "jobId": "job_abc123...",
  "status": "pending",
  "statusUrl": "https://pixeldojo.ai/api/v1/jobs/job_abc123...",
  "creditCost": 3,
  "creditsRemaining": 95,
  "expiresAt": "2025-01-23T12:00:00Z"
}

Completed Response

json
{
  "jobId": "job_abc123...",
  "status": "completed",
  "output": {
    "images": [
      "https://temp.pixeldojo.ai/pixeldojotemp/1705930123-456789.png"
    ]
  },
  "creditCost": 3,
  "expiresAt": "2025-01-23T12:00:00Z"
}