Google Imagen 4
Google DeepMind's Imagen 4 text-to-image model, hosted on Replicate. Sharp detail, accurate text rendering, and strong prompt adherence across photographic and illustrated styles. Outputs up to 2K resolution.
Google Imagen 4 is image generation AI model from Google DeepMind, priced at €0.000 per 1M input tokens with a unknown context window.
About this model
Pricing
API Integration
Use our OpenAI-compatible API to integrate Google Imagen 4 into your application.
npm install railwailimport railwail from "railwail";
const rw = railwail("YOUR_API_KEY");
const images = await rw.run("imagen-4-flagship", "A beautiful sunset over Tokyo");
console.log(images[0].url);
// Or use the image() method for full control
const res = await rw.image("imagen-4-flagship", "A cat in space", {
size: "1024x1024",
n: 1,
});
console.log(res.data[0].url);Frequently asked questions
Related Models
View all Image GenerationFLUX 1.1 Pro
Black Forest Labs' flagship text-to-image model. Faster generation than FLUX.1 Pro at higher prompt adherence, with strong photorealism and reliable spatial composition. Runs as a hosted Replicate model.
FLUX 1.1 Pro Ultra
FLUX 1.1 Pro in Ultra mode by Black Forest Labs. Generates up to 4 megapixel images with a raw mode for less processed, more natural-looking photography. Best FLUX option when output resolution and fine detail matter.
Flux 1.1 Pro Ultra
FLUX 1.1 Pro in ultra mode. Up to 4 megapixel images with raw mode for photorealism.
Flux Dev
Black Forest Labs' development model. Fast, high-quality image generation with LoRA support.
Start using Google Imagen 4 today
Get started with free credits. No credit card required. Access Google Imagen 4 and 100+ other models through a single API.