L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Productivité · SKILL.md

sdxl-lightning-4step

sdxl-lightning-4step

SDXL-Lightning by ByteDance | Ultra-Fast Image Generation. Generate images in just 4 steps with SDXL Lightning. Triggers: sdxl lightning, bytedance, fast sdxl, 4 step, quick image generation

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: sdxl-lightning-4step description: "SDXL-Lightning by ByteDance | Ultra-Fast Image Generation. Generate images in just 4 steps with SDXL Lightning. Triggers: sdxl lightning, bytedance, fast sdxl, 4 step, quick image generation" allowed-tools: Bash(curl *), WebFetch

SDXL-Lightning by ByteDance

Generate images in just 4 steps with SDXL Lightning by ByteDance. Optimized for ultra-fast generation while maintaining quality, ideal for rapid prototyping and real-time applications.

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "sdxl-lightning-4step",
    "version": "0.0.1",
    "input": {
      "prompt": "A superhero smiling, bright colors, dynamic pose",
      "width": 1024,
      "height": 1024,
      "num_inference_steps": 4,
      "scheduler": "K_EULER"
    }
  }'

Parameters

ParameterTypeDefaultDescription
disable_safety_checkerbooleantrueDisable safety checker for generated images
guidance_scalenumber0Controls how much to follow the prompt vs generating creatively
heightinteger1024Height of generated image
negative_promptstringworst quality, low qualityExclude from generated content
num_inference_stepsinteger4Number of processing steps
num_outputsinteger1Number of outputs to generate
promptstringA superhero smilingText prompt for generation
schedulerstringK_EULERScheduler. enum: DDIM, DPMSolverMultistep, HeunDiscrete, KarrasDPM, K_EULER_ANCESTRAL, K_EULER, PNDM, DPM++2MSDE
seedinteger-Random seed for reproducibility
widthinteger1024Width of generated image

Examples

Batch fast generation:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "sdxl-lightning-4step",
    "version": "0.0.1",
    "input": {
      "prompt": "a cute robot character, 3D render, Pixar style, colorful, detailed",
      "negative_prompt": "blurry, low quality, distorted, ugly",
      "width": 1024,
      "height": 1024,
      "num_outputs": 4,
      "num_inference_steps": 4,
      "seed": 42
    }
  }'

Portrait with custom scheduler:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "sdxl-lightning-4step",
    "version": "0.0.1",
    "input": {
      "prompt": "a beautiful woman with flowing red hair, dramatic lighting, professional photography",
      "width": 768,
      "height": 1024,
      "num_inference_steps": 4,
      "scheduler": "DPMSolverMultistep"
    }
  }'

Related Models

Documentation

Skills enregistrées