Ship a Full-Stack App with One Prompt

Copy this prompt into your AI coding agent, or open it in one below.

Give this to your AI Create a to-do list app using Puter.js

Coding manually? see the guide

Google: Gemini 2.5 Flash Image

google/gemini-2.5-flash-image

Access Gemini 2.5 Flash Image from Google using the Puter.js AI API.

Add to your app

Model Card

Gemini 2.5 Flash Image (codenamed Nano Banana) is Google's state-of-the-art multimodal model for fast, conversational image generation and editing with low latency. It maintains character consistency across prompts, enables precise local edits via natural language, and supports multi-image composition and fusion.

Cost Per Image $0.039

per generation

Configuration 1x1

resolution

Release Date Apr 17, 2025

 

Add Gemini 2.5 Flash Image to your app

Use Gemini 2.5 Flash Image in your app with the Puter.js AI API, no API keys or setup required.

// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';

puter.ai.txt2img("A serene mountain landscape at sunset", {
    model: "google/gemini-2.5-flash-image"
}).then(image => {
    document.body.appendChild(image);
});
<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.txt2img("A serene mountain landscape at sunset", {
            model: "google/gemini-2.5-flash-image"
        }).then(image => {
            document.body.appendChild(image);
        });
    </script>
</body>
</html>

More AI Models From Google

Find other Google models →

Chat

Gemini 4 Argon

Gemini 4 Argon is Google's flagship Gemini 4 model, announced by Google DeepMind on September 30, 2026. It is aimed at long, multi-step software engineering, legal and finance work, and defensive cybersecurity. Google reports 77.9% on DeepSWE v1.1 (Claude Opus 5.5 74.2%, GPT-6 Astra 74.1%) and 19.6% on Harvey's Legal Agent Benchmark. It trails Opus 5.5 on Terminal-bench 4.0 (57.4% vs 66.4%) and GPT-6 Astra on FrontierSWE v2 (55.0% vs 65.5%). Vals.ai places it first on the Vals Index at 68.9%. Introductory pricing is $2 per million input tokens and $10 per million output tokens, rising to $4 and $20 later. It suits teams running coding agents or document-heavy professional workflows.

Image

Gemini Nano Banana 2.1

Gemini Nano Banana 2.1 is Google's image generation and conversational editing model, released in October 2026 as an update to Nano Banana 2 (Gemini 3.1 Flash Image). It keeps Flash-tier speed and cost while improving visual quality, prompt adherence, text rendering, and multi-turn character consistency. It accepts text, image, video, and PDF input and returns images and text. Output is available at 1K, 2K, and 4K, with fixes for tiling artifacts on wide aspect ratios such as 1:8 and 8:1 at 2K and 4K. It can combine up to 14 reference images, and supports search grounding and configurable thinking levels. A 1K image costs $0.0336. Choose it for infographics, text-heavy graphics, and multi-step editing where the same characters must stay consistent across turns.

Chat

Gemini 3.8 Flash

Gemini 3.8 Flash is Google's workhorse Flash-tier model, released September 2, 2026, three weeks after Gemini 3.7 Flash. It's built for long-horizon software engineering, agentic workflows, and multi-step reasoning in professional domains. Google reports it outperforms 3.7 Flash and other frontier models on DeepSWE v1.1 for autonomous engineering tasks, on Vals Finance Agent V2, and on Harvey's Legal Agent Benchmark. It scores 54.9% on HLE-Verified, and completes more than three times as many tasks as 3.7 Flash in Google's long-running, document-heavy workflow evaluations. It accepts text, image, video, audio, and PDF input with a 1M token context window and 64K token output limit, supports function calling and iterative tool use, and has a March 2026 knowledge cutoff. Priced at $0.75 per million input tokens and $3.75 per million output tokens through 2026, it targets teams running coding agents or document-heavy enterprise workflows.

Frequently Asked Questions

How do I use Gemini 2.5 Flash Image?

You can access Gemini 2.5 Flash Image by Google through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required.

Is the Gemini 2.5 Flash Image API free for developers?

Gemini 2.5 Flash Image is free to integrate using the Puter.js AI API. With the User-Pays Model, you can add AI to your app for $0, since users cover their own AI usage through their Puter account.

What is the pricing for Gemini 2.5 Flash Image?
Gemini 2.5 Flash Image costs $0.039 per image.
Price
Per image$0.039
Who created Gemini 2.5 Flash Image?

Gemini 2.5 Flash Image was created by Google and released on Apr 17, 2025.

Does it work with React / Vue / Vanilla JS / Node / etc.?

Yes — the Gemini 2.5 Flash Image API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.

Add Gemini 2.5 Flash Image to your app for free

Developers can integrate Gemini 2.5 Flash Image for free using the Puter.js AI API.
With the User-Pays Model, each user covers their own AI usage instead of the developer.

Get started How pricing works