Skip to content

创建任务 flux-kontext-apps/multi-image-kontext-max

POST https://aiapi.winfull.top/replicate/v1/models/flux-kontext-apps/multi-image-kontext-max/predictions 官方文档:https://replicate.com/flux-kontext-apps/multi-image-kontext-max

请求参数

Authorization 在 Header 添加参数 Authorization ,其值为在 Bearer 之后拼接 Token 示例: Authorization: Bearer ******************** Header 参数 生成代码 Body 参数application/json 生成代码 示例

{
    "input": {
      "prompt": "Put the woman into a white t-shirt with the text on it",
      "aspect_ratio": "1:1",
      "input_image_1": "https://replicate.delivery/pbxt/N5rSeJrCafWpmJuLb62moY8pSMEpSBBwSf7N6hxyIn4fNYMa/w8msa88d01rm80cq3hzsqrdehg.png",
      "input_image_2": "https://replicate.delivery/pbxt/N5rSdTCgBqIRvbkedcfLfS5xTSEEOqMtX9FsR1hLK9JYryml/0_1.webp",
      "output_format": "png",
      "safety_tolerance": 2
    }
  }

请求示例代码

Shell JavaScript Java Swift Go PHP Python HTTP C C# Objective-C Ruby OCaml Dart R 请求示例请求示例 Shell JavaScript Java Swift cURLcURL-WindowsHttpiewgetPowerShell

curl --location --request POST 'https://aiapi.winfull.top/replicate/v1/models/flux-kontext-apps/multi-image-kontext-max/predictions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "input": {
      "prompt": "Put the woman into a white t-shirt with the text on it",
      "aspect_ratio": "1:1",
      "input_image_1": "https://replicate.delivery/pbxt/N5rSeJrCafWpmJuLb62moY8pSMEpSBBwSf7N6hxyIn4fNYMa/w8msa88d01rm80cq3hzsqrdehg.png",
      "input_image_2": "https://replicate.delivery/pbxt/N5rSdTCgBqIRvbkedcfLfS5xTSEEOqMtX9FsR1hLK9JYryml/0_1.webp",
      "output_format": "png",
      "safety_tolerance": 2
    }
  }'

返回响应

🟢200成功 application/json生成代码 Body 生成代码 示例

{
    "id": "b6k38vmb01rme0crb4bbr2apw4",
    "model": "flux-kontext-apps/multi-image-kontext-max",
    "version": "hidden",
    "input": {
        "aspect_ratio": "1:1",
        "input_image_1": "https://replicate.delivery/pbxt/N5rSeJrCafWpmJuLb62moY8pSMEpSBBwSf7N6hxyIn4fNYMa/w8msa88d01rm80cq3hzsqrdehg.png",
        "input_image_2": "https://replicate.delivery/pbxt/N5rSdTCgBqIRvbkedcfLfS5xTSEEOqMtX9FsR1hLK9JYryml/0_1.webp",
        "output_format": "png",
        "prompt": "Put the woman into a white t-shirt with the text on it",
        "safety_tolerance": 2
    },
    "logs": "",
    "output": null,
    "data_removed": false,
    "error": null,
    "status": "starting",
    "created_at": "2025-07-30T02:08:26.368Z",
    "urls": {
        "cancel": "https://api.replicate.com/v1/predictions/b6k38vmb01rme0crb4bbr2apw4/cancel",
        "get": "https://api.replicate.com/v1/predictions/b6k38vmb01rme0crb4bbr2apw4",
        "stream": "https://stream.replicate.com/v1/files/bcwr-4lncowbqyyr5toyxguv6tr47ffpade3muguvemzik5let3hnlryq",
        "web": "https://replicate.com/p/b6k38vmb01rme0crb4bbr2apw4"
    }
}

修改于 2025-08-01 07:40:39

🚀 伝富AI-API文档 - 强大的AI接口平台