文生图
Black Forest Labs
flux-1-kontext-pro
使用 FLUX.1 Kontext [pro] 根据文字描述生成图片。接口为同步调用,直接返回 Base64 编码的图片数据。
POST
文生图
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
模型 ID
Available options:
flux-1-kontext-pro Example:
"flux-1-kontext-pro"
图片描述。必须为英文。
Example:
"A cute baby polar bear"
生成图片数量。仅支持 1。
Required range:
1 <= x <= 1输出图片尺寸,如 1024x1024。
Example:
"1024x1024"
输出图片格式。
Available options:
jpeg, png 随机种子,用于复现生成结果。

