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

flux-schnell

flux-schnell

Flux Schnell | Fast AI Image Generation. Generate images quickly from text prompts with Flux Schnell in just 4 steps. Triggers: flux schnell, fast image, quick generation, text to image, flux fast

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: flux-schnell description: "Flux Schnell | Fast AI Image Generation. Generate images quickly from text prompts with Flux Schnell in just 4 steps. Triggers: flux schnell, fast image, quick generation, text to image, flux fast" allowed-tools: Bash(curl *), WebFetch

Flux Schnell

Generate images quickly from text prompts with Flux Schnell. Optimized for speed with just 4 denoising steps, making it 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": "flux-schnell",
    "version": "0.0.1",
    "input": {
      "prompt": "a cozy reading nook with floor-to-ceiling bookshelves, warm afternoon light streaming through a window",
      "aspect_ratio": "1:1",
      "num_inference_steps": 4,
      "output_format": "webp"
    }
  }'

Parameters

ParameterTypeDefaultDescription
aspect_ratiostring1:1Output aspect ratio. enum: 1:1, 16:9, 21:9, 3:2, 2:3, 4:5, 5:4, 3:4, 4:3, 9:16, 9:21
disable_safety_checkerbooleantrueDisable safety checker for generated images
go_fastbooleantrueRun faster with fp8 quantized model optimized for speed
megapixelsstring1Resolution scale. enum: 1, 0.25
num_inference_stepsinteger4Number of denoising steps
num_outputsinteger1Number of images to generate
output_formatstringwebpOutput format. enum: webp, jpg, png
output_qualityinteger80Quality when saving output images, from 0 to 100
promptstring-Prompt for generated image
seedinteger-Random seed. Set for reproducible generation

Examples

Quick batch generation:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "flux-schnell",
    "version": "0.0.1",
    "input": {
      "prompt": "a minimalist logo design for a tech startup, clean lines, modern typography",
      "aspect_ratio": "1:1",
      "num_outputs": 4,
      "num_inference_steps": 4,
      "output_format": "png"
    }
  }'

Widescreen cinematic:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "flux-schnell",
    "version": "0.0.1",
    "input": {
      "prompt": "an epic battle scene between samurai warriors on a misty bridge, cinematic composition, dramatic lighting",
      "aspect_ratio": "21:9",
      "num_inference_steps": 4,
      "go_fast": true,
      "seed": 42
    }
  }'

Related Models

Documentation

Skills enregistrées