Stable Diffusion XL

AfbeeldingsgenereringBeschikbaar
van Stability AIModel-ID: stable-diffusion-xl

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

Prijs
≈ US$ 0,0015/uitvoering
Invoer → Uitvoer
Tekst → Afbeelding
Ontwikkelaar
Stability AI
Bijgewerkt
23 september 2026
01

Playground

Stable Diffusion XL proberen

Invoer & resultaat

≈ US$ 0,0015/uitvoering
Stable Diffusion XL proberen
Geavanceerde instellingen (3)
Resultaat
Je afbeelding verschijnt hier.

Deze uitvoering

ongeveer US$ 0,0015 · 0,15 credits

US$ 0,0044 (0,44 credits) worden gereserveerd bij het starten; de werkelijke GPU-tijd wordt gefactureerd.

Nieuw hier?

10 gratis credits (US$ 0,10) wanneer je je aanmeldt met Google

Bruikbaar 24 uur na aanmelding, tot 5 uitvoeringen per dag en maximaal 2 credits per uitvoering. Andere aanmeldmethoden starten zonder credits. Voldoende voor 22 uitvoeringen van dit model.

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

Voorbeeldprompts

Voorbeelden uit de Railwail-catalogus. Ze zijn niet live op deze pagina gegenereerd.

  • 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

Over Stable Diffusion XL

SamengevatPer 23 september 2026

Stable Diffusion XL is een model van Stability AI in de categorie Afbeeldingsgenerering. Op Railwail kost Stable Diffusion XL ≈ US$ 0,0015 per uitvoering.

Achtergrond

Over Stability AI

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

Stability AI bezoeken

Architectuur

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.

Parameters
~3.5B base U-Net + 6.6B refiner = ~10.1B total
Context
75 tokens

Mogelijkheden

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

Training & licentie

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.

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

Veiligheidstests: 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.

Bekende beperkingen

  • 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

Prijzen

Prijzen in US-dollars. Het gebruik wordt in rekening gebracht via vooraf gekochte credits.
Typische uitvoering (≈ 1 s op L40S)US$ 0,0015 per uitvoering
GPU-tijd (L40S)US$ 0,00117 per GPU-seconde
  • Afgerekend wordt de GPU-tijd die de run werkelijk gebruikt. Wanneer de run start, wordt het 3-voudige van de typische prijs van uw saldo gereserveerd en later verrekend.
  • 1 credit = US$ 0,01

Kostencalculator

Prijscalculator

s

Typisch volgens de provider: ongeveer 1,2 s

Totaal

US$ 0,15

15 credits

Per run

US$ 0,0015 · 0,15 credits

Afgerekend wordt de werkelijke GPU-tijd; dit is een schatting.

05

API

Roep Stable Diffusion XL aan met je Railwail API-sleutel. Gebruik deze model-ID in het verzoek:
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"
  }'
Stel uw sleutel in als RAILWAIL_API_KEYAPI-sleutel maken
06

Specificaties

Model-ID
stable-diffusion-xl
Ontwikkelaar
Stability AI
Invoer
Tekst
Uitvoer
Afbeelding
Uitvoerformaten
WEBP, JPG, PNG
Facturering
Op basis van gebruik (tokens of GPU-tijd)
Modelgrootte
~3.5B base U-Net + 6.6B refiner = ~10.1B total
Licentie
CreativeML Open RAIL++-M license — open weights with usage restrictions (no NCII, CSAM, etc.). Commercial use permitted with these restrictions.
Catalogusitem bijgewerkt
23 september 2026

Invoerparameters

Invoeren en instellingen uit het invoerschema van het model. Het voorbeeld in de API-sectie toont welke daarvan de API accepteert.

  • promptVerplicht
    Type: Tekst
    Standaard: –
    Toegestane waarden: –
  • width
    Type: Keuze
    Standaard: 1024
    Toegestane waarden: 512, 768 of 1024
  • height
    Type: Keuze
    Standaard: 1024
    Toegestane waarden: 512, 768 of 1024
  • negative_prompt
    Type: Tekst
    Standaard: –
    Toegestane waarden: –

Tags

  • open-source
  • customizable
07

Gebruiksscenario's

Waarvoor het wordt gebruikt

  • 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

Veelgestelde vragen

Wat is Stable Diffusion XL?

Stable Diffusion XL is een model van Stability AI in de categorie Afbeeldingsgenerering. Op Railwail kunt u het aanroepen met een API-sleutel via de Railwail-API.

Hoeveel kost Stable Diffusion XL op Railwail?

Op Railwail kost Stable Diffusion XL ≈ US$ 0,0015 per uitvoering. U betaalt voor wat elke aanvraag daadwerkelijk verbruikt. Gebruik wordt betaald met vooraf gekochte credits; 1 credit is gelijk aan US$ 0,01.

Welke instellingen ondersteunt Stable Diffusion XL?

Volgens het invoerschema kent Stable Diffusion XL deze parameters: prompt, width (512, 768 of 1024), height (512, 768 of 1024) en negative_prompt.

Hoe snel is Stable Diffusion XL?

Er zijn nog niet genoeg gemeten runs van Stable Diffusion XL op Railwail om een uitvoeringstijd op te geven. Dit hangt af van de invoer, de instellingen en de belasting bij de provider.

Is Stable Diffusion XL beter dan FLUX 1.1 Pro?

Dat hangt van de taak af. Stable Diffusion XL (Stability AI) en FLUX 1.1 Pro (Black Forest Labs) zijn beide modellen in de categorie Afbeeldingsgenerering. De vergelijkingspagina toont hun prijzen en specificaties naast elkaar.

Stable Diffusion XL en FLUX 1.1 Pro vergelijken

Hoe gebruik ik Stable Diffusion XL via de API?

Maak een Railwail-API-sleutel aan en stuur uw aanvraag met de model-ID stable-diffusion-xl. Codevoorbeelden voor curl, Python en JavaScript staan in het API-gedeelte van deze pagina.

09

Vergelijkbare modellen

Alle in deze categorie
  • 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.

    ≈ US$ 0,0094/uitvoering

    527 % duurder per eenheid

    Stable Diffusion XL en Icons (SDXL Flat Pop) vergelijken
  • 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.

    ≈ US$ 0,084/uitvoering

    5.500 % duurder per eenheid

    Stable Diffusion XL en InstantID vergelijken
  • 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.

    ≈ US$ 0,0055/uitvoering

    267 % duurder per eenheid

    Stable Diffusion XL en Sticker Maker vergelijken

Stable Diffusion XL via de API gebruiken

Één API-sleutel voor elk model op Railwail. Gebruik wordt afgerekend via vooraf gekochte credits, 1 credit = US$ 0,01.