New: Nano Banana 2.1Try the model
API Stock
/IMAGE/flux-3-image
图像
Black Forest Labs

FLUX 3 Image API

Generate and edit images with up to 10 references, flexible framing, web search and resolution tiers up to 4K.

  • 文本转图像
  • 图像编辑

起价

$0.06

每次生成

5 个参数 · 5 个价格选项

FLUX 3 Image 在线试用

输入

Text description or image editing instructions. Layout and bounding-box instructions may be included in the prompt.

Reference image URLs for editing or multi-image guidance (up to 10 images). Omit for text-to-image generation.

登录后运行

运行费用将从您的余额中扣除。

输出

输出将显示在此处。

填写参数、确认费用并运行模型,结果将在此处显示。在浏览器中试用无需单独创建 API 密钥。

FLUX 3 Image API 价格

选项每次生成的价格
1K$0.06
768SQ$0.05
1.5K$0.08
2K$0.12
4K$0.7
1curl -X POST https://api.api-stock.com/api/v1/generation/create \
2 -H "Authorization: Bearer $API_STOCK_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "model": "flux-3-image",
6 "input": {
7 "prompt": "黄昏时分城市的电影感镜头",
8 "size": "auto",
9 "resolution": "1K",
10 "grounding": true
11 }
12 }'

参数

名称类型必填默认值描述
promptstring是—Text description or image editing instructions. Layout and bounding-box instructions may be included in the prompt.
urlsstring[]否—Reference image URLs for editing or multi-image guidance (up to 10 images). Omit for text-to-image generation.
sizestring否autoImage aspect ratio. Auto follows the first reference image, or the prompt when generating from text.以下之一:auto, 21:9, 2:1, 16:9, 3:2, 7:5, 4:3, 5:4, 1:1, 4:5, 3:4, 5:7, 2:3, 9:16, 1:2, 9:21
resolutionstring否1KOutput resolution tier; determines the per-image price.以下之一:768SQ, 1K, 1.5K, 2K, 4K
groundingboolean否trueAllow web and image search before generation. Reference images and search do not add a separate charge.

常见问题

FLUX 3 Image 的费用是多少?

FLUX 3 Image 通过 API Stock API 的起价为 $0.06 每次生成。您按使用量从单个预付余额中支付——无需订阅——最终价格会根据分辨率或时长等参数浮动。

FLUX 3 Image 是什么时候发布的?

FLUX 3 Image 于 2026年10月8日 发布。它可以通过 API Stock API 使用,与其他所有模型共用同一个 API 密钥和预付余额。

如何获取 FLUX 3 Image 的 API 密钥?

注册 API Stock 账号,使用可用的付款方式充值,然后在控制台创建 API 密钥即可,整个过程只需几分钟,无需签订合同。同一个密钥可调用目录中的所有模型,因此无需为 FLUX 3 Image 单独申请密钥。

如何调用 FLUX 3 Image API?

向 https://api.api-stock.com/api/v1/generation/create 发送 POST 请求,并附上您的 API 密钥和模型 ID "flux-3-image"。请求会返回一个任务 ID,您可以轮询该 ID;或者在结果准备就绪时通过 webhook 回调通知。上方的快速开始部分提供了一个可直接运行的示例。

FLUX 3 Image 接受哪些输入参数?

FLUX 3 Image 接受 5 个输入参数, 包括必填字段 prompt。参数表中列出了它们的类型、默认值和允许值。

如果 FLUX 3 Image 请求失败,会发生什么?

API Stock 会自动在备用提供商上重试请求。如果所有提供商都失败,费用会退还至您的余额。

我可以使用与其他模型相同的 API 密钥来调用 FLUX 3 Image 吗?

可以。API Stock 上的每个模型——视频、图像、音乐和聊天——共享一个 API 密钥和一个预付余额,因此您无需新的凭据即可切换到 FLUX 3 Image。