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
| Parameter |
Type |
Default |
Description |
| aspect_ratio |
string |
match_input_image |
Output 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_1 |
string |
- |
First input image. Must be jpeg, png, gif, or webp |
| input_image_2 |
string |
- |
Second input image. Must be jpeg, png, gif, or webp |
| output_format |
string |
png |
Output format. Options: jpg, png |
| prompt |
string |
- |
Text description of how to combine or transform the images |
| safety_tolerance |
integer |
2 |
Safety tolerance, 0 is most strict and 2 is most permissive |
| seed |
integer |
- |
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
1---2name: multi-image-kontext-pro3description: 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 edit4---56# Flux Kontext | Pro | Multi Image78Combine and transform multiple images using Flux Kontext Pro. Professional-grade multi-image operations with two input images, text-guided combination, and high-quality output.910## Quick Start1112> Requires an each::labs API key. Get one at [eachlabs.ai](https://eachlabs.ai).1314```bash15curl -X POST https://api.eachlabs.ai/v1/prediction \16 -H "Content-Type: application/json" \17 -H "X-API-Key: $EACHLABS_API_KEY" \18 -d '{19 "model": "multi-image-kontext-pro",20 "version": "0.0.1",21 "input": {22 "input_image_1": "https://example.com/product.jpg",23 "input_image_2": "https://example.com/background.jpg",24 "prompt": "Place the product from the first image onto the background from the second image with soft studio lighting"25 }26 }'27```2829## Parameters3031| Parameter | Type | Default | Description |32|-----------|------|---------|-------------|33| aspect_ratio | string | match_input_image | Output 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` |34| input_image_1 | string | - | First input image. Must be jpeg, png, gif, or webp |35| input_image_2 | string | - | Second input image. Must be jpeg, png, gif, or webp |36| output_format | string | png | Output format. Options: `jpg`, `png` |37| prompt | string | - | Text description of how to combine or transform the images |38| safety_tolerance | integer | 2 | Safety tolerance, 0 is most strict and 2 is most permissive |39| seed | integer | - | Random seed for reproducible generation |4041## Examples4243**Merge outfit onto person:**44```bash45curl -X POST https://api.eachlabs.ai/v1/prediction \46 -H "Content-Type: application/json" \47 -H "X-API-Key: $EACHLABS_API_KEY" \48 -d '{49 "model": "multi-image-kontext-pro",50 "version": "0.0.1",51 "input": {52 "input_image_1": "https://example.com/model.jpg",53 "input_image_2": "https://example.com/dress.jpg",54 "prompt": "Put the outfit from the second image on the person in the first image, natural pose, professional fashion photography",55 "aspect_ratio": "3:4",56 "output_format": "png"57 }58 }'59```6061**Combine elements from two scenes:**62```bash63curl -X POST https://api.eachlabs.ai/v1/prediction \64 -H "Content-Type: application/json" \65 -H "X-API-Key: $EACHLABS_API_KEY" \66 -d '{67 "model": "multi-image-kontext-pro",68 "version": "0.0.1",69 "input": {70 "input_image_1": "https://example.com/car.jpg",71 "input_image_2": "https://example.com/mountain-road.jpg",72 "prompt": "The car from image one driving on the mountain road from image two, cinematic shot",73 "aspect_ratio": "16:9",74 "seed": 789075 }76 }'77```7879## Related Models8081- [Flux Kontext | Max | Multi Image](../multi-image-kontext-max/) - Highest quality multi-image82- [Flux Multi Image Kontext](../multi-image-kontext/) - Standard multi-image (up to 4 images)83- [Flux.1 Kontext | Pro](../flux-kontext-pro/) - Single-image Kontext Pro8485## Documentation8687- [each::labs Docs](https://docs.eachlabs.ai)88- [API Reference](https://docs.eachlabs.ai/api/overview)