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-turbo-edit

flux-2-turbo-edit

Flux 2 | Turbo | Edit. Edit images with the fast Flux 2 Turbo model with prompt expansion. Triggers: image editing, flux turbo edit, fast edit, ai modify image

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: flux-2-turbo-edit description: "Flux 2 | Turbo | Edit. Edit images with the fast Flux 2 Turbo model with prompt expansion. Triggers: image editing, flux turbo edit, fast edit, ai modify image" allowed-tools: Bash(curl *), WebFetch

Flux 2 | Turbo | Edit

Edit images using the Flux 2 Turbo model with optional prompt expansion for enhanced results. Designed for fast, high-quality image modifications with configurable guidance scale.

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-turbo-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "Add dramatic storm clouds to the sky",
      "image_urls": ["https://example.com/landscape.jpg"],
      "image_size": "square_hd",
      "guidance_scale": 2.5,
      "output_format": "png"
    }
  }'

Parameters

ParameterTypeDefaultDescription
enable_prompt_expansionbooleanfalseIf set to true, the prompt will be expanded for better results.
enable_safety_checkerbooleantrueIf set to true, the safety checker will be enabled.
guidance_scalenumber2.5Guidance scale for how closely the model follows the prompt.
image_sizestringsquare_hdThe size of the image to generate. Options: square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9
image_urlsarray-The URLs of the images for editing. A maximum of 4 images are allowed.
num_imagesinteger1The number of images to generate.
output_formatstringpngThe format of the generated image. Options: jpeg, png, webp
promptstring-The prompt to edit the image.
seedinteger-The seed to use for the generation. If not provided, a random seed will be used.

Examples

Quick 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-turbo-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "Make the person wear a red hat",
      "image_urls": ["https://example.com/portrait.jpg"]
    }
  }'

With prompt expansion and multiple outputs:

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-turbo-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "Turn into cyberpunk style",
      "image_urls": ["https://example.com/city-street.jpg"],
      "enable_prompt_expansion": true,
      "guidance_scale": 3.5,
      "num_images": 2,
      "image_size": "landscape_16_9",
      "output_format": "webp",
      "seed": 42
    }
  }'

Related Models

Documentation

Skills enregistrées