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-fill-pro

flux-fill-pro

Flux Fill Pro | AI Inpainting. Fill and replace parts of images using masks with text-guided generation. Triggers: flux fill, inpainting, image fill, mask fill, flux inpaint

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: flux-fill-pro description: "Flux Fill Pro | AI Inpainting. Fill and replace parts of images using masks with text-guided generation. Triggers: flux fill, inpainting, image fill, mask fill, flux inpaint" allowed-tools: Bash(curl *), WebFetch

Flux Fill Pro

Inpaint and fill parts of images using masks with text-guided generation. Flux Fill Pro uses a black-and-white mask to identify areas to regenerate, guided by a text prompt.

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-fill-pro",
    "version": "0.0.1",
    "input": {
      "prompt": "a beautiful flower garden with roses and tulips",
      "image": "https://example.com/garden-photo.jpg",
      "mask": "https://example.com/garden-mask.jpg",
      "guidance": 3,
      "steps": 50
    }
  }'

Parameters

ParameterTypeDefaultDescription
guidancenumber3Controls the balance between adherence to text prompt and image quality
imagestring-The image to inpaint. Can contain an alpha mask
maskstring-A black-and-white image describing the part to inpaint. Black areas are preserved
output_formatstringjpgOutput format. enum: jpg, png
promptstring-Text prompt for image generation
prompt_upsamplingbooleanfalseAutomatically modify the prompt for more creative generation
safety_toleranceinteger2Safety tolerance, 1 is most strict and 6 is most permissive
seedinteger-Random seed. Set for reproducible generation
stepsinteger50Number of diffusion steps. Higher values yield finer details

Examples

Object replacement:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "flux-fill-pro",
    "version": "0.0.1",
    "input": {
      "prompt": "a sleek modern sports car, metallic red, studio lighting",
      "image": "https://example.com/parking-lot.jpg",
      "mask": "https://example.com/car-area-mask.jpg",
      "guidance": 4,
      "steps": 50,
      "output_format": "png"
    }
  }'

Background replacement:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "flux-fill-pro",
    "version": "0.0.1",
    "input": {
      "prompt": "a tropical beach with palm trees and turquoise water, sunny day",
      "image": "https://example.com/person-photo.jpg",
      "mask": "https://example.com/background-mask.jpg",
      "guidance": 3,
      "steps": 40,
      "seed": 99
    }
  }'

Related Models

Documentation

Skills enregistrées