JUHE API Marketplace

AI Product Photography with Nano Banana 2: Generate Studio-Quality E-Commerce Images for $0.058 Each

7 min read
By Chloe Anderson

Product photography is one of the hidden costs that eats into e-commerce margins fast. What if you could generate studio-quality images — backgrounds swapped, color variants created, products perfectly lit — for just $0.058 each? That's exactly what Nano Banana 2 on WisGate makes possible. Discover how to cut your product photography budget dramatically and ship images faster, without hiring a photographer or opening Photoshop.

Why Traditional Product Photography Is Costly and Complex

Shoot a single product the traditional way and you're already looking at $10 to $50 per image — and that's before you factor in reshoots, background edits, or color variants. For a catalog of 200 SKUs, that bill can climb past $10,000 quickly. Most small e-commerce teams can't absorb that kind of expense, especially when product lines change seasonally.

The alternative — doing it yourself with software like Photoshop — sounds appealing until you realize how steep the learning curve actually is. Background removal, color grading, shadow creation, and compositing are skills that take months to develop. Even then, consistency across hundreds of product images is hard to maintain when you're doing everything manually.

There's also the time dimension. Traditional photography requires scheduling studio time, setting up lighting rigs, coordinating with a photographer, and then waiting for post-production. A batch of 50 images can take days or even weeks from shoot to published page. For fast-moving e-commerce businesses, that lag is a real problem.

The tools available to non-experts haven't helped much either. Most AI image editors on the market still require you to understand masking, layer management, or prompt engineering at an advanced level. The barrier to entry remains high, and the output quality is often inconsistent across a product catalog.

What e-commerce teams actually need is a straightforward AI image generation solution that produces consistent, high-quality results at a price that makes sense at scale — without demanding Photoshop expertise or a professional photography budget.

How Nano Banana 2 Lowers Costs with AI Image Generation and Editing

Nano Banana 2 is an AI image generation and editing model available through WisGate's API platform. It handles the full workflow that product photographers typically charge premium rates for: generating product renders from text descriptions, removing and replacing backgrounds, and creating color variants from a single source image.

Text-to-image generation means you describe your product scene in plain language and the model produces a photorealistic render. You don't need a physical product sample on hand, a studio setup, or lighting equipment. Write a prompt, call the API, and receive a polished image in roughly 20 seconds.

Background removal is one of the most time-consuming tasks in traditional product photography post-production. With Nano Banana 2, you can describe the background you want replaced — a clean white studio background, a lifestyle setting, or a branded environment — and the model handles the substitution automatically.

Color variant generation is equally valuable. E-commerce listings often require the same product shown in four, six, or eight color options. Instead of photographing each variant separately, you generate all of them from a single reference image, maintaining consistent angles, lighting, and composition across every color.

All of this runs through WisGate's API, which means you integrate it directly into your existing product pipeline. No manual uploads, no browser-based editing tools, no waiting on a third-party service. Your pipeline requests an image, the model generates it, and the output is ready for your product listing.

Key Technical Specs and Pricing Details

Here are the specifics you need before building:

  • Model name: Nano Banana 2
  • API model ID: gemini-3-pro-image-preview
  • Pricing on WisGate: $0.058 per image
  • Official rate: $0.068 per image — WisGate provides the same stable output quality at a lower rate
  • Generation speed: consistent 20 seconds per image, from 0.5k to 4k base64 output
  • Supported image sizes: 2K (configurable via imageSize parameter)
  • Supported aspect ratios: configurable via aspectRatio parameter (e.g., "1:1")
  • Output format: base64-encoded inline image data via the inlineData field in the API response
  • API endpoint: https://wisgate.ai/v1beta/models/gemini-3-pro-image-preview:generateContent

The consistent 20-second generation time holds across resolution options from 0.5k through 4k base64 outputs. That predictability matters when you're building an automated pipeline — you can set timeouts and retry logic with confidence.

Getting Started: A 10-Line Python Example to Generate Product Images

The WisGate API follows a familiar request format. Here's a working curl command that calls Nano Banana 2 directly, generates an image, and saves it to disk:

curl -s -X POST \
  "https://wisgate.ai/v1beta/models/gemini-3-pro-image-preview:generateContent" \
  -H "x-goog-api-key: $WISDOM_GATE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contents": [{
      "parts": [{
        "text": "Da Vinci style anatomical sketch of a dissected Monarch butterfly. Detailed drawings of the head, wings, and legs on textured parchment with notes in English."
      }]
    }],
    "tools": [{"google_search": {}}],
    "generationConfig": {
      "responseModalities": ["TEXT", "IMAGE"],
      "imageConfig": {
        "aspectRatio": "1:1",
        "imageSize": "2K"
      }
    }
  }' | jq -r '.candidates[0].content.parts[] | select(.inlineData) | .inlineData.data' | head -1 | base64 --decode > butterfly.png

To adapt this for a product photography use case, replace the text value with a product-specific prompt (see the next section for ready-to-use templates). Set your WISDOM_GATE_KEY environment variable to your WisGate API key, which you get when you sign up at https://wisgate.ai/.

The response pipes through jq to extract the base64 image data from the inlineData field, decodes it, and writes it to a PNG file. You can slot this same logic into a Python script using subprocess or replicate the HTTP call directly with the requests library and the base64 module.

For visual experimentation and testing prompts before committing to API calls, use WisGate's AI Studio at https://wisgate.ai/studio/image. It gives you a browser-based interface to the same Nano Banana 2 model, so you can iterate on your prompt visually before integrating into your pipeline.

Prompt Templates for Effective Product Photography

Prompt quality directly affects output quality. Here are three copy-ready templates for common product photography use cases:

Template 1 — Clean product render:

Studio product photography of a [product name] on a clean white background, soft diffused lighting, sharp focus, no shadows, photorealistic, 4K quality, e-commerce ready.

Template 2 — Background removal and replacement:

[Product name] placed on [new background description, e.g., "a matte grey studio surface with subtle gradient"], professional product lighting, isolated subject, no distractions, commercial photography style.

Template 3 — Color variant generation:

Same [product name] in [target color], identical angle and lighting as the reference image, consistent shadows and reflections, photorealistic, white background, e-commerce product shot.

For best results, be specific about the product type, material finish, lighting direction, and background. The more concrete your description, the more consistent the output across a batch of images.

Next Steps and How to Try WisGate's Nano Banana 2

Getting started takes less than five minutes. Head to https://wisgate.ai/ to create your account and get your API key. Once you're signed in, you can explore the full model catalog at https://wisgate.ai/models to confirm Nano Banana 2 availability and current pricing.

Before writing a single line of code, test your product prompts visually using WisGate's AI Studio at https://wisgate.ai/studio/image. The studio gives you instant feedback on how your prompts translate to images, so you can refine your templates before automating anything.

When you're ready to build, use the API endpoint at https://wisgate.ai/v1beta/models/gemini-3-pro-image-preview:generateContent with the curl command from this article as your starting point. Swap in your product prompts, set your image size to 2K and your aspect ratio to match your platform's requirements, and start generating.

At $0.058 per image on WisGate — below the official $0.068 rate — you can generate hundreds of product images for the cost of a single traditional shoot. Build faster. Spend less. Start your free trial at https://wisgate.ai/ today and generate your first batch of studio-quality e-commerce product images with Nano Banana 2.

AI Product Photography with Nano Banana 2: Generate Studio-Quality E-Commerce Images for $0.058 Each | JuheAPI