Seedance 2.0 −15 % | Créez dans le Video Generator →

Google Nano Banana Lite Edit API

google /

Google Nano Banana Lite Edit transforms uploaded images with text instructions, supporting fast prompt-guided image editing, visual refinements, and creative changes with low latency. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

image-to-image
Entrée

Glisser-déposer ou cliquer pour téléverser

preview

En attente

Transform this portrait into a cinematic post-apocalyptic survivor poster. Keep the woman's face, identity, pose, and jacket structure consistent. Add dust and subtle scratches on her face, change the background into a ruined city street with smoke, broken buildings, orange sunset light, and a red emergency flare glow from one side. Make her expression determined and emotional. Realistic cinematic lighting, gritty survival atmosphere, no gore, no face distortion.

$0.035par exécution·~28 / $1

Suivant :

ExemplesTout voir

Transform this portrait into a cinematic post-apocalyptic survivor poster. Keep the woman's face, identity, pose, and jacket structure consistent. Add dust and subtle scratches on her face, change the background into a ruined city street with smoke, broken buildings, orange sunset light, and a red emergency flare glow from one side. Make her expression determined and emotional. Realistic cinematic lighting, gritty survival atmosphere, no gore, no face distortion.

Transform this portrait into a cinematic post-apocalyptic survivor poster. Keep the woman's face, identity, pose, and jacket structure consistent. Add dust and subtle scratches on her face, change the background into a ruined city street with smoke, broken buildings, orange sunset light, and a red emergency flare glow from one side. Make her expression determined and emotional. Realistic cinematic lighting, gritty survival atmosphere, no gore, no face distortion.

Modèles associés

README

Google Nano Banana Lite Edit

Google Nano Banana Lite Edit transforms uploaded images using natural-language instructions with a fast, lightweight image editing model. Upload one or more images, describe the edit you want, choose an output size and format, and receive the edited image URL in the standard WaveSpeed prediction response.

Why Choose This?

  • Instruction-based image editing
    Edit input images by describing the desired change in natural language.

  • Multiple image references
    Provide one or more images to guide the edit workflow.

  • Flexible aspect ratios
    Choose common square, portrait, landscape, and wide-format aspect ratio presets.

  • Simple editing controls
    The public form focuses on images, prompt, size, and output_format.

  • Single-image output
    Each request generates one edited image for predictable cost and behavior.

Parameters

ParameterRequiredDescription
imagesYesInput image URLs for editing.
promptYesEdit instruction describing how to transform the input image.
sizeNoOutput aspect ratio preset. Default: auto.
output_formatNoOutput image format: png, jpeg, or webp. Default: png.

How to Use

  1. Upload images — Provide one or more input images for editing.
  2. Write your edit prompt — Describe what should change and what should stay the same.
  3. Choose output size — Use auto or select a specific aspect ratio preset.
  4. Choose output format — Select png, jpeg, or webp depending on your workflow.
  5. Submit — Generate the edited image and retrieve the output URL.

Pricing

Output ImagesPrice
1$0.035

Best Use Cases

  • Photo editing — Change backgrounds, style, lighting, mood, or visual details.
  • Product visuals — Refine source assets for marketing, ecommerce, and product presentation.
  • Creative iteration — Try different edit prompts on the same source images.
  • Reference-based edits — Use multiple uploaded images as references for more guided edits.
  • Content production — Generate polished edited assets for social media, campaigns, thumbnails, and design workflows.

Pro Tips

  • Use clear edit instructions that describe both what should change and what should remain unchanged.
  • Upload sharp images with the main subject clearly visible.
  • Use multiple images when you need stronger reference guidance.
  • Use auto when you want the model to infer the best output ratio from the input and prompt.
  • Use png for higher-quality general output.
  • Use jpeg for smaller file sizes.
  • Use webp for web-friendly image output.
Accessibilité :Ce site utilise des modèles d'IA fournis par des tiers.

Nano Banana Lite Edit API — Quick start

Grab a WaveSpeedAI API key, then call POST https://api.wavespeed.ai/api/v3/google/nano-banana-lite/edit with your input as JSON. The endpoint returns a prediction id; poll the prediction endpoint until status flips to completed, then read the output URL from data.outputs[0]. Examples for Nano Banana Lite Edit below.

HTTP example
# Submit the prediction
curl -X POST "https://api.wavespeed.ai/api/v3/google/nano-banana-lite/edit" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $WAVESPEED_API_KEY" \
  -d '{
    "prompt": "A cinematic shot of a city at sunset, soft golden light",
    "size": "auto",
    "output_format": "png"
}'

# Response includes a prediction id. Poll for the result:
curl -X GET "https://api.wavespeed.ai/api/v3/predictions/{request_id}/result" \
  -H "Authorization: Bearer $WAVESPEED_API_KEY"

# When status is "completed", read the output from data.outputs[0].
Node.js example
// npm install wavespeed
const WaveSpeed = require('wavespeed');

const client = new WaveSpeed(); // reads WAVESPEED_API_KEY from env

const result = await client.run("google/nano-banana-lite/edit", {
        "prompt": "A cinematic shot of a city at sunset, soft golden light",
        "size": "auto",
        "output_format": "png"
});

console.log(result.outputs[0]); // → URL of the generated output
Python example
# pip install wavespeed
import wavespeed

output = wavespeed.run(
    "google/nano-banana-lite/edit",
    {
    "prompt": "A cinematic shot of a city at sunset, soft golden light",
    "size": "auto",
    "output_format": "png"
}
)

print(output["outputs"][0])  # → URL of the generated output

Nano Banana Lite Edit API — Frequently asked questions

What is the Nano Banana Lite Edit API?

Nano Banana Lite Edit is a Google model for image editing, exposed as a REST API on WaveSpeedAI. Google Nano Banana Lite Edit transforms uploaded images with text instructions, supporting fast prompt-guided image editing, visual refinements, and creative changes with low latency. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.

How do I call the Nano Banana Lite Edit API?

POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your WaveSpeedAI API key in the Authorization header. Submission returns a prediction ID; poll the prediction endpoint until status flips to "completed", then read the output URL from the result. The playground generates a ready-to-paste code sample in Python, JavaScript, or cURL for whatever inputs you've set. Full request/response shape is documented at https://wavespeed.ai/docs/docs-api/google/google-nano-banana-lite-edit.

How much does Nano Banana Lite Edit cost per run?

Nano Banana Lite Edit starts at $0.035 per run. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.

What inputs does Nano Banana Lite Edit accept?

Key inputs: `prompt`, `images`, `size`, `output_format`. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at https://wavespeed.ai/docs/docs-api/google/google-nano-banana-lite-edit.

How do I get started with the Nano Banana Lite Edit API?

Sign up for a free WaveSpeedAI account to claim starter credits, copy your API key from /accesskey, then call the endpoint shown in the API tab of the playground. The playground also auto-generates a code sample in Python, JavaScript, or cURL for the parameters you've set.

Can I use Nano Banana Lite Edit outputs commercially?

Commercial usage rights depend on the model's license, set by its provider (Google). The license summary appears on the model card above; see WaveSpeedAI's Terms of Service for platform-level conditions.