---
title: "flux-2-pro-text-to-image API — Flux 2 定价与规格 | RunAPI"
url: "https://runapi.ai/zh-CN/models/flux-2/pro-text-to-image.md"
canonical: "https://runapi.ai/zh-CN/models/flux-2/pro-text-to-image.md"
locale: "zh-CN"
model: "Flux 2"
provider: "Black Forest Labs"
variant_id: "flux-2-pro-text-to-image"
sdk_model_id: "flux-2-pro-text-to-image"
modality: "image"
price_from_cents: 5
billing_unit: "call"
status: "active"
---

# Flux 2 flux-2-pro-text-to-image API

通过 RunAPI 使用 %{model} 系列的 %{variant}。按次计费，无需订阅，失败的生成不计费。

## Pricing

**$0.050** per call

失败的生成不计费

## Spec sheet

| Field | Value |
|---|---|
| Model ID | `flux-2-pro-text-to-image` |
| Provider | Black Forest Labs |
| Modality | image |
| Task type | asynchronous |
| Billing unit | call |
| API endpoint | `/api/v1/flux_2/text_to_image` |
| Status | active |

## Request example

```json
{
  "model": "flux-2-pro-text-to-image",
  "prompt": "生成一张写实风格的宇航员抱着猫的摄影棚人像，戏剧性轮廓光，8K 细节。"
}
```

## Install the skill

```sh
npx skills add runapi-ai/flux-2 -g
```

The skill gives your coding tool the model docs, schemas, pricing notes, and setup steps needed to add Flux 2 flux-2-pro-text-to-image features to an application.

```json
{
  "model": "flux-2-pro-text-to-image"
}
```

## FAQ

### 模型 ID 跨版本稳定吗？

RunAPI 保持模型 ID 稳定，并在不改变请求形态的前提下处理兼容版本刷新。

### 该变体的限流？

Key 级限流随使用层级伸缩。当前限制见定价页。

### 能切到其它变体吗？

可以——变体只是参数，改 model 字段即可。

### 支持流式吗？

模型支持流式时，RunAPI 端到端流式。

### 质量问题在哪里报？

在公共 GitHub 仓库提 issue 或邮件联系 support。


## Related

Other Flux 2 variants:

- [flux-2-flex-remix-image](https://runapi.ai/zh-CN/models/flux-2/flex-remix-image.md) — `flex-remix-image` · $0.140
- [flux-2-flex-text-to-image](https://runapi.ai/zh-CN/models/flux-2/flex-text-to-image.md) — `flex-text-to-image` · $0.140
- [flux-2-pro-remix-image](https://runapi.ai/zh-CN/models/flux-2/pro-remix-image.md) — `pro-remix-image` · $0.050
