Stable Diffusion XL

BildegenereringTilgjengelig
av Stability AIModell-ID: stable-diffusion-xl

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

Pris
≈ 0,0015 USD/kjøring
Input → output
Tekst → Bilde
Utvikler
Stability AI
Oppdatert
23. september 2026
01

Playground

Prøv Stable Diffusion XL

Inndata og resultat

≈ 0,0015 USD/kjøring
Prøv Stable Diffusion XL
Avanserte innstillinger (3)
Resultat
Bildet ditt vises her.

Denne kjøringen

ca. 0,0015 USD · 0,15 credits

0,0044 USD (0,44 credits) reserveres ved start; faktisk GPU-tid faktureres.

Ny her?

10 gratis credits (0,10 USD) når du registrerer deg med Google

Kan brukes 24 timer etter registrering, opptil 5 kjøringer per dag og maksimalt 2 credits per kjøring. Andre påloggingsmetoder starter uten credits. Nok for 22 kjøringer av denne modellen.

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

Eksempelprompts

Eksempler fra Railwail-katalogen. De ble ikke generert live på denne siden.

  • 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

Om Stable Diffusion XL

Kort sagtPer 23. september 2026

Stable Diffusion XL er en modell fra Stability AI i kategorien Bildegenerering. På Railwail koster Stable Diffusion XL ≈ 0,0015 USD per kjøring.

Bakgrunn

Om Stability AI

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

Besøk Stability AI

Arkitektur

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.

Parametere
~3.5B base U-Net + 6.6B refiner = ~10.1B total
Kontekst
75 tokens

Evner

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

Trening og lisens

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.

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

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

Kjente begrensninger

  • 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

Priser

Priser i amerikanske dollar. Bruk belastes fra forhåndsbetalt kreditt.
Typisk kjøring (≈ 1 s på L40S)0,0015 USD per kjøring
GPU-tid (L40S)0,00117 USD per GPU-sekund
  • Faktureres etter GPU-tiden kjøringen faktisk tar. Når kjøringen starter, blir 3× den typiske prisen reservert fra saldoen din og gjort opp etterpå.
  • 1 kreditt = 0,01 USD

Kostnadsberegner

Prisberegner

s

Typisk ifølge leverandøren: ca. 1,2 s

Totalt

0,15 USD

15 credits

Per kjøring

0,0015 USD · 0,15 credits

Fakturert etter faktisk GPU-tid; dette er et estimat.

05

API

Ring Stable Diffusion XL med din Railwail API-nøkkel. Bruk denne modell-IDen i forespørselen:
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"
  }'
Sett nøkkelen din som RAILWAIL_API_KEYOpprett API-nøkkel
06

Spesifikasjoner

Modell-ID
stable-diffusion-xl
Utvikler
Stability AI
Inndata
Tekst
Utdata
Bilde
Utdataformater
WEBP, JPG, PNG
Fakturering
Etter bruk (tokens eller GPU-tid)
Modellstørrelse
~3.5B base U-Net + 6.6B refiner = ~10.1B total
Lisens
CreativeML Open RAIL++-M license — open weights with usage restrictions (no NCII, CSAM, etc.). Commercial use permitted with these restrictions.
Katalogoppføring oppdatert
23. september 2026

Inndataparametere

Inndataer og innstillinger fra modellens inndataskjema. Eksemplet i API-delen viser hvilke av dem APIen godtar.

  • promptobligatorisk
    Type: Tekst
    Standard: –
    Tillatte verdier: –
  • width
    Type: Valg
    Standard: 1024
    Tillatte verdier: 512, 768 eller 1024
  • height
    Type: Valg
    Standard: 1024
    Tillatte verdier: 512, 768 eller 1024
  • negative_prompt
    Type: Tekst
    Standard: –
    Tillatte verdier: –

Merkelapper

  • open-source
  • customizable
07

Brukstilfeller

Hva det brukes til

  • 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

Ofte stilte spørsmål

Hva er Stable Diffusion XL?

Stable Diffusion XL er en modell fra Stability AI i kategorien Bildegenerering. På Railwail kan du kalle den med en API-nøkkel gjennom Railwail API.

Hvor mye koster Stable Diffusion XL på Railwail?

På Railwail koster Stable Diffusion XL ≈ 0,0015 USD per kjøring. Du betaler for det hver forespørsel faktisk bruker. Bruk betales fra forhåndskjøpte kreditter; 1 kreditt tilsvarer 0,01 USD.

Hvilke innstillinger støtter Stable Diffusion XL?

I henhold til inndataskjemaet kjenner Stable Diffusion XL disse parametrene: prompt, width (512, 768 eller 1024), height (512, 768 eller 1024) og negative_prompt.

Hvor rask er Stable Diffusion XL?

Det finnes ennå ikke nok målte kjøringer av Stable Diffusion XL på Railwail til å angi en kjøretid. Det avhenger av inndataene, innstillingene og belastningen hos leverandøren.

Er Stable Diffusion XL bedre enn FLUX 1.1 Pro?

Det avhenger av oppgaven. Stable Diffusion XL (Stability AI) og FLUX 1.1 Pro (Black Forest Labs) er begge modeller i kategorien Bildegenerering. Sammenligningssiden viser prisene og spesifikasjonene deres side ved side.

Sammenlign Stable Diffusion XL og FLUX 1.1 Pro

Hvordan bruker jeg Stable Diffusion XL gjennom API-en?

Opprett en Railwail API-nøkkel og send forespørselen din med modell-ID-en stable-diffusion-xl. Kodeeksempler for curl, Python og JavaScript finnes i API-delen av denne siden.

09

Sammenlignbare modeller

Alle i denne kategorien
  • 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/kjøring

    527 % dyrere per enhet

    Sammenlign Stable Diffusion XL og 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/kjøring

    5 500 % dyrere per enhet

    Sammenlign Stable Diffusion XL og 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/kjøring

    267 % dyrere per enhet

    Sammenlign Stable Diffusion XL og Sticker Maker

Bruk Stable Diffusion XL via APIen

Én API-nøkkel for alle modeller på Railwail. Bruk belastes fra forhåndsbetalt kreditt, 1 kreditt = 0,01 USD.