界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

multi-image-kontext-pro

multi-image-kontext-pro

【效率与协作】Flux Kontext | Pro | Multi Image. Combine and transform multiple images using Flux Kontext Pro. Professional multi-image AI editing. Triggers: flux kontext pro multi, multi image kontext pro, combine images pro, flux pro multi image, kontext pro edit

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: multi-image-kontext-pro description: "Flux Kontext | Pro | Multi Image. Combine and transform multiple images using Flux Kontext Pro. Professional multi-image AI editing. Triggers: flux kontext pro multi, multi image kontext pro, combine images pro, flux pro multi image, kontext pro edit" allowed-tools: Bash(curl *), WebFetch

Flux Kontext | Pro | Multi Image

Combine and transform multiple images using Flux Kontext Pro. Professional-grade multi-image operations with two input images, text-guided combination, and high-quality output.

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": "multi-image-kontext-pro",
    "version": "0.0.1",
    "input": {
      "input_image_1": "https://example.com/product.jpg",
      "input_image_2": "https://example.com/background.jpg",
      "prompt": "Place the product from the first image onto the background from the second image with soft studio lighting"
    }
  }'

Parameters

ParameterTypeDefaultDescription
aspect_ratiostringmatch_input_imageOutput aspect ratio. Options: match_input_image, 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 4:5, 5:4, 21:9, 9:21, 2:1, 1:2
input_image_1string-First input image. Must be jpeg, png, gif, or webp
input_image_2string-Second input image. Must be jpeg, png, gif, or webp
output_formatstringpngOutput format. Options: jpg, png
promptstring-Text description of how to combine or transform the images
safety_toleranceinteger2Safety tolerance, 0 is most strict and 2 is most permissive
seedinteger-Random seed for reproducible generation

Examples

Merge outfit onto person:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "multi-image-kontext-pro",
    "version": "0.0.1",
    "input": {
      "input_image_1": "https://example.com/model.jpg",
      "input_image_2": "https://example.com/dress.jpg",
      "prompt": "Put the outfit from the second image on the person in the first image, natural pose, professional fashion photography",
      "aspect_ratio": "3:4",
      "output_format": "png"
    }
  }'

Combine elements from two scenes:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "multi-image-kontext-pro",
    "version": "0.0.1",
    "input": {
      "input_image_1": "https://example.com/car.jpg",
      "input_image_2": "https://example.com/mountain-road.jpg",
      "prompt": "The car from image one driving on the mountain road from image two, cinematic shot",
      "aspect_ratio": "16:9",
      "seed": 7890
    }
  }'

Related Models

Documentation

我的收藏