An experimental model with FLUX Kontext Pro that can combine two input images
One POST request. Get the result back directly — as an image, video, or JSON depending on the tool.
curl -X POST https://apiai.me/api/workflow/multi-image-kontext-pro \
-H "X-API-Key: YOUR_API_KEY" \
-F "image=@input.jpg" \
-F "aspect_ratio=match_input_image" \
-F "input_image_2=@image.jpg" \
-F "format=png" \
-F "prompt=VALUE" \
-F "safety_tolerance=2" \
-F "seed=VALUE"
--output result.png
Test this tool visually before writing any code. Upload an image, set parameters, and see the result live. When it looks right, copy the auto-generated curl command and paste it into your app.
Process hundreds of images at once without writing a loop. Upload a CSV with one row per item, set your parameters, and download the results as a ZIP when they're done.
| Name | Required | Description | Default / Options |
|---|---|---|---|
aspect_ratio |
optional | Aspect ratio of the generated image. Use 'match_input_image' to match the aspect ratio of the input image. | match_input_image1:116:99:164:33:43:22:34:55:421:99:212:11:2
|
input_image_2 |
required | Second input image. Must be jpeg, png, gif, or webp. | — |
format |
optional | Output format for the generated image | jpgpng
|
prompt |
required | Text description of how to combine or transform the two input images | — |
safety_tolerance |
optional | Safety tolerance, 0 is most strict and 2 is most permissive. 2 is currently the maximum allowed. | 2
|
seed |
optional | Random seed. Set for reproducible generation | — |
Get an API key, test Multi Image Kontext Pro in the dashboard, and copy the curl command.