FLUX.1 Kontext Dev on SiliconFlow:重新定义超快、上下文感知的 Image 编辑

2025年6月27日

目录

FLUX.1 Kontext Dev on SiliconFlow:重新定义超快、上下文感知的 Image 编辑

FLUX.1 Kontext Dev,由Black Forest Labs推出的全球最快且最佳的上下文感知开放Image编辑模型,现已在SiliconFlow正式上线。

  • 高分辨率Output:支持一致的高质量Image渲染,具有像素级布局控制。

  • 具成本效益的定价:0.015$ / Image

关键能力

由SiliconFlow的高性能推理引擎提供动力,FLUX.1 Kontext Dev提供显著更快的推理速度和更低的内存消耗,同时保持高质量、精准的Image编辑性能。

  • 迭代编辑:支持迭代编辑,在多次修改中保持一致性。

  • 字符保留:在各种场景和环境中擅长字符保留。

  • 精确编辑控制:允许进行精确的局部和全局编辑。

快速开始

SiliconFlow 模型广场试用FLUX.1 Kontext Dev。

快速访问API

以下Python示例演示如何调用SiliconFlow的API来执行使用FLUX.1 Kontext Dev模型的上下文感知Image编辑。

import requests

url = "https://api.siliconflow.com/v1/images/generations"

payload = {
    "model": "black-forest-labs/FLUX.1-Kontext-dev",
    "prompt": "an island near sea, with seagulls, moon shining over the sea, light house, boats int he background, fish flying over the sea",
    "image": "data:image/png;base64, XXX",
    "seed": 4999999999,
    "prompt_enhancement": False
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.request("POST", url, json=payload, headers=headers)

print(response.text)
import requests

url = "https://api.siliconflow.com/v1/images/generations"

payload = {
    "model": "black-forest-labs/FLUX.1-Kontext-dev",
    "prompt": "an island near sea, with seagulls, moon shining over the sea, light house, boats int he background, fish flying over the sea",
    "image": "data:image/png;base64, XXX",
    "seed": 4999999999,
    "prompt_enhancement": False
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.request("POST", url, json=payload, headers=headers)

print(response.text)
import requests

url = "https://api.siliconflow.com/v1/images/generations"

payload = {
    "model": "black-forest-labs/FLUX.1-Kontext-dev",
    "prompt": "an island near sea, with seagulls, moon shining over the sea, light house, boats int he background, fish flying over the sea",
    "image": "data:image/png;base64, XXX",
    "seed": 4999999999,
    "prompt_enhancement": False
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.request("POST", url, json=payload, headers=headers)

print(response.text)

无论您是插画师、概念艺术家、电影制片人还是产品设计师,FLUX.1 Kontext Dev都能使创作者和开发人员实现超快的、上下文感知的Image编辑,具有无与伦比的精度和一致性。

现在是提升您的艺术性和加速您的工作流程的时刻。立即在SiliconFlow上试用FLUX.1 Kontext Dev。

准备好 加速您的人工智能开发吗?

准备好 加速您的人工智能开发吗?

准备好 加速您的人工智能开发吗?