Stable Diffusion XL

Generazione immaginiDisponibile
di Stability AIID modello: stable-diffusion-xl

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

Prezzo
≈ 0,0015 USD/esecuzione
Input → output
Testo → Immagine
Sviluppatore
Stability AI
Aggiornato
23 settembre 2026
01

Playground

Prova Stable Diffusion XL

Input e output

≈ 0,0015 USD/esecuzione
Prova Stable Diffusion XL
Impostazioni avanzate (3)
Risultato
La tua immagine appare qui.

Questa esecuzione

circa 0,0015 USD · 0,15 crediti

0,0044 USD (0,44 crediti) sono riservati all'inizio; il tempo GPU effettivo viene fatturato.

Nuovo qui?

10 crediti gratuiti (0,10 USD) quando ti iscrivi con Google

Utilizzabile 24 ore dopo l'iscrizione, fino a 5 esecuzioni al giorno e al massimo 2 crediti per esecuzione. Altri metodi di accesso iniziano senza crediti. Sufficiente per 22 esecuzioni di questo modello.

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

Prompt di esempio

Esempi dal catalogo Railwail. Non sono stati generati live su questa pagina.

  • 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

Informazioni su Stable Diffusion XL

RiassuntoA partire da 23 settembre 2026

Stable Diffusion XL è un modello di Stability AI nella categoria Generazione immagini. Su Railwail, Stable Diffusion XL costa ≈ 0,0015 USD per esecuzione.

Sfondo

Informazioni su Stability AI

Fondato 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.

Visita Stability AI

Architettura

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.

Parametri
~3.5B base U-Net + 6.6B refiner = ~10.1B total
Contesto
75 token

Capacità

  • 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.

Addestramento e licenza

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.

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

Test di sicurezza: 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.

Limitazioni note

  • 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

Prezzi

Prezzi in dollari USA. L'utilizzo viene addebitato dai crediti prepagati.
Esecuzione tipica (≈ 1 s su L40S)0,0015 USD per esecuzione
Tempo GPU (L40S)0,00117 USD per secondo GPU
  • Fatturato in base al tempo GPU effettivamente utilizzato. All'avvio, 3× il prezzo tipico viene riservato dal tuo saldo e regolato successivamente.
  • 1 credito = 0,01 USD

Calcolatore di costi

Calcolatore prezzi

s

Tipico secondo il provider: circa 1,2 s

Totale

0,15 USD

15 crediti

Per esecuzione

0,0015 USD · 0,15 crediti

Fatturato in base al tempo GPU effettivo; questo è una stima.

05

API

Chiama Stable Diffusion XL con la tua chiave API Railwail. Usa questo ID modello nella richiesta:
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"
  }'
Imposta la tua chiave come RAILWAIL_API_KEYCrea chiave API
06

Specifiche

ID modello
stable-diffusion-xl
Sviluppatore
Stability AI
Input
Testo
Output
Immagine
Formati di output
WEBP, JPG, PNG
Fatturazione
In base all'utilizzo (token o tempo GPU)
Dimensione del modello
~3.5B base U-Net + 6.6B refiner = ~10.1B total
Licenza
CreativeML Open RAIL++-M license — open weights with usage restrictions (no NCII, CSAM, etc.). Commercial use permitted with these restrictions.
Voce di catalogo aggiornata
23 settembre 2026

Parametri di input

Input e impostazioni dallo schema di input del modello. L'esempio nella sezione API mostra quali di essi l'API accetta.

  • promptObbligatorio
    Tipo: Testo
    Predefinito: –
    Valori consentiti: –
  • width
    Tipo: Scelta
    Predefinito: 1024
    Valori consentiti: 512, 768 o 1024
  • height
    Tipo: Scelta
    Predefinito: 1024
    Valori consentiti: 512, 768 o 1024
  • negative_prompt
    Tipo: Testo
    Predefinito: –
    Valori consentiti: –

Etichette

  • open-source
  • customizable
07

Casi d'uso

A cosa serve

  • 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

Domande frequenti

Cos'è Stable Diffusion XL?

Stable Diffusion XL è un modello di Stability AI nella categoria Generazione immagini. Su Railwail puoi richiamarlo con una chiave API tramite l'API Railwail.

Quanto costa Stable Diffusion XL su Railwail?

Su Railwail, Stable Diffusion XL costa ≈ 0,0015 USD per esecuzione. Ti viene addebitato ciò che ogni richiesta utilizza effettivamente. L'utilizzo viene pagato con crediti prepagati; 1 credito equivale a 0,01 USD.

Quali impostazioni supporta Stable Diffusion XL?

Secondo il suo schema di input, Stable Diffusion XL conosce questi parametri: prompt, width (512, 768 o 1024), height (512, 768 o 1024) e negative_prompt.

Quanto è veloce Stable Diffusion XL?

Non ci sono ancora abbastanza esecuzioni misurate di Stable Diffusion XL su Railwail per indicare un tempo di esecuzione. Dipende dall'input, dalle impostazioni e dal carico presso il provider.

Stable Diffusion XL è migliore di FLUX 1.1 Pro?

Dipende dall'attività. Stable Diffusion XL (Stability AI) e FLUX 1.1 Pro (Black Forest Labs) sono entrambi modelli nella categoria Generazione immagini. La pagina di confronto mostra i loro prezzi e le specifiche affiancati.

Confronta Stable Diffusion XL e FLUX 1.1 Pro

Come uso Stable Diffusion XL tramite l'API?

Crea una chiave API Railwail e invia la tua richiesta con l'ID modello stable-diffusion-xl. Gli esempi di codice per curl, Python e JavaScript sono nella sezione API di questa pagina.

09

Modelli comparabili

Tutti in questa categoria
  • 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 USD/esecuzione

    527 % più costoso per unità

    Confronta Stable Diffusion XL e 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 USD/esecuzione

    5500 % più costoso per unità

    Confronta Stable Diffusion XL e 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 USD/esecuzione

    267 % più costoso per unità

    Confronta Stable Diffusion XL e Sticker Maker

Usa Stable Diffusion XL tramite l'API

Una chiave API per tutti i modelli su Railwail. L'utilizzo viene addebitato da crediti prepagati, 1 credito = 0,01 USD.