La interfaz está localizada; las descripciones y documentos de las Skills se traducen automáticamente con IA a su idioma. El código, los comandos, rutas y términos técnicos se mantienen en el original, y prevalece el documento del autor.
Explorar Skills
Productividad · SKILL.md

flux-2-edit

flux-2-edit

Flux 2 | Edit. Edit images with text prompts and configurable guidance. Triggers: image editing, flux, photo edit, inpainting

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentación de la Skill

GitHub

name: flux-2-edit description: "Flux 2 | Edit. Edit images with text prompts and configurable guidance. Triggers: image editing, flux, photo edit, inpainting" allowed-tools: Bash(curl *), WebFetch

Flux 2 | Edit

Edit images using text prompts with Flux 2. Supports up to 3 input images, configurable guidance scale, and acceleration levels.

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-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "add a colorful hot air balloon to the sky",
      "image_urls": ["https://example.com/landscape.jpg"],
      "guidance_scale": 2.5,
      "image_size": "landscape_4_3"
    }
  }'

Parameters

ParameterTypeDefaultDescription
accelerationstringregularThe acceleration level to use. enum: none, regular, high
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 controls how closely the model follows your prompt.
image_sizestringsquare_hdThe size of the image to generate. enum: square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9
image_urlsarrayThe URLs of the images for editing. Maximum of 3 images.
num_imagesinteger1The number of images to generate.
num_inference_stepsinteger28The number of inference steps to perform.
output_formatstringpngThe format of the generated image. enum: jpeg, png, webp
promptstringThe prompt to edit the image.
seedintegerThe seed to use for the generation.

Examples

Object addition:

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-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "add a small wooden bridge over the stream",
      "image_urls": ["https://example.com/garden.jpg"],
      "guidance_scale": 3.0,
      "image_size": "landscape_4_3",
      "output_format": "png",
      "num_inference_steps": 30
    }
  }'

Fast editing with acceleration:

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-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "change the wall color to warm terracotta",
      "image_urls": ["https://example.com/room.jpg"],
      "acceleration": "high",
      "num_images": 2,
      "seed": 42
    }
  }'

Related Models

Documentation

Skills guardadas