Create Task Flux Kontext Apps/Multi Image Kontext Pro

official文档:https://replicate.com/flux-kontext-apps/multi-image-kontext-pro

Endpoint

POST http://v98store.com/replicate/v1/models/flux-kontext-apps/multi-image-kontext-pro/predictions

cURL Command

curl -X POST 'http://v98store.com/replicate/v1/models/flux-kontext-apps/multi-image-kontext-pro/predictions' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{ "input": { "prompt": "Put the woman next to the house", "aspect_ratio": "match_input_image", "input_image_1": "https://replicate.delivery/pbxt/N7gRAUNcVF6HarL0hdAQA2JYNMlJD52LP1wyaIWRUXWeHzqT/0_1-1.webp", "input_image_2": "https://replicate.delivery/pbxt/N7gRAK5kbPwdsbOpqgyAIOFQX45U6suTlbL6ws2N74SnGFpo/test.jpg", "output_format": "png", "safety_tolerance": 2 } }'

Parameters

NameInDescriptionRequired
AuthorizationheaderNo

Request Body

Example

{
  "input": {
    "prompt": "Put the woman next to the house",
    "aspect_ratio": "match_input_image",
    "input_image_1": "https://replicate.delivery/pbxt/N7gRAUNcVF6HarL0hdAQA2JYNMlJD52LP1wyaIWRUXWeHzqT/0_1-1.webp",
    "input_image_2": "https://replicate.delivery/pbxt/N7gRAK5kbPwdsbOpqgyAIOFQX45U6suTlbL6ws2N74SnGFpo/test.jpg",
    "output_format": "png",
    "safety_tolerance": 2
  }
}

Responses

200 -

Example

{
  "id": "26t3agjpx9rme0crb4es5cbxx4",
  "model": "flux-kontext-apps/multi-image-kontext-pro",
  "version": "hidden",
  "input": {
    "aspect_ratio": "match_input_image",
    "input_image_1": "https://replicate.delivery/pbxt/N7gRAUNcVF6HarL0hdAQA2JYNMlJD52LP1wyaIWRUXWeHzqT/0_1-1.webp",
    "input_image_2": "https://replicate.delivery/pbxt/N7gRAK5kbPwdsbOpqgyAIOFQX45U6suTlbL6ws2N74SnGFpo/test.jpg",
    "output_format": "png",
    "prompt": "Put the woman next to the house",
    "safety_tolerance": 2
  },
  "logs": "",
  "output": null,
  "data_removed": false,
  "error": null,
  "status": "starting",
  "created_at": "2025-07-30T02:15:51.786Z",
  "urls": {
    "cancel": "https://api.replicate.com/v1/predictions/26t3agjpx9rme0crb4es5cbxx4/cancel",
    "get": "https://api.replicate.com/v1/predictions/26t3agjpx9rme0crb4es5cbxx4",
    "stream": "https://stream.replicate.com/v1/files/bcwr-5cw3763ksezvhhtvt4n5ztxeywdagdmyes4uphs7ud3n65mftzba",
    "web": "https://replicate.com/p/26t3agjpx9rme0crb4es5cbxx4"
  }
}