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

flux-2-flex-edit

Flux 2 | Flex | Edit. Edit images with flexible guidance scale and prompt expansion. Triggers: image editing, flux, flex, photo edit, inpainting

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentación de la Skill

GitHub

name: flux-2-flex-edit description: "Flux 2 | Flex | Edit. Edit images with flexible guidance scale and prompt expansion. Triggers: image editing, flux, flex, photo edit, inpainting" allowed-tools: Bash(curl *), WebFetch

Flux 2 | Flex | Edit

Edit images using text prompts with Flux 2 Flex. Features flexible guidance scale control, prompt expansion, and configurable safety tolerance 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-flex-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "add a dramatic sunset sky in the background",
      "image_urls": ["https://example.com/photo.jpg"],
      "guidance_scale": 3.5,
      "image_size": "auto"
    }
  }'

Parameters

ParameterTypeDefaultDescription
enable_prompt_expansionbooleantrueWhether to expand the prompt using the model's own knowledge.
enable_safety_checkerbooleantrueWhether to enable the safety checker.
guidance_scalenumber3.5The guidance scale to use for the generation.
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.
num_inference_stepsinteger28The number of inference steps to perform.
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

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-2-flex-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "replace the background with a tropical beach at sunset",
      "image_urls": ["https://example.com/portrait.jpg"],
      "guidance_scale": 4.0,
      "image_size": "portrait_4_3",
      "output_format": "png",
      "num_inference_steps": 30
    }
  }'

Style modification with seed:

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-flex-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "convert to watercolor painting, soft brush strokes",
      "image_urls": ["https://example.com/landscape.jpg"],
      "guidance_scale": 5.0,
      "enable_prompt_expansion": false,
      "seed": 42
    }
  }'

Related Models

Documentation

Skills guardadas