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.
- Hinta
- 0,048 $/kuva
- Kuvasuhde
- 1:1, 16:9, 9:16, 4:3, 3:4
- Syöte → tulos
- Teksti → Kuva
- Kehittäjä
- Google DeepMind
- Päivitetty
- 23. syyskuuta 2026
Leikkikenttä
Kokeile Google Imagen 4
Syöte ja tulos
Tämä suoritus
0,048 $ · 4,8 creditiä
Tileille ilman ostoja: yli 2 creditin suoritukset vaativat latauksen.
Uusi täällä?
10 ilmaista creditiä (0,10 $) kun rekisteröidyt Googlella
Käytettävissä 24 tuntia rekisteröinnin jälkeen, enintään 5 suoritusta päivässä ja enintään 2 creditiä suoritusta kohti. Muut kirjautumismenetelmät alkavat ilman creditejä.
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
Tietoja: Google Imagen 4
Google Imagen 4 on Google DeepMind-kehittäjän malli kategoriasta Kuvageneraattori. Railwailissa Google Imagen 4 maksaa 0,048 $ per kuva. Tuetut kuvasuhteen: 1:1, 16:9, 9:16, 4:3 ja 3:4.
Hinnat
| Per kuva | 0,048 $ per kuva |
|---|
- 1 krediitti = 0,01 $
Kustannuslaskin
Hintalaskin
Yhteensä
4,80 $
480 krediittiä
Suoritusta kohti
0,048 $ · 4,8 krediittiä
Kiinteä hinta suoritusta kohti, tiedossa ennen suorituksen alkua.
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);Tekniset tiedot
- Mallin tunnus
imagen-4-flagship- Kehittäjä
- Google DeepMind
- Kategoria
- Kuvageneraattori
- Syöte
- Teksti
- Tuloste
- Kuva
- Tulosteen muodot
- PNG, JPG
- Kuvasuhde
- 1:1, 16:9, 9:16, 4:3, 3:4
- Laskutus
- Kiinteä hinta, tiedossa ennen suoritusta
- Luettelokirjaus päivitetty
- 23. syyskuuta 2026
Syöteparametrit
Mallin syötökaavion syötteet ja asetukset. API-osion esimerkki näyttää, mitkä niistä API hyväksyy.
promptWhat to generate
Tyyppi: TekstiOletus: –Sallitut arvot: enintään 2 000 merkkiäaspect_ratioTyyppi: ValintaOletus:1:1Sallitut arvot: 1:1, 16:9, 9:16, 4:3 tai 3:4output_formatTyyppi: ValintaOletus:jpgSallitut arvot: png tai jpgsafety_filter_levelTyyppi: ValintaOletus:block_only_highSallitut arvot: block_low_and_above, block_medium_and_above tai block_only_high
Tunnisteet
- replicate
- imagen
- text-to-image
- photorealism
- flagship
Käyttötapaukset
Usein kysytyt kysymykset
Mikä on Google Imagen 4?
Google Imagen 4 on Google DeepMindn kehittämä malli Kuvageneraattori-kategoriassa. Railwailissa voit kutsua sitä API-avaimella Railwail-ohjelmointirajapinnan kautta.
Paljonko Google Imagen 4 maksaa Railwailissa?
Railwailissa Google Imagen 4 maksaa 0,048 $ per kuva. Hinta on tiedossa ennen suorituksen alkamista. Käyttö maksetaan ennakkoon ostettujen krediittien avulla; 1 krediitti vastaa 0,01 $.
Mitä asetuksia Google Imagen 4 tukee?
Syötteen rakenteen mukaan Google Imagen 4 tuntee nämä parametrit: prompt (enintään 2 000 merkkiä), aspect_ratio (1:1, 16:9, 9:16, 4:3 tai 3:4), output_format (png tai jpg) ja safety_filter_level (block_low_and_above, block_medium_and_above tai block_only_high).
Kuinka nopea Google Imagen 4 on?
Google Imagen 4lla ei ole vielä tarpeeksi mitattuja suorituksia Railwailissa suoritusajan ilmoittamiseksi. Se riippuu syötteestä, asetuksista ja palveluntarjoajan kuormituksesta.
Onko Google Imagen 4 parempi kuin FLUX 1.1 Pro?
Se riippuu tehtävästä. Google Imagen 4 (Google DeepMind) ja FLUX 1.1 Pro (Black Forest Labs) ovat molemmat malleja Kuvageneraattori-kategoriassa. Vertailussa näkyvät niiden hinnat ja tekniset tiedot rinnakkain.
Vertaa Google Imagen 4 ja FLUX 1.1 ProKuinka käytän Google Imagen 4a ohjelmointirajapinnan kautta?
Luo Railwail-ohjelmointirajapinnan avain ja lähetä pyyntösi mallin tunnuksella imagen-4-flagship. Koodiesimerkit curlille, Pythonille ja JavaScriptille ovat tämän sivun API-osiossa.
Vertailukelpoiset mallit
Kaikki tässä kategoriassa- 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.
Käytä Google Imagen 4 API:n kautta
Yksi API-avain kaikille Railwailin malleille. Käyttö laskutetaan prepaid-krediiteistä, 1 krediitti = 0,01 $.