Stable Diffusion XL

Geração de imagensDisponível
por Stability AIID do modelo: stable-diffusion-xl

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

Preço
≈ US$ 0,0015/execução
Entrada → Saída
Texto → Imagem
Desenvolvedor
Stability AI
Atualizado
23 de setembro de 2026
01

Playground

Experimentar Stable Diffusion XL

Entrada & saída

≈ US$ 0,0015/execução
Experimentar Stable Diffusion XL
Configurações avançadas (3)
Resultado
Sua imagem aparece aqui.

Esta execução

cerca de US$ 0,0015 · 0,15 créditos

US$ 0,0044 (0,44 créditos) são reservados no início; o tempo real de GPU é cobrado.

Novo por aqui?

10 créditos grátis (US$ 0,10) ao se inscrever com Google

Utilizável 24 horas após inscrição, até 5 execuções por dia e no máximo 2 créditos por execução. Outros métodos de login começam sem créditos. Suficiente para 22 execuções deste modelo.

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 de exemplo

Exemplos do catálogo Railwail. Eles não foram gerados ao vivo nesta página.

  • 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

Sobre Stable Diffusion XL

ResumoA partir de 23 de setembro de 2026

Stable Diffusion XL é um modelo de Stability AI na categoria Geração de imagens. No Railwail, Stable Diffusion XL custa ≈ US$ 0,0015 por execução.

Fundo

Sobre Stability AI

Fundado em 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.

Visite Stability AI

Arquitetura

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.

Parâmetros
~3.5B base U-Net + 6.6B refiner = ~10.1B total
Contexto
75 tokens

Capacidades

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

Treinamento & licença

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.

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

Testes de segurança: 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.

Limitações conhecidas

  • 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

Preços

Preços em dólares americanos. O uso é cobrado a partir de créditos pré-pagos.
Execução típica (≈ 1 s em L40S)US$ 0,0015 por execução
Tempo de GPU (L40S)US$ 0,00117 por segundo de GPU
  • Faturado pelo tempo de GPU que a execução realmente leva. Quando a execução começa, 3× o preço típico é reservado do seu saldo e liquidado depois.
  • 1 crédito = US$ 0,01

Calculadora de custos

Calculadora de preços

s

Típico conforme o provedor: cerca de 1,2 s

Total

US$ 0,15

15 créditos

Por execução

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

Faturado pelo tempo real de GPU; este é uma estimativa.

05

API

Chame Stable Diffusion XL com sua chave de API Railwail. Use este ID de modelo na solicitação:
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"
  }'
Defina sua chave como RAILWAIL_API_KEYCriar chave de API
06

Especificações

ID do modelo
stable-diffusion-xl
Desenvolvedor
Stability AI
Entrada
Texto
Saída
Imagem
Formatos de saída
WEBP, JPG, PNG
Faturamento
Por uso (tokens ou tempo de GPU)
Tamanho do modelo
~3.5B base U-Net + 6.6B refiner = ~10.1B total
Licença
CreativeML Open RAIL++-M license — open weights with usage restrictions (no NCII, CSAM, etc.). Commercial use permitted with these restrictions.
Entrada do catálogo atualizada
23 de setembro de 2026

Parâmetros de entrada

Entradas e configurações do esquema de entrada do modelo. O exemplo na seção API mostra quais delas a API aceita.

  • promptobrigatório
    Tipo: Texto
    Padrão: –
    Valores permitidos: –
  • width
    Tipo: Escolha
    Padrão: 1024
    Valores permitidos: 512, 768 ou 1024
  • height
    Tipo: Escolha
    Padrão: 1024
    Valores permitidos: 512, 768 ou 1024
  • negative_prompt
    Tipo: Texto
    Padrão: –
    Valores permitidos: –

Etiquetas

  • open-source
  • customizable
07

Casos de uso

Para que é utilizado

  • 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

Perguntas frequentes

O que é Stable Diffusion XL?

Stable Diffusion XL é um modelo de Stability AI na categoria Geração de imagens. No Railwail você pode chamá-lo com uma chave de API através da API Railwail.

Quanto custa Stable Diffusion XL no Railwail?

No Railwail, Stable Diffusion XL custa ≈ US$ 0,0015 por execução. Você é cobrado pelo que cada solicitação realmente usa. O uso é pago com créditos pré-pagos; 1 crédito equivale a US$ 0,01.

Quais configurações Stable Diffusion XL suporta?

De acordo com seu esquema de entrada, Stable Diffusion XL conhece estes parâmetros: prompt, width (512, 768 ou 1024), height (512, 768 ou 1024) e negative_prompt.

Qual é a velocidade de Stable Diffusion XL?

Ainda não há execuções medidas suficientes de Stable Diffusion XL no Railwail para indicar um tempo de execução. Depende da entrada, das configurações e da carga no provedor.

Stable Diffusion XL é melhor que FLUX 1.1 Pro?

Depende da tarefa. Stable Diffusion XL (Stability AI) e FLUX 1.1 Pro (Black Forest Labs) são ambos modelos na categoria Geração de imagens. A página de comparação mostra seus preços e especificações lado a lado.

Comparar Stable Diffusion XL e FLUX 1.1 Pro

Como uso Stable Diffusion XL através da API?

Crie uma chave de API Railwail e envie sua solicitação com o ID do modelo stable-diffusion-xl. Exemplos de código para curl, Python e JavaScript estão na seção API desta página.

09

Modelos comparáveis

Todos nesta 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.

    ≈ US$ 0,0094/execução

    527 % mais caro por unidade

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

    ≈ US$ 0,084/execução

    5.500 % mais caro por unidade

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

    ≈ US$ 0,0055/execução

    267 % mais caro por unidade

    Comparar Stable Diffusion XL vs. Sticker Maker

Usar Stable Diffusion XL via API

Uma chave API para todos os modelos no Railwail. O uso é cobrado a partir de créditos pré-pagos, 1 crédito = US$ 0,01.