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.
- Prix
- 0,048 $US/image
- Rapports d'aspect
- 1:1, 16:9, 9:16, 4:3, 3:4
- Entrée → Sortie
- Texte → Image
- Développeur
- Google DeepMind
- Mis à jour
- 23 septembre 2026
Playground
Essayer Google Imagen 4
Entrée & résultat
Cette exécution
0,048 $US · 4,8 crédits
Pour les comptes sans achat antérieur : les exécutions au-delà de 2 crédits nécessitent un rechargement.
Nouveau par ici ?
10 crédits gratuits (0,10 $US) lors de l'inscription avec Google
Utilisable 24 heures après l'inscription, jusqu'à 5 exécutions par jour et au maximum 2 crédits par exécution. Les autres méthodes de connexion commencent sans crédits.
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
À propos de Google Imagen 4
Google Imagen 4 est un modèle de Google DeepMind dans la catégorie Génération d'images. Sur Railwail, Google Imagen 4 coûte 0,048 $US par image. Formats d'image supportés : 1:1, 16:9, 9:16, 4:3 et 3:4.
Tarification
| Par image | 0,048 $US par image |
|---|
- 1 crédit = 0,01 $US
Calculateur de coûts
Calculatrice de prix
Total
4,80 $US
480 crédits
Par exécution
0,048 $US · 4,8 crédits
Prix fixe par exécution, connu avant le démarrage.
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);Spécifications
- ID du modèle
imagen-4-flagship- Développeur
- Google DeepMind
- Catégorie
- Génération d'images
- Entrée
- Texte
- Sortie
- Image
- Formats de sortie
- PNG, JPG
- Rapports d'aspect
- 1:1, 16:9, 9:16, 4:3, 3:4
- Facturation
- Prix fixe, connu avant l'exécution
- Entrée du catalogue mise à jour
- 23 septembre 2026
Paramètres d'entrée
Entrées et paramètres du schéma d'entrée du modèle. L'exemple dans la section API montre lesquels l'API accepte.
promptWhat to generate
Type: TexteDéfaut: –Valeurs autorisées: jusqu'à 2.000 caractèresaspect_ratioType: ChoixDéfaut:1:1Valeurs autorisées: 1:1, 16:9, 9:16, 4:3 ou 3:4output_formatType: ChoixDéfaut:jpgValeurs autorisées: png ou jpgsafety_filter_levelType: ChoixDéfaut:block_only_highValeurs autorisées: block_low_and_above, block_medium_and_above ou block_only_high
Étiquettes
- replicate
- imagen
- text-to-image
- photorealism
- flagship
Cas d'usage
Questions fréquemment posées
Qu'est-ce que Google Imagen 4 ?
Google Imagen 4 est un modèle de Google DeepMind dans la catégorie Génération d'images. Sur Railwail, vous pouvez l'appeler avec une clé API via l'API Railwail.
Combien coûte Google Imagen 4 sur Railwail ?
Sur Railwail, Google Imagen 4 coûte 0,048 $US par image. Le prix est connu avant le démarrage de l'exécution. L'utilisation est payée à partir de crédits prépayés ; 1 crédit équivaut à 0,01 $US.
Quels paramètres Google Imagen 4 supporte-t-il ?
Selon son schéma d'entrée, Google Imagen 4 connaît ces paramètres : prompt (jusqu'à 2.000 caractères), aspect_ratio (1:1, 16:9, 9:16, 4:3 ou 3:4), output_format (png ou jpg) et safety_filter_level (block_low_and_above, block_medium_and_above ou block_only_high).
Quelle est la vitesse de Google Imagen 4 ?
Il n'y a pas encore assez d'exécutions mesurées de Google Imagen 4 sur Railwail pour indiquer un temps d'exécution. Cela dépend de l'entrée, des paramètres et de la charge chez le fournisseur.
Google Imagen 4 est-il meilleur que FLUX 1.1 Pro ?
Cela dépend de la tâche. Google Imagen 4 (Google DeepMind) et FLUX 1.1 Pro (Black Forest Labs) sont tous deux des modèles de la catégorie Génération d'images. La page de comparaison affiche leurs prix et spécifications côte à côte.
Comparer Google Imagen 4 et FLUX 1.1 ProComment utiliser Google Imagen 4 via l'API ?
Créez une clé API Railwail et envoyez votre requête avec l'ID de modèle imagen-4-flagship. Des exemples de code pour curl, Python et JavaScript se trouvent dans la section API de cette page.
Modèles comparables
Tous dans cette catégorie- 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.
Utiliser Google Imagen 4 via l'API
Une clé API pour tous les modèles sur Railwail. L'utilisation est facturée à partir de crédits prépayés, 1 crédit = 0,01 $US.