Stable Diffusion XL

توليد الصورمتاح
من Stability AIمعرّف النموذج: stable-diffusion-xl

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

السعر
≈ ‏0.0015 US$/تشغيل
Input → output
نص → صورة
مطور
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 ث على L40S)‏0.0015 US$ لكل تشغيل
وقت GPU (L40S)‏0.00117 US$ لكل ثانية GPU
  • يتم الفرز بناءً على وقت GPU الذي يستغرقه التشغيل فعلياً. عند بدء التشغيل، يتم حجز 3× السعر النموذجي من رصيدك ويتم تسويته لاحقاً.
  • 1 رصيد = ‏0.01 US$

حاسبة التكلفة

حاسبة الأسعار

s

نموذجي وفقاً للمزود: حوالي 1.2 ث

الإجمالي

‏0.15 US$

15 رصيد

لكل تشغيل

‏0.0015 US$ · 0.15 رصيد

يتم الفرض بناءً على وقت GPU الفعلي؛ هذا تقدير.

05

API

استدعِ Stable Diffusion XL باستخدام مفتاح Railwail API الخاص بك. استخدم معرّف النموذج هذا في الطلب:
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

المواصفات

معرّف النموذج
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 وأرسل طلبك باستخدام معرّف النموذج 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$.