인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

flux-2-klein-4b-edit

flux-2-klein-4b-edit

Flux 2 | Klein | 4B | Edit. Edit images with the enhanced Flux Klein 4B model with acceleration support. Triggers: image editing, flux edit, fast edit, ai modify

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: flux-2-klein-4b-edit description: "Flux 2 | Klein | 4B | Edit. Edit images with the enhanced Flux Klein 4B model with acceleration support. Triggers: image editing, flux edit, fast edit, ai modify" allowed-tools: Bash(curl *), WebFetch

Flux 2 | Klein | 4B | Edit

Edit images using the enhanced Flux 2 Klein 4B model with acceleration support. Combines the speed of the 4B architecture with configurable acceleration levels for optimized performance.

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-klein-4b-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "Remove the person from the background and fill with natural scenery",
      "image_urls": ["https://example.com/photo.jpg"],
      "image_size": "landscape_16_9",
      "num_inference_steps": 4,
      "output_format": "png"
    }
  }'

Parameters

ParameterTypeDefaultDescription
accelerationstringregularThe acceleration level to use for image generation. Options: none, regular, high
enable_safety_checkerbooleantrueIf set to true, the safety checker will be enabled.
image_sizestringlandscape_16_9The size of the generated image. 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.
num_inference_stepsinteger4The number of inference steps to perform.
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

Fast edit with high 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-klein-4b-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "Add fairy lights to the trees in the garden",
      "image_urls": ["https://example.com/garden.jpg"],
      "acceleration": "high"
    }
  }'

Detailed edit with more steps:

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-klein-4b-edit",
    "version": "0.0.1",
    "input": {
      "prompt": "Transform the modern building into a medieval castle",
      "image_urls": ["https://example.com/building.jpg"],
      "acceleration": "none",
      "num_inference_steps": 8,
      "image_size": "square_hd",
      "output_format": "jpeg",
      "seed": 999
    }
  }'

Related Models

Documentation

저장한 Skills