Stable Diffusion XL

Generación de imágenesDisponible
de Stability AIID del modelo: stable-diffusion-xl

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

Precio
≈ USD 0.0015/ejecución
Entrada → Salida
Texto → Imagen
Desarrollador
Stability AI
Actualizado
23 de septiembre de 2026
01

Playground

Probar Stable Diffusion XL

Entrada y salida

≈ USD 0.0015/ejecución
Probar Stable Diffusion XL
Configuración avanzada (3)
Resultado
Tu imagen aparece aquí.

Esta ejecución

aprox. USD 0.0015 · 0.15 créditos

Se reservan USD 0.0044 (0.44 créditos) al inicio; se factura el tiempo real de GPU.

¿Nuevo aquí?

10 créditos gratis (USD 0.10) cuando te registras con Google

Utilizable 24 horas después del registro, hasta 5 ejecuciones por día y como máximo 2 créditos por ejecución. Otros métodos de inicio de sesión comienzan sin créditos. Suficiente para 22 ejecuciones de este 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 ejemplo

Ejemplos del catálogo de Railwail. No fueron generados en vivo en esta 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

Acerca de Stable Diffusion XL

ResumenA partir de 23 de septiembre de 2026

Stable Diffusion XL es un modelo de Stability AI en la categoría Generación de imágenes. En Railwail, Stable Diffusion XL cuesta ≈ USD 0.0015 por ejecución.

Fondo

Acerca de Stability AI

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

Visitar Stability AI

Arquitectura

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.

Entrenamiento y licencia

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.

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

Pruebas de seguridad: 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.

Limitaciones conocidas

  • 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

Precios

Precios en dólares estadounidenses. El uso se cobra con créditos prepagados.
Ejecución típica (≈ 1 s en L40S)USD 0.0015 por ejecución
Tiempo de GPU (L40S)USD 0.00117 por segundo de GPU
  • Se factura por el tiempo de GPU que realmente toma la ejecución. Cuando comienza la ejecución, se reserva 3× el precio típico de tu saldo y se liquida después.
  • 1 crédito = USD 0.01

Calculadora de costos

Calculadora de precios

s

Típico según el proveedor: aprox. 1.2 s

Total

USD 0.15

15 créditos

Por ejecución

USD 0.0015 · 0.15 créditos

Se factura el tiempo real de GPU; este es un estimado.

05

API

Llama a Stable Diffusion XL con tu clave de API de Railwail. Usa este ID de modelo en la solicitud:
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"
  }'
Establece tu clave como RAILWAIL_API_KEYCrear clave API
06

Especificaciones

ID del modelo
stable-diffusion-xl
Desarrollador
Stability AI
Entrada
Texto
Salida
Imagen
Formatos de salida
WEBP, JPG, PNG
Facturación
Por uso (tokens o tiempo de GPU)
Tamaño del modelo
~3.5B base U-Net + 6.6B refiner = ~10.1B total
Licencia
CreativeML Open RAIL++-M license — open weights with usage restrictions (no NCII, CSAM, etc.). Commercial use permitted with these restrictions.
Entrada del catálogo actualizada
23 de septiembre de 2026

Parámetros de entrada

Entradas y configuraciones del esquema de entrada del modelo. El ejemplo en la sección API muestra cuáles de ellas acepta la API.

  • promptrequerido
    Tipo: Texto
    Predeterminado: –
    Valores permitidos: –
  • width
    Tipo: Opción
    Predeterminado: 1024
    Valores permitidos: 512, 768 o 1024
  • height
    Tipo: Opción
    Predeterminado: 1024
    Valores permitidos: 512, 768 o 1024
  • negative_prompt
    Tipo: Texto
    Predeterminado: –
    Valores permitidos: –

Etiquetas

  • open-source
  • customizable
07

Casos de uso

Para qué se utiliza

  • 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

Preguntas frecuentes

¿Qué es Stable Diffusion XL?

Stable Diffusion XL es un modelo de Stability AI en la categoría Generación de imágenes. En Railwail puedes llamarlo con una clave API a través de la API de Railwail.

¿Cuánto cuesta Stable Diffusion XL en Railwail?

En Railwail, Stable Diffusion XL cuesta ≈ USD 0.0015 por ejecución. Se te cobra por lo que cada solicitud realmente usa. El uso se paga con créditos prepagados; 1 crédito equivale a USD 0.01.

¿Qué configuraciones admite Stable Diffusion XL?

Según su esquema de entrada, Stable Diffusion XL conoce estos parámetros: prompt, width (512, 768 o 1024), height (512, 768 o 1024) y negative_prompt.

¿Qué tan rápido es Stable Diffusion XL?

Aún no hay suficientes ejecuciones medidas de Stable Diffusion XL en Railwail para indicar un tiempo de ejecución. Depende de la entrada, la configuración y la carga en el proveedor.

¿Es Stable Diffusion XL mejor que FLUX 1.1 Pro?

Eso depende de la tarea. Stable Diffusion XL (Stability AI) y FLUX 1.1 Pro (Black Forest Labs) son ambos modelos en la categoría Generación de imágenes. La página de comparación muestra sus precios y especificaciones lado a lado.

Comparar Stable Diffusion XL y FLUX 1.1 Pro

¿Cómo uso Stable Diffusion XL a través de la API?

Crea una clave API de Railwail y envía tu solicitud con el ID de modelo stable-diffusion-xl. Los ejemplos de código para curl, Python y JavaScript están en la sección API de esta página.

09

Modelos comparables

Todos en esta categoría
  • 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.

    ≈ USD 0.0094/ejecución

    527 % más caro por unidad

    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.

    ≈ USD 0.084/ejecución

    5,500 % más caro por unidad

    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.

    ≈ USD 0.0055/ejecución

    267 % más caro por unidad

    Comparar Stable Diffusion XL vs. Sticker Maker

Usar Stable Diffusion XL a través de la API

Una clave API para todos los modelos en Railwail. El uso se cobra con créditos prepagados, 1 crédito = USD 0.01.