Stable Diffusion XL

Генерирање сликиДостапно
од Stability AIID на модел: stable-diffusion-xl

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

Цена
≈ 0,0015 US$/извршување
Влез → излез
Текст → Слика
Развивач
Stability AI
Ажурирано
23 септември 2026 г.
01

Playground

Пробајте Stable Diffusion XL

Влез и резултат

≈ 0,0015 US$/извршување
Пробајте Stable Diffusion XL
Напредни поставки (3)
Резултат
Твојата слика се појавува овде.

Овој тек

приблизно 0,0015 US$ · 0,15 кредити

0,0044 US$ (0,44 кредити) се резервирани на почетокот; вистинското GPU време се наплачува.

Нов си овде?

10 бесплатни кредити (0,10 US$) кога ќе се регистрираш со Google

Употребливо 24 часа по регистрација, до 5 текови по ден и максимално 2 кредити по тек. Други методи на пријава почнуваат без кредити. Доволно за 22 извршувања на овој модел.

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

Примерни промпти

Примери од каталогот на Railwail. Тие не беа генерирани живо на оваа страница.

  • 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

За Stable Diffusion XL

НакраткоОд 23 септември 2026 г.

Stable Diffusion XL е модел од Stability AI во категоријата Генерирање слики. На Railwail, Stable Diffusion XL чини ≈ 0,0015 US$ по извршување.

Позадина

За Stability AI

Основана 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

Архитектура

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.

Параметри
~3.5B base U-Net + 6.6B refiner = ~10.1B total
Контекст
75 токени

Способности

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

Обука и лиценца

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.

Лиценца: CreativeML Open RAIL++-M license — open weights with usage restrictions (no NCII, CSAM, etc.). Commercial use permitted with these restrictions.

Тестирање на безбедност: 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.

Познати ограничувања

  • 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

Цени

Цени во американски долари. Употребата се наплаќува од подготвени кредити.
Типично извршување (≈ 1 s на L40S)0,0015 US$ по извршување
GPU време (L40S)0,00117 US$ по GPU секунда
  • Се наплаќува според GPU времето што извршувањето всушност го потребува. Кога извршувањето почнува, 3× типичната цена се резервира од вашиот салдо и се пресметува потоа.
  • 1 кредит = 0,01 US$

Калкулатор за трошоци

Калкулатор за цена

s

Типично според добавувачот: околу 1,2 s

Вкупно

0,15 US$

15 кредити

По извршување

0,0015 US$ · 0,15 кредити

Наплачено е вистинското GPU време; ова е проценка.

05

API

Повикајте го Stable Diffusion XL со вашиот Railwail API клуч. Користете го овој ID на моделот во барањето:
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"
  }'
Поставете го вашиот клуч како RAILWAIL_API_KEYСоздајте API клуч
06

Спецификации

ID на моделот
stable-diffusion-xl
Развивач
Stability AI
Влез
Текст
Излез
Слика
Формати на излез
WEBP, JPG, PNG
Наплата
По употреба (токени или GPU време)
Големина на модел
~3.5B base U-Net + 6.6B refiner = ~10.1B total
Лиценца
CreativeML Open RAIL++-M license — open weights with usage restrictions (no NCII, CSAM, etc.). Commercial use permitted with these restrictions.
Каталошка ставка ажурирана
23 септември 2026 г.

Параметри на влез

Влезови и поставки од шемата на влез на моделот. Примерот во делот API покажува кои од нив ги прифаќа API.

  • promptзадолжително
    Тип: Текст
    Стандардно: –
    Дозволени вредности: –
  • width
    Тип: Избор
    Стандардно: 1024
    Дозволени вредности: 512, 768 или 1024
  • height
    Тип: Избор
    Стандардно: 1024
    Дозволени вредности: 512, 768 или 1024
  • negative_prompt
    Тип: Текст
    Стандардно: –
    Дозволени вредности: –

Ознаки

  • open-source
  • customizable
07

Случаи на употреба

За што се користи

  • 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

Често поставувани прашања

Што е Stable Diffusion XL?

Stable Diffusion XL е модел од Stability AI во категоријата Генерирање слики. На Railwail можете да го повикате со API клуч преку Railwail API.

Колку чини Stable Diffusion XL на Railwail?

На Railwail, Stable Diffusion XL чини ≈ 0,0015 US$ по извршување. Се наплаќува за она што секој барање всушност користи. Употребата се плаќа од подготвени кредити; 1 кредит е еднаков на 0,01 US$.

Кои поставки поддржува Stable Diffusion XL?

Според неговата шема за влез, Stable Diffusion XL ги познава овие параметри: prompt, width (512, 768 или 1024), height (512, 768 или 1024) и negative_prompt.

Колку брз е Stable Diffusion XL?

Нема доволно измерени извршувања на Stable Diffusion XL на Railwail за да се наведе време на извршување. Зависи од влезот, поставките и оптеретувањето кај добавувачот.

Дали Stable Diffusion XL е подобар од FLUX 1.1 Pro?

Зависи од задачата. Stable Diffusion XL (Stability AI) и FLUX 1.1 Pro (Black Forest Labs) се обата модели во категоријата Генерирање слики. Страницата за споредба ги покажува нивните цени и спецификации една до друга.

Спореди Stable Diffusion XL и FLUX 1.1 Pro

Како го користам Stable Diffusion XL преку API?

Создајте Railwail API клуч и испратете го вашиот барање со ID на модел stable-diffusion-xl. Примери на код за curl, Python и JavaScript се наоѓаат во API делот на оваа страница.

09
  • 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$/извршување

    527 % поскапо по единица

    Споредете Stable Diffusion XL и 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$/извршување

    5.500 % поскапо по единица

    Споредете Stable Diffusion XL и 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$/извршување

    267 % поскапо по единица

    Споредете Stable Diffusion XL и Sticker Maker

Користете го Stable Diffusion XL преку API

Еден API клуч за секој модел на Railwail. Употребата се наплаќува од подготвени кредити, 1 кредит = 0,01 US$.