Google Imagen 4
imagen-4-flagshipGoogle 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.
- Pris
- 0,048Â US$/billede
- Billedformat
- 1:1, 16:9, 9:16, 4:3, 3:4
- Input → output
- Tekst → Billede
- Udvikler
- Google DeepMind
- Opdateret
- 23. september 2026
Playground
Prøv Google Imagen 4
Input & resultat
Denne kørsel
0,048 US$ · 4,8 credits
For konti uden tidligere køb: kørsler over 2 credits kræver en opladning.
Ny her?
10 gratis credits (0,10 US$) når du tilmelder dig med Google
Kan bruges 24 timer efter tilmelding, op til 5 kørsler pr. dag og højst 2 credits pr. kørsel. Andre login-metoder starter uden credits.
Examples
Open full sizePrompt
The photo: Create a cinematic, photorealistic medium shot capturing the nostalgic warmth of a late 90s indie film. The focus is a young woman with brightly dyed pink-gold hair and freckled skin, looking directly and intently into the camera lens with a hopeful yet slightly uncertain smile, she is slightly off-center. She wears an oversized, vintage band t-shirt that says "Replicate" (slightly worn) over a long-sleeved striped top and simple silver stud earrings. The lighting is soft, golden hour sunlight streaming through a slightly dusty window, creating lens flare and illuminating dust motes in the air. The background shows a blurred, cluttered bedroom with posters on the wall and fairy lights, rendered with a shallow depth of field. Natural film grain, a warm, slightly muted color palette, and sharp focus on her expressive eyes enhance the intimate, authentic feel
Settings
- aspect_ratio
- 16:9
Open full sizePrompt
The text "Imagen-4" in front of a photo, center middle. The photo: Create a cinematic, photorealistic medium shot capturing the nostalgic warmth of a late 90s indie film. The focus is a young woman with brightly dyed pink-gold hair and freckled skin, looking directly and intently into the camera lens with a hopeful yet slightly uncertain smile, she is slightly off-center. She wears an oversized, vintage band t-shirt that says "Replicate" (slightly worn) over a long-sleeved striped top and simple silver stud earrings. The lighting is soft, golden hour sunlight streaming through a slightly dusty window, creating lens flare and illuminating dust motes in the air. The background shows a blurred, cluttered bedroom with posters on the wall and fairy lights, rendered with a shallow depth of field. Natural film grain, a warm, slightly muted color palette, and sharp focus on her expressive eyes enhance the intimate, authentic feel
Settings
- aspect_ratio
- 16:9
Open full sizePrompt
gorilla riding a moped through busy italian city
Settings
- aspect_ratio
- 9:16
Om Google Imagen 4
Google Imagen 4 er en model af Google DeepMind i kategorien Billedgenerering. På Railwail koster Google Imagen 4 0,048 US$ pr. billede. Understøttede billedformater: 1:1, 16:9, 9:16, 4:3 og 3:4.
Priser
| Pr. billede | 0,048Â US$ pr. billede |
|---|
- 1 kredit = 0,01Â US$
Omkostningsberegner
Prisberegner
I alt
4,80Â US$
480 credits
Pr. kørsel
0,048 US$ · 4,8 credits
Fast pris pr. kørsel, kendt før kørslen starter.
API
curl https://railwail.com/api/v1/images/generations \
-H "Authorization: Bearer $RAILWAIL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "imagen-4-flagship",
"prompt": "A lighthouse on a rocky coast at sunset, photorealistic"
}'import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["RAILWAIL_API_KEY"],
base_url="https://railwail.com/api/v1",
)
image = client.images.generate(
model="imagen-4-flagship",
prompt="A lighthouse on a rocky coast at sunset, photorealistic",
)
print(image.data[0].url)import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.RAILWAIL_API_KEY,
baseURL: "https://railwail.com/api/v1",
});
const image = await client.images.generate({
model: "imagen-4-flagship",
prompt: "A lighthouse on a rocky coast at sunset, photorealistic"
});
console.log(image.data[0].url);// npm install railwail
import railwail from "railwail";
const rw = railwail(process.env.RAILWAIL_API_KEY);
const res = await rw.image("imagen-4-flagship", "A lighthouse on a rocky coast at sunset, photorealistic");
console.log(res.data[0].url);Specifikationer
- Model-ID
imagen-4-flagship- Udvikler
- Google DeepMind
- Kategori
- Billedgenerering
- Input
- Tekst
- Output
- Billede
- Outputformater
- PNG, JPG
- Billedformat
- 1:1, 16:9, 9:16, 4:3, 3:4
- Fakturering
- Fastpris, kendt før kørslen
- Katalogelement opdateret
- 23. september 2026
Inputparametre
Inputs og indstillinger fra modellens inputskema. Eksemplet i API-afsnittet viser, hvilke af dem API'en accepterer.
promptWhat to generate
Type: TekstStandard: –Tilladte værdier: op til 2,000 tegnaspect_ratioType: ValgStandard:1:1Tilladte værdier: 1:1, 16:9, 9:16, 4:3 eller 3:4output_formatType: ValgStandard:jpgTilladte værdier: png eller jpgsafety_filter_levelType: ValgStandard:block_only_highTilladte værdier: block_low_and_above, block_medium_and_above eller block_only_high
Tags
- replicate
- imagen
- text-to-image
- photorealism
- flagship
Anvendelsestilfælde
Ofte stillede spørgsmål
Hvad er Google Imagen 4?
Google Imagen 4 er en model fra Google DeepMind i kategorien Billedgenerering. På Railwail kan du kalde den med en API-nøgle via Railwail API.
Hvad koster Google Imagen 4 på Railwail?
På Railwail koster Google Imagen 4 0,048 US$ pr. billede. Prisen kendes før kørslen starter. Forbrug betales fra forudbetalte credits; 1 credit svarer til 0,01 US$.
Hvilke indstillinger understøtter Google Imagen 4?
Ifølge dens inputskema kender Google Imagen 4 disse parametre: prompt (op til 2,000 tegn), aspect_ratio (1:1, 16:9, 9:16, 4:3 eller 3:4), output_format (png eller jpg) og safety_filter_level (block_low_and_above, block_medium_and_above eller block_only_high).
Hvor hurtig er Google Imagen 4?
Der er endnu ikke nok målte kørsler af Google Imagen 4 på Railwail til at angive en udførelsestid. Det afhænger af inputtet, indstillingerne og belastningen hos provideren.
Er Google Imagen 4 bedre end FLUX 1.1 Pro?
Det afhænger af opgaven. Google Imagen 4 (Google DeepMind) og FLUX 1.1 Pro (Black Forest Labs) er begge modeller i kategorien Billedgenerering. Sammenligningssiden viser deres priser og specifikationer side om side.
Sammenlign Google Imagen 4 og FLUX 1.1 ProHvordan bruger jeg Google Imagen 4 via API'en?
Opret en Railwail API-nøgle og send din anmodning med model-ID'en imagen-4-flagship. Kodeeksempler til curl, Python og JavaScript findes i API-sektionen på denne side.
Sammenlignelige modeller
Alle i denne kategori- FLUX 1.1 ProBlack Forest Labs
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 UltraBlack Forest Labs
FLUX 1.1 Pro in ultra mode. Up to 4 megapixel images with raw mode for photorealism.
- Flux DevBlack Forest Labs
Black Forest Labs' development model. Fast, high-quality image generation with LoRA support.
Brug Google Imagen 4 via API'en
En API-nøgle til alle modeller på Railwail. Forbrug debiteres fra forudbetalte credits, 1 credit = 0,01 US$.