Stable Diffusion XL

Génération d'imagesDisponible
par Stability AIID du modèle: stable-diffusion-xl

Stability AI's SDXL model via Replicate. High-quality image generation with extensive customization.

Prix
≈ 0,0015 $US/exécution
Entrée → Sortie
Texte → Image
Développeur
Stability AI
Mis à jour
23 septembre 2026
01

Playground

Essayer Stable Diffusion XL

Entrée & résultat

≈ 0,0015 $US/exécution
Essayer Stable Diffusion XL
Paramètres avancés (3)
Résultat
Votre image apparaît ici.

Cette exécution

environ 0,0015 $US · 0,15 crédits

0,0044 $US (0,44 crédits) sont réservés au démarrage ; le temps GPU réel est facturé.

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. Suffisant pour 22 exécutions de ce modèle.

02

Examples

Real outputs from the public examples of this model on Replicate, with the prompt and settings that produced them. They were not generated live on this page.
  • Example output 1 from Stable Diffusion XL: An astronaut riding a rainbow unicorn, cinematic, dramaticOpen full size

    Prompt

    An astronaut riding a rainbow unicorn, cinematic, dramatic

    Settings

    width
    768
    height
    768
  • Example output 2 from Stable Diffusion XL: A rainbow coloured bearOpen full size
    InputInput

    Prompt

    A rainbow coloured bear

    Settings

    width
    1024
    height
    1024
  • Example output 3 from Stable Diffusion XL: An astronaut riding a rainbow unicorn, cinematic, dramaticOpen full size

    Prompt

    An astronaut riding a rainbow unicorn, cinematic, dramatic

    Settings

    width
    1024
    height
    1024

Prompts d'exemple

Exemples du catalogue Railwail. Ils n'ont pas été générés en direct sur cette page.

  • Anime Character

    A fierce warrior princess with flowing silver hair and golden armor, standing atop a cliff overlooking a vast battlefield, anime art style, dramatic wind effects, detailed cel shading
  • Cozy Interior

    A hygge-inspired reading nook with floor-to-ceiling bookshelves, a plush velvet armchair, warm fairy lights, a sleeping cat, and rain visible through a large arched window, digital painting style
  • Abstract Art

    Geometric crystalline formations emerging from a pool of liquid gold, refracting rainbow light prisms throughout the composition, ultra-detailed 3D render with volumetric lighting and caustics
03

À propos de Stable Diffusion XL

RésuméAu 23 septembre 2026

Stable Diffusion XL est un modèle de Stability AI dans la catégorie Génération d'images. Sur Railwail, Stable Diffusion XL coûte ≈ 0,0015 $US par exécution.

Arrière-plan

À propos de Stability AI

Fondée 2019 · London, UK

Stability AI was founded in 2019 by Emad Mostaque (CEO until March 2024) and is headquartered in London. The company sponsored and released the original Stable Diffusion 1.4/1.5/2.x (2022) in partnership with CompVis (LMU Munich, Robin Rombach and Patrick Esser), Runway and LAION. Stable Diffusion XL (SDXL) was released in July 2023 by Stability AI as a successor to SD 1.5/2.1 and was widely adopted by the open-source community as the de-facto open base model for fine-tuning and downstream pipelines until FLUX.1 and SD 3.5 arrived in 2024.

Visiter Stability AI

Architecture

Latent diffusion U-Net with two text encoders and optional refiner

Stable Diffusion XL (SDXL) is a 2023 latent diffusion model from Stability AI, described in 'SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis' (Podell et al. 2023). The architecture is a refined latent-diffusion U-Net operating in the latent space of a learned 8x VAE. Key changes over SD 1.5 include: (1) a larger U-Net backbone (~3.5B parameters, ~3x larger than SD 1.5), (2) two parallel text encoders concatenating CLIP ViT-L and OpenCLIP ViT-bigG features for stronger prompt adherence, (3) conditioning on the original image resolution and crop coordinates to fix the resolution and cropping artefacts of SD 1.5, (4) training natively at 1024x1024 instead of 512x512, and (5) an optional 6.6B-parameter refiner model that performs a final 5-step denoising pass to add high-frequency detail. SDXL became the dominant open base model for fine-tuning between mid-2023 and late 2024, spawning huge ecosystems including IP-Adapter, AnimateDiff, ControlNet-XL, T2I-Adapter and tens of thousands of community LoRAs.

Paramètres
~3.5B base U-Net + 6.6B refiner = ~10.1B total
Contexte
75 tokens

Capacités

  • Native 1024x1024 generation
  • Two text encoders (CLIP-L + OpenCLIP-G) for strong prompts
  • Optional refiner for high-frequency detail
  • Open weights under CreativeML Open RAIL++-M license
  • Massive ecosystem: ControlNet-XL, IP-Adapter, AnimateDiff, LoRAs
  • Strong fine-tuning base for art styles and brand models
  • Runs on consumer GPUs (8-12GB VRAM with quantisation)
  • Best for: fine-tuning base, ControlNet pipelines, community LoRAs, on-prem deployments, education.

Formation & licence

Pretrained on a large subset of LAION-5B and additional Stability AI-curated data. Conditioned on resolution and crop coordinates to mitigate aspect-ratio artefacts.

Licence: CreativeML Open RAIL++-M license — open weights with usage restrictions (no NCII, CSAM, etc.). Commercial use permitted with these restrictions.

Tests de sécurité: Stability AI applied baseline content filters and training data filtering. The model ships without an integrated safety classifier and operators must add their own moderation.

Limitations connues

  • Older architecture — outperformed by FLUX.1 and SD 3.5 Large
  • Hands, text and complex anatomy imperfect
  • Default text encoder limited to 75 tokens
  • Open weights have no built-in safety filter
04

Tarification

Prix en dollars américains. L'utilisation est facturée à partir de crédits prépayés.
Exécution typique (≈ 1 s sur L40S)0,0015 $US par exécution
Temps GPU (L40S)0,00117 $US par seconde GPU
  • Facturée selon le temps GPU que l'exécution prend réellement. Au démarrage, 3× le prix typique est réservé de votre solde et régularisé ensuite.
  • 1 crédit = 0,01 $US

Calculateur de coûts

Calculatrice de prix

s

Typique selon le fournisseur : environ 1,2 s

Total

0,15 $US

15 crédits

Par exécution

0,0015 $US · 0,15 crédits

Facturé selon le temps GPU réel ; il s'agit d'une estimation.

05

API

Appelez Stable Diffusion XL avec votre clé API Railwail. Utilisez cet ID de modèle dans la requête :
curl https://railwail.com/api/v1/images/generations \
  -H "Authorization: Bearer $RAILWAIL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "stable-diffusion-xl",
    "prompt": "A lighthouse on a rocky coast at sunset, photorealistic"
  }'
Définissez votre clé comme RAILWAIL_API_KEYCréer une clé API
06

Spécifications

ID du modèle
stable-diffusion-xl
Développeur
Stability AI
Entrée
Texte
Sortie
Image
Formats de sortie
WEBP, JPG, PNG
Facturation
À l'usage (tokens ou temps GPU)
Taille du modèle
~3.5B base U-Net + 6.6B refiner = ~10.1B total
Licence
CreativeML Open RAIL++-M license — open weights with usage restrictions (no NCII, CSAM, etc.). Commercial use permitted with these restrictions.
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.

  • promptObligatoire
    Type: Texte
    Défaut: –
    Valeurs autorisées: –
  • width
    Type: Choix
    Défaut: 1024
    Valeurs autorisées: 512, 768 ou 1024
  • height
    Type: Choix
    Défaut: 1024
    Valeurs autorisées: 512, 768 ou 1024
  • negative_prompt
    Type: Texte
    Défaut: –
    Valeurs autorisées: –

Étiquettes

  • open-source
  • customizable
07

Cas d'usage

À quoi ça sert

  • Open-source creative pipelines (legacy)
  • Fine-tuning base for art-style models
  • ControlNet and IP-Adapter workflows
  • Community LoRA training
  • On-prem and air-gapped deployments
  • Educational and research use
08

Questions fréquemment posées

Qu'est-ce que Stable Diffusion XL ?

Stable Diffusion XL est un modèle de Stability AI 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 Stable Diffusion XL sur Railwail ?

Sur Railwail, Stable Diffusion XL coûte ≈ 0,0015 $US par exécution. Vous êtes facturé pour ce que chaque requête utilise réellement. L'utilisation est payée à partir de crédits prépayés ; 1 crédit équivaut à 0,01 $US.

Quels paramètres Stable Diffusion XL supporte-t-il ?

Selon son schéma d'entrée, Stable Diffusion XL connaît ces paramètres : prompt, width (512, 768 ou 1024), height (512, 768 ou 1024) et negative_prompt.

Quelle est la vitesse de Stable Diffusion XL ?

Il n'y a pas encore assez d'exécutions mesurées de Stable Diffusion XL 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.

Stable Diffusion XL est-il meilleur que FLUX 1.1 Pro ?

Cela dépend de la tâche. Stable Diffusion XL (Stability AI) 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 Stable Diffusion XL et FLUX 1.1 Pro

Comment utiliser Stable Diffusion XL via l'API ?

Créez une clé API Railwail et envoyez votre requête avec l'ID de modèle stable-diffusion-xl. Des exemples de code pour curl, Python et JavaScript se trouvent dans la section API de cette page.

09

Modèles comparables

Tous dans cette catégorie
  • SDXL fine-tune by galleri5 for slick flat icons and pop constructivist graphics with thick edges. Trained on Bing generations, it produces clean single-subject icon art that suits app icons, badges and UI glyphs. Raster output, not true vector.

    ≈ 0,0094 $US/exécution

    527 % plus cher par unité

    Comparer Stable Diffusion XL et Icons (SDXL Flat Pop)
  • InstantIDCommunity

    InstantID makes realistic portraits of a real person from a single reference photo without per-user training. Combines a face encoder with an IdentityNet adapter on SDXL to keep identity and pose while following a text prompt, so it is fast and tuning-free.

    ≈ 0,084 $US/exécution

    5.500 % plus cher par unité

    Comparer Stable Diffusion XL et InstantID
  • Sticker MakerCommunity

    fofr's sticker generator that outputs graphics with transparent backgrounds, so the result drops straight into chat apps or print sheets. Runs an SDXL-based pipeline at high speed (default 17 steps) and returns die-cut style art without manual background removal.

    ≈ 0,0055 $US/exécution

    267 % plus cher par unité

    Comparer Stable Diffusion XL et Sticker Maker

Utiliser Stable Diffusion XL 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.