Qwen Image 2
qwen-image-2A next-generation image generation and editing model from Alibaba's Qwen team. Supports text-to-image and image editing with strong text rendering, especially for Chinese.
- Prix
- 0,042 $US/image
- Rapports d'aspect
- 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1, 1:2
- Entrée → Sortie
- Texte → Image
- Développeur
- Alibaba (Qwen)
- Mis à jour
- 24 septembre 2026
Playground
Essayer Qwen Image 2
Entrée et résultat
Cette exécution
0,042 $US · 4,2 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) à 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
A serene Japanese garden with a red bridge over a koi pond, morning light
Settings
- aspect_ratio
- 4:3
Open full sizePrompt
Three green tree frogs perch side by side on a moss-covered rock glistening with moisture: the left frog has its eyes slightly closed and relaxed lips, its smooth-textured skin conveying calmness; the middle frog’s eyelids are half-lowered, its gaze distant and mouth straight, its body faintly shimmering with a misty sheen that suggests aloofness; the right frog’s eyes are wide open, encircled by a soft golden glow, its lips curved into a gentle smile, a pink tongue extending about 3 millimeters, limbs naturally outstretched with clearly visible toe pads, radiating joy. The rock is blanketed in thick, lush green moss, wet and reflective, dotted with tiny water droplets and minute fragments of decaying leaves. In the softly blurred background, a tropical rainforest stream winds through the scene, morning mist drifting like gauze through the mid- and far distance, layers of ferns and banana leaves overlapping, their edges and veins adorned with crystal-clear dewdrops, some slowly sliding down. A slanted ray of morning light pierces through the forest canopy, forming a soft Tyndall beam in the mist that illuminates the frogs’ backs and nearby foliage. The image exhibits a realistic style with ultra-high-definition 8K natural photography quality, precisely controlled depth of field rendering the frogs sharply crisp while the background transitions smoothly into natural bokeh. Colors are richly saturated yet true to life—emerald frogs, deep green moss, warm gray mist, translucent…
Settings
- aspect_ratio
- 4:3
À propos de Qwen Image 2
Qwen Image 2 est un modèle de Alibaba (Qwen) dans la catégorie Génération d'images. Sur Railwail, Qwen Image 2 coûte 0,042 $US par image. Formats d'image supportés : 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1 et 1:2.
Tarification
| Par image | 0,042 $US par image |
|---|
- 1 crédit = 0,01 $US
Calculatrice de coûts
Calculatrice de prix
Total
4,20 $US
420 crédits
Par exécution
0,042 $US · 4,2 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": "qwen-image-2",
"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="qwen-image-2",
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: "qwen-image-2",
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("qwen-image-2", "A lighthouse on a rocky coast at sunset, photorealistic");
console.log(res.data[0].url);Spécifications
- ID du modèle
qwen-image-2- Développeur
- Alibaba (Qwen)
- Catégorie
- Génération d'images
- Entrée
- Texte
- Sortie
- Image
- Rapports d'aspect
- 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1, 1:2
- Facturation
- Prix fixe, connu avant l'exécution
- Entrée du catalogue mise à jour
- 24 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.
promptObligatoireType: TextePar défaut: –Valeurs autorisées: –aspectRatioType: ChoixPar défaut: –Valeurs autorisées: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1 ou 1:2
Étiquettes
- replicate
- qwen
- text-to-image
Cas d'usage
Questions fréquemment posées
Qu'est-ce que Qwen Image 2 ?
Qwen Image 2 est un modèle de Alibaba (Qwen) 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 Qwen Image 2 sur Railwail ?
Sur Railwail, Qwen Image 2 coûte 0,042 $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 Qwen Image 2 supporte-t-il ?
Selon son schéma d'entrée, Qwen Image 2 connaît ces paramètres : prompt et aspectRatio (1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1 ou 1:2).
Quelle est la vitesse de Qwen Image 2 ?
Il n'y a pas encore assez d'exécutions mesurées de Qwen Image 2 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.
Qwen Image 2 est-il meilleur que FLUX 1.1 Pro ?
Cela dépend de la tâche. Qwen Image 2 (Alibaba (Qwen)) 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 Qwen Image 2 et FLUX 1.1 ProComment utiliser Qwen Image 2 via l'API ?
Créez une clé API Railwail et envoyez votre requête avec l'ID de modèle qwen-image-2. 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 Qwen Image 2 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.