> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tapapi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# FLUX Dev

> 测试 · 通用场景

<Note>该模型正在接入中（🔜 即将上线），调用方式上线后即按下方文生图示例生效。若模型原生支持图片输入，以后续图生图正式文档为准。</Note>

| 属性 | 值            |
| -- | ------------ |
| 状态 | 🔜 即将上线      |
| 定位 | 开源           |
| 价格 | 上线时公布        |
| 速度 | 2.3-4.4s     |
| 模态 | text → image |
| 适用 | 测试 · 通用场景    |

## 适合什么

* 通用测试
* 成本适中的文生图
* 风格探索

## 不适合什么

* 终稿精修
* 对质量稳定性要求极高的场景

## 推荐调用路径

当前推荐：`/v1/images/generations`。

* 文生图优先使用 [OpenAI 兼容路径](/image-generation/openai-compatible)
* 高级入口只在模型详情明确说明字段时使用
* 图生图、多参考图、webhook 当前不要写入生产请求

## 调用示例

```bash theme={null}
curl https://tapapi.ai/v1/images/generations \
  -H "Authorization: Bearer sk-xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "flux-dev",
    "prompt": "a red apple on a wooden table",
    "size": "1024x1024",
    "response_format": "url"
  }'
```

公开文生图字段：`size` · `response_format` · `output_format`

输出格式：`url`。生产代码需要兼容模型实际返回字段，详见 [输出图片保存](/image-generation/output-images)。

兜底方向：[FLUX Schnell](/image-generation/models/flux-schnell)、[FLUX 1.1 Pro](/image-generation/models/flux-1.1-pro)（以控制台可用状态为准）。

## 生产注意事项

* 适合做中间档模型，用于低价和高质量之间的平衡
* 批量前先比较人工可用率

更多字段见 [文生图参数说明](/image-generation/parameters)。高级入口边界见 [路径 2 · 高级](/image-generation/advanced)。
