Skip to content

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

概览

认证

  • Header: Authorization: Bearer <token>

请求参数

  • Header: Authorization: Bearer <token>
  • 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
    }
  }

请求示例

curl --location --request POST 'https://api.winfull.cloud-ip.cc/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成功 示例

{
    "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接口平台