生成图片
Black Forest Labs
flux-1.1-pro
使用 FLUX.1.1 [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.1-pro Example:
"flux-1.1-pro"
图片描述文字。
Example:
"一只可爱的北极熊宝宝"
生成图片数量。
Required range:
1 <= x <= 4输出图片尺寸,如 1024x1024。推荐 1024x1024。
Example:
"1024x1024"
输出图片格式。
Available options:
jpeg, png Example:
"jpeg"
随机种子,用于复现生成结果。

