Create Task Black Forest Labs/Flux Fill Pro

official文档:https://replicate.com/black-forest-labs/flux-fill-pro

Endpoint

POST http://v98store.com/replicate/v1/models/black-forest-labs/flux-fill-pro/predictions

cURL Command

curl -X POST 'http://v98store.com/replicate/v1/models/black-forest-labs/flux-fill-pro/predictions' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{ "input": { "mask": "https://replicate.delivery/pbxt/M0gpLCYdCLbnhcz95Poy66q30XW9VSCN65DoDQ8IzdzlQonw/kill-bill-mask.png", "image": "https://replicate.delivery/pbxt/M0gpKVE9wmEtOQFNDOpwz1uGs0u6nK2NcE85IihwlN0ZEnMF/kill-bill-poster.jpg", "steps": 50, "prompt": "movie poster says \"FLUX FILL\"", "guidance": 60, "outpaint": "None", "output_format": "jpg", "safety_tolerance": 2, "prompt_upsampling": false } }'

Parameters

NameInDescriptionRequired
AuthorizationheaderNo

Request Body

Example

{
  "input": {
    "mask": "https://replicate.delivery/pbxt/M0gpLCYdCLbnhcz95Poy66q30XW9VSCN65DoDQ8IzdzlQonw/kill-bill-mask.png",
    "image": "https://replicate.delivery/pbxt/M0gpKVE9wmEtOQFNDOpwz1uGs0u6nK2NcE85IihwlN0ZEnMF/kill-bill-poster.jpg",
    "steps": 50,
    "prompt": "movie poster says \"FLUX FILL\"",
    "guidance": 60,
    "outpaint": "None",
    "output_format": "jpg",
    "safety_tolerance": 2,
    "prompt_upsampling": false
  }
}

Responses

200 -

Example

{
  "id": "w72vtvbb79rmc0crb57tckqt24",
  "model": "black-forest-labs/flux-fill-pro",
  "version": "hidden",
  "input": {
    "guidance": 60,
    "image": "https://replicate.delivery/pbxt/M0gpKVE9wmEtOQFNDOpwz1uGs0u6nK2NcE85IihwlN0ZEnMF/kill-bill-poster.jpg",
    "mask": "https://replicate.delivery/pbxt/M0gpLCYdCLbnhcz95Poy66q30XW9VSCN65DoDQ8IzdzlQonw/kill-bill-mask.png",
    "outpaint": "None",
    "output_format": "jpg",
    "prompt": "movie poster says \"FLUX FILL\"",
    "prompt_upsampling": false,
    "safety_tolerance": 2,
    "steps": 50
  },
  "logs": "",
  "output": null,
  "data_removed": false,
  "error": null,
  "status": "starting",
  "created_at": "2025-07-30T03:10:33.786Z",
  "urls": {
    "cancel": "https://api.replicate.com/v1/predictions/w72vtvbb79rmc0crb57tckqt24/cancel",
    "get": "https://api.replicate.com/v1/predictions/w72vtvbb79rmc0crb57tckqt24",
    "stream": "https://stream.replicate.com/v1/files/bcwr-3y7tn6jo35hzo7xvk5kf2dslvdwmggf5zty5vnbfhq4tsggfhesa",
    "web": "https://replicate.com/p/w72vtvbb79rmc0crb57tckqt24"
  }
}