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-kontext-dev-lora

flux-kontext-dev-lora

Flux.1 Kontext Dev Lora. Generate and edit images using Flux Kontext Dev with custom LoRA weights. Fine-tuned image generation with custom styles. Triggers: flux kontext lora, flux dev lora, kontext lora, custom style image, lora image generation, flux lora

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: flux-kontext-dev-lora description: "Flux.1 Kontext Dev Lora. Generate and edit images using Flux Kontext Dev with custom LoRA weights. Fine-tuned image generation with custom styles. Triggers: flux kontext lora, flux dev lora, kontext lora, custom style image, lora image generation, flux lora" allowed-tools: Bash(curl *), WebFetch

Flux.1 Kontext Dev Lora

Generate and edit images using Flux Kontext Dev with custom LoRA (Low-Rank Adaptation) weights. Apply custom fine-tuned styles by providing a LoRA weights URL along with a prompt and optional reference image.

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-kontext-dev-lora",
    "version": "0.0.1",
    "input": {
      "prompt": "A futuristic city skyline at sunset in the style of TOK",
      "lora_path": "https://example.com/my-custom-lora.safetensors",
      "lora_weight": 1
    }
  }'

Parameters

ParameterTypeDefaultDescription
enable_safety_checkerbooleanfalseEnable content safety checking
image_urlstring-URL of an input image for image-to-image editing
lora_pathstring-URL or path to the LoRA weights file
lora_weightnumber1Strength of the LoRA effect (0 to 1+)
promptstring-Text prompt for generation
seedinteger-Random seed for reproducible results

Examples

Generate with custom LoRA style:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "flux-kontext-dev-lora",
    "version": "0.0.1",
    "input": {
      "prompt": "A majestic lion portrait in the style of TOK, highly detailed",
      "lora_path": "https://huggingface.co/user/model/resolve/main/lora.safetensors",
      "lora_weight": 0.8,
      "seed": 42
    }
  }'

Edit an image with LoRA style:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "flux-kontext-dev-lora",
    "version": "0.0.1",
    "input": {
      "image_url": "https://example.com/photo.jpg",
      "prompt": "Transform this photo into the style of TOK, vibrant colors",
      "lora_path": "https://example.com/art-style-lora.safetensors",
      "lora_weight": 1.2
    }
  }'

Related Models

Documentation

Skills enregistrées