Flux Kontext | Max | Multi Image
Combine and transform multiple images using Flux Kontext Max. The highest quality tier for multi-image operations, supporting two input images with text-guided combination, style transfer, and transformation.
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-max",
"version": "0.0.1",
"input": {
"input_image_1": "https://example.com/person.jpg",
"input_image_2": "https://example.com/landscape.jpg",
"prompt": "Place the person from the first image into the landscape from the second image, natural lighting, seamless blend",
"aspect_ratio": "16:9"
}
}'
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
Combine person with new background:
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-max",
"version": "0.0.1",
"input": {
"input_image_1": "https://example.com/headshot.jpg",
"input_image_2": "https://example.com/office-bg.jpg",
"prompt": "Place the person from the first image in the office setting from the second image, professional look",
"output_format": "png",
"seed": 42
}
}'
Style transfer between images:
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-max",
"version": "0.0.1",
"input": {
"input_image_1": "https://example.com/photo.jpg",
"input_image_2": "https://example.com/painting-style.jpg",
"prompt": "Apply the artistic style from the second image to the content of the first image",
"aspect_ratio": "1:1"
}
}'
Related Models
Documentation
1---2name: multi-image-kontext-max3description: Flux Kontext | Max | Multi Image. Combine and transform multiple images using Flux Kontext Max. Highest quality multi-image AI editing. Triggers: flux kontext max multi, multi image kontext max, combine images max, flux max multi image, kontext max edit4---56# Flux Kontext | Max | Multi Image78Combine and transform multiple images using Flux Kontext Max. The highest quality tier for multi-image operations, supporting two input images with text-guided combination, style transfer, and transformation.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-max",20 "version": "0.0.1",21 "input": {22 "input_image_1": "https://example.com/person.jpg",23 "input_image_2": "https://example.com/landscape.jpg",24 "prompt": "Place the person from the first image into the landscape from the second image, natural lighting, seamless blend",25 "aspect_ratio": "16:9"26 }27 }'28```2930## Parameters3132| Parameter | Type | Default | Description |33|-----------|------|---------|-------------|34| 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` |35| input_image_1 | string | - | First input image. Must be jpeg, png, gif, or webp |36| input_image_2 | string | - | Second input image. Must be jpeg, png, gif, or webp |37| output_format | string | png | Output format. Options: `jpg`, `png` |38| prompt | string | - | Text description of how to combine or transform the images |39| safety_tolerance | integer | 2 | Safety tolerance, 0 is most strict and 2 is most permissive |40| seed | integer | - | Random seed for reproducible generation |4142## Examples4344**Combine person with new background:**45```bash46curl -X POST https://api.eachlabs.ai/v1/prediction \47 -H "Content-Type: application/json" \48 -H "X-API-Key: $EACHLABS_API_KEY" \49 -d '{50 "model": "multi-image-kontext-max",51 "version": "0.0.1",52 "input": {53 "input_image_1": "https://example.com/headshot.jpg",54 "input_image_2": "https://example.com/office-bg.jpg",55 "prompt": "Place the person from the first image in the office setting from the second image, professional look",56 "output_format": "png",57 "seed": 4258 }59 }'60```6162**Style transfer between images:**63```bash64curl -X POST https://api.eachlabs.ai/v1/prediction \65 -H "Content-Type: application/json" \66 -H "X-API-Key: $EACHLABS_API_KEY" \67 -d '{68 "model": "multi-image-kontext-max",69 "version": "0.0.1",70 "input": {71 "input_image_1": "https://example.com/photo.jpg",72 "input_image_2": "https://example.com/painting-style.jpg",73 "prompt": "Apply the artistic style from the second image to the content of the first image",74 "aspect_ratio": "1:1"75 }76 }'77```7879## Related Models8081- [Flux Kontext | Pro | Multi Image](../multi-image-kontext-pro/) - Pro tier multi-image82- [Flux Multi Image Kontext](../multi-image-kontext/) - Standard multi-image (up to 4 images)83- [Flux.1 Kontext | Max](../flux-kontext-max/) - Single-image Kontext Max8485## Documentation8687- [each::labs Docs](https://docs.eachlabs.ai)88- [API Reference](https://docs.eachlabs.ai/api/overview)