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-2-pro-edit

flux-2-pro-edit

Flux 2 Pro | Edit. Professional-grade image editing with text prompts. Triggers: image editing, flux, pro, photo edit, professional

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: flux-2-pro-edit description: "Flux 2 Pro | Edit. Professional-grade image editing with text prompts. Triggers: image editing, flux, pro, photo edit, professional" allowed-tools: Bash(curl *), WebFetch

Flux 2 Pro | Edit

Professional-grade image editing using text prompts with Flux 2 Pro. Streamlined parameter set focused on quality output with configurable safety tolerance.

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-2-pro-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "remove the person in the background, fill with natural scenery",
      "image_urls": ["https://example.com/photo.jpg"],
      "image_size": "auto"
    }
  }'

Parameters

ParameterTypeDefaultDescription
enable_safety_checkerbooleantrueWhether to enable the safety checker.
image_sizestringautoThe size of the generated image. enum: auto, square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9
image_urlsarrayList of URLs of input images for editing.
output_formatstringjpegThe format of the generated image. enum: jpeg, png
promptstringThe prompt to generate an image from.
safety_tolerancestring2The safety tolerance level. 1 is most strict, 5 is most permissive. enum: 1, 2, 3, 4, 5
seedintegerThe seed to use for the generation.

Examples

Object removal:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "flux-2-pro-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "remove the parked car from the driveway, fill with grass",
      "image_urls": ["https://example.com/house.jpg"],
      "image_size": "landscape_4_3",
      "output_format": "png"
    }
  }'

Color grading edit:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "flux-2-pro-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "apply warm golden hour color grading, enhance contrast",
      "image_urls": ["https://example.com/cityscape.jpg"],
      "image_size": "auto",
      "seed": 42
    }
  }'

Related Models

Documentation

Skills enregistrées