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: Imagen 4

This model is no longer available.

Add AI to your application with Puter.js.

Explore Other Models

Model Card

Imagen 4 is Google DeepMind's flagship text-to-image generation model, available through the Gemini API and Google AI Studio.

It delivers significant improvements over Imagen 3, particularly in rendering text, typography, and fine details like intricate fabrics and textures. The model supports output up to 2K resolution across a range of aspect ratios, generating images in roughly 2.5 seconds. A Fast variant optimized for high-volume use runs at $0.02 per image, while the standard model is $0.04 and the Ultra tier—built for precise prompt adherence—is $0.06.

In human evaluations on GenAI-Bench, Imagen 4 scored highly against other leading image generation models on overall preference. All outputs are embedded with Google's SynthID watermark for AI-content traceability. It's a strong fit for developers building creative tools, marketing asset pipelines, or any application requiring reliable, high-quality image generation from text prompts.

Cost Per Image $0.04

per generation

Configuration 1MP

resolution

Release Date Aug 15, 2025

 

Code Example

Add AI to 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").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").then(image => {
            document.body.appendChild(image);
        });
    </script>
</body>
</html>

More AI Models From Google

Find other Google models →

Chat

Gemini 4 Hydrogen

Gemini 4 Hydrogen is a multimodal reasoning model from Google DeepMind, released on November 12, 2026 as part of the Gemini 4 family alongside Gemini 4 Argon and Gemini 4 Carbon. Google describes it as an everyday model for coding and agentic workflows and positions it as the successor to Gemini 3.8 Flash. It accepts text, images, audio, video, and files, returns text, and supports tool calling and four thinking levels (low, medium, high, and xhigh) across a 1M-token context window. Google reports 57% on Terminal-Bench 4.1, up from 18.2% for Gemini 3.8 Flash, with tasks finishing 2.5x faster than 3.8 Flash. On the Artificial Analysis Intelligence Index it scores 51 at high thinking, one point above Gemini 4 Argon. It suits code fixes and debugging, multi-step agents, data analysis, and reports built from PDFs, spreadsheets, audio, and video.

Chat

Gemini 4 Carbon

Gemini 4 Carbon is Google DeepMind's top model in the Gemini 4 family, announced on October 28, 2026 as a step above Gemini 4 Argon. Google built it for long, multi-step software engineering and defensive cybersecurity, such as finding, validating, and patching vulnerabilities. Google reports 88.2% on SEC-bench Pro, 54.8% on ExploitGym, and 71.0% on CWE-bench. It scores 59 on the Artificial Analysis Intelligence Index v5.0, which Google says places it first on that index. It accepts text, image, audio, video, and file input with a 1M-token context window. Google listed launch pricing of $2 per million input tokens and $10 per million output tokens, rising to $4 and $20 later, with cached input 95% cheaper. On Puter it currently costs $4 per million input tokens and $20 per million output tokens. It suits coding agents, security tooling, and long-document analysis.

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%. Google listed introductory pricing of $2 per million input tokens and $10 per million output tokens, rising to $4 and $20 later. On Puter it costs $4 per million input tokens and $20 per million output tokens. It suits teams running coding agents or document-heavy professional workflows.

Frequently Asked Questions

How do I use Imagen 4?

Imagen 4 is no longer available through Puter.js. Explore other AI models for alternatives.

What is the pricing for Imagen 4?
Imagen 4 costs $0.04 per image.
Price
Per image$0.04
Who created Imagen 4?

Imagen 4 was created by Google and released on Aug 15, 2025.

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

Yes — the Imagen 4 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.

Get started with Puter.js

Add AI to your application without worrying about API keys or setup.

Explore Models View Tutorials