跳转到内容
中文

FLUX 1.1 Pro

提供商Black Forest Labs
模型名称flux-1.1-pro
主要端点/v1/images/generations
返回形式data[].url
典型能力写实风格、商业广告图、产品摄影、海报设计

FLUX 1.1 Pro 以写实质感和稳定构图见长,适合直接拿来做营销主视觉和产品展示图。

  • 产品海报、电商主图、品牌广告
  • 人像或场景类写实图像
  • 需要稳定构图和材质表现的设计任务
  • 快速生成横版或竖版活动视觉
  • POST /v1/images/generations
  • 兼容 OpenAI Images API
参数类型说明
modelstring固定为 flux-1.1-pro
promptstring建议使用明确、具体的英文或中英混合提示词
sizestring常用 1024x10241792x10241024x1792
Terminal window
curl -X POST https://api.hiapi.ai/v1/images/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "flux-1.1-pro",
"prompt": "A cinematic portrait of an astronaut on Mars, realistic photography, golden hour, shallow depth of field",
"size": "1024x1024"
}'
{
"created": 1710000000,
"data": [
{
"url": "https://cdn.hiapi.ai/generated/flux-1-1-pro/example.png"
}
]
}

FLUX 1.1 Pro 为同步接口,请求成功后会直接返回图片结果,无需轮询。

  • 400 Bad Requestsize 不支持,或提示词为空。
  • 401 Unauthorized:API Key 无效。
  • 429 Too Many Requests:并发过高时需要稍后重试。
  • 500 或上游超时:复杂高分辨率请求可能需要重试。

FLUX 1.1 Pro 的实时价格请查看实时定价页