Flux 2 Pro 图生图
图片生成 - Flux2
Flux 2 Pro 图生图
使用 Flux 2 Pro 模型进行高质量图片编辑(异步)
POST
Flux 2 Pro 图生图
使用 Black Forest Labs 的 FLUX.2 Pro 模型进行专业级图片编辑。 模型特点:Documentation Index
Fetch the complete documentation index at: https://docs.sinancode.com/llms.txt
Use this file to discover all available pages before exploring further.
- 高保真编辑 - 4MP 分辨率编辑,保留原图细节与连贯性
- 自然语言指令 - 通过文本描述即可完成复杂编辑操作
- 多图融合 - 支持最多 10 张参考图融合生成新图像
- 真实物理效果 - 320 亿参数模型,精准处理光影和材质
授权
请使用您的 API Token 进行认证
请求体
application/json
Task parameters
输入图片 URL 列表(必填,1-8张图片)
Required array length:
1 - 8 elements示例:
[
"https://example.com/image1.png",
"https://example.com/image2.png"
]提示词(必填,3-5000字符)
Required string length:
3 - 5000示例:
"The jar in image 1 is filled with capsules exactly same as image 2"
宽高比(可选,默认值 auto)
可用选项:
1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, auto 示例:
"auto"
分辨率(可选,默认值 1K)
可用选项:
1K, 2K 示例:
"1K"
响应
OK
Task ID
示例:
"01234567-89ab-cdef-0123-456789abcdef"