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

black-forest-labs-flux-dev-lora

black-forest-labs-flux-dev-lora

Black Forest Labs | Flux Dev Lora. Generate images with Flux Dev and LoRA weights from multiple sources. Triggers: text to image, flux dev, lora, bfl, image generation, civitai, huggingface

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: black-forest-labs-flux-dev-lora description: "Black Forest Labs | Flux Dev Lora. Generate images with Flux Dev and LoRA weights from multiple sources. Triggers: text to image, flux dev, lora, bfl, image generation, civitai, huggingface" allowed-tools: Bash(curl *), WebFetch

Black Forest Labs | Flux Dev Lora

Generate images with Flux Dev model and custom LoRA weights from Replicate, HuggingFace, CivitAI, or direct URLs. Supports image-to-image mode and multiple output formats.

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": "black-forest-labs-flux-dev-lora",
    "version": "0.0.1",
    "input": {
      "prompt": "a serene lake at twilight with reflections, photorealistic",
      "lora_weights": "https://example.com/nature-lora.safetensors",
      "lora_scale": 0.8,
      "aspect_ratio": "16:9",
      "guidance": 3
    }
  }'

Parameters

ParameterTypeDefaultDescription
aspect_ratiostring1:1Aspect ratio of the output. enum: 1:1, 16:9, 21:9, 3:2, 2:3, 4:5, 5:4, 3:4, 4:3, 9:16, 9:21
civitai_api_tokenstringCivitAI API token for authenticated LoRA downloads.
disable_safety_checkerbooleanfalseDisable safety checker for generated images.
extra_lorastringAdditional LoRA weights URL. Supports Replicate and HuggingFace formats.
extra_lora_scalenumber1Scale for the extra LoRA (0-2).
go_fastbooleanfalseRun with fp8 quantized model for faster predictions.
guidancenumber3Guidance scale for generated image.
hf_api_tokenstringHuggingFace API token for authenticated LoRA downloads.
imagestringInput image for image-to-image mode. Output matches input aspect ratio.
lora_scalenumber1Scale for the main LoRA (0-2).
lora_weightsstringMain LoRA weights. Supports Replicate, HuggingFace, CivitAI, or URL.
megapixelsstring1Output megapixels. enum: 1, 0.25
num_inference_stepsinteger28Number of denoising steps (28-50 recommended).
num_outputsinteger1Number of outputs to generate.
output_formatstringwebpOutput format. enum: webp, jpg, png
output_qualityinteger80Quality for output images (0-100).
promptstringPrompt for generated image.
prompt_strengthnumber0.8Prompt strength for img2img mode (1.0 = full destruction).
seedintegerRandom seed for reproducible generation.

Examples

LoRA from HuggingFace:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "black-forest-labs-flux-dev-lora",
    "version": "0.0.1",
    "input": {
      "prompt": "anime girl in a cherry blossom garden, detailed",
      "lora_weights": "username/anime-style-lora",
      "lora_scale": 0.9,
      "aspect_ratio": "3:4",
      "num_inference_steps": 30,
      "output_format": "png"
    }
  }'

Image-to-image with dual LoRAs:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "black-forest-labs-flux-dev-lora",
    "version": "0.0.1",
    "input": {
      "prompt": "vintage film photography style, warm tones",
      "image": "https://example.com/input-photo.jpg",
      "lora_weights": "https://example.com/vintage-lora.safetensors",
      "lora_scale": 0.7,
      "extra_lora": "https://example.com/film-grain-lora.safetensors",
      "extra_lora_scale": 0.5,
      "prompt_strength": 0.6,
      "seed": 42
    }
  }'

Related Models

Documentation

Skills enregistrées