Flux Multi Image Kontext
Combine and transform up to 4 images using Flux Kontext. The standard multi-image model supporting up to 4 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",
"version": "0.0.1",
"input": {
"input_image_1": "https://example.com/face.jpg",
"input_image_2": "https://example.com/outfit.jpg",
"prompt": "The person from image 1 wearing the outfit from image 2, professional fashion photo"
}
}'
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 |
| input_image_3 |
string |
- |
Third input image (optional) |
| input_image_4 |
string |
- |
Fourth input image (optional) |
| prompt |
string |
- |
Text description of how to combine or transform the images |
| safety_tolerance |
integer |
6 |
Safety tolerance level |
| seed |
integer |
- |
Random seed for reproducible generation |
Examples
Combine person with background and style:
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",
"version": "0.0.1",
"input": {
"input_image_1": "https://example.com/person.jpg",
"input_image_2": "https://example.com/beach-bg.jpg",
"input_image_3": "https://example.com/sunset-lighting.jpg",
"prompt": "Place the person from image 1 on the beach from image 2 with the warm sunset lighting from image 3",
"aspect_ratio": "16:9"
}
}'
Multi-reference character design:
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",
"version": "0.0.1",
"input": {
"input_image_1": "https://example.com/face-ref.jpg",
"input_image_2": "https://example.com/armor-ref.jpg",
"input_image_3": "https://example.com/pose-ref.jpg",
"input_image_4": "https://example.com/color-palette.jpg",
"prompt": "Create a character with the face from image 1, wearing armor from image 2, in the pose from image 3, using the color palette from image 4",
"aspect_ratio": "3:4",
"seed": 42
}
}'
Related Models
Documentation
1---2name: multi-image-kontext3description: Flux Multi Image Kontext. Combine and transform up to 4 images using Flux Kontext. Multi-image AI editing and composition. Triggers: flux multi image, multi image kontext, combine multiple images, flux kontext multi, multi image edit, image composition4---56# Flux Multi Image Kontext78Combine and transform up to 4 images using Flux Kontext. The standard multi-image model supporting up to 4 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",20 "version": "0.0.1",21 "input": {22 "input_image_1": "https://example.com/face.jpg",23 "input_image_2": "https://example.com/outfit.jpg",24 "prompt": "The person from image 1 wearing the outfit from image 2, professional fashion photo"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| input_image_3 | string | - | Third input image (optional) |37| input_image_4 | string | - | Fourth input image (optional) |38| prompt | string | - | Text description of how to combine or transform the images |39| safety_tolerance | integer | 6 | Safety tolerance level |40| seed | integer | - | Random seed for reproducible generation |4142## Examples4344**Combine person with background and style:**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",51 "version": "0.0.1",52 "input": {53 "input_image_1": "https://example.com/person.jpg",54 "input_image_2": "https://example.com/beach-bg.jpg",55 "input_image_3": "https://example.com/sunset-lighting.jpg",56 "prompt": "Place the person from image 1 on the beach from image 2 with the warm sunset lighting from image 3",57 "aspect_ratio": "16:9"58 }59 }'60```6162**Multi-reference character design:**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",69 "version": "0.0.1",70 "input": {71 "input_image_1": "https://example.com/face-ref.jpg",72 "input_image_2": "https://example.com/armor-ref.jpg",73 "input_image_3": "https://example.com/pose-ref.jpg",74 "input_image_4": "https://example.com/color-palette.jpg",75 "prompt": "Create a character with the face from image 1, wearing armor from image 2, in the pose from image 3, using the color palette from image 4",76 "aspect_ratio": "3:4",77 "seed": 4278 }79 }'80```8182## Related Models8384- [Flux Kontext | Max | Multi Image](../multi-image-kontext-max/) - Highest quality (2 images)85- [Flux Kontext | Pro | Multi Image](../multi-image-kontext-pro/) - Pro tier (2 images)86- [Flux.1 Kontext | Pro](../flux-kontext-pro/) - Single-image editing8788## Documentation8990- [each::labs Docs](https://docs.eachlabs.ai)91- [API Reference](https://docs.eachlabs.ai/api/overview)