# firefly-gpt-image-2 API — WanAPIs

> **Model ID**: `firefly-gpt-image-2` · **Provider**: 其它 · **Category**: image · **Endpoint**: `POST /v1/chat/completions`
> **Live Price**: $0.120 / 次 (RMB-anchored quota: `¥1 = $1 quota`, ~86% off USD list rates at `$1 ≈ ¥7`).
> **Web Page**: https://wanapis.com/model/firefly-gpt-image-2

OpenAI GPT Image 2 的另一条供给线路(firefly 线路),模型与 gpt-image-2 相同,支持文生图与图像编辑。

**Also known as**: 其它 firefly-gpt-image-2

## Live Pricing & Specs

- **Per call**: $0.120 (实付 ¥0.12/call（≈ $0.017/call）)

## Quickstart (cURL)

```bash
curl https://api.wanapis.com/v1/chat/completions \
  -H "Authorization: Bearer $WANAPIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"firefly-gpt-image-2","messages":[{"role":"user","content":"Hello"}]}'
```

## FAQ

### 如何通过 WanAPIs 调用 firefly-gpt-image-2？

在请求头携带 Authorization: Bearer <WANAPIS_API_KEY>，向 https://api.wanapis.com 的 POST /v1/chat/completions 传入 model="firefly-gpt-image-2" 即可调用。

### firefly-gpt-image-2 在 WanAPIs 上如何计费？

当前实时标价：$0.120 / 次。WanAPIs 采用人民币元锚定额度（¥1 = $1 等价额度，约合美元官方价的 1/7），无月租无保底。

### Claude Code、Codex 等 AI Agent 可以自动接入这个模型吗？

可以。直接把 https://wanapis.com/SKILL.md 发给 Agent，或安装 npx -y @wanapis/mcp；本页也提供纯 Markdown 规格文档 /model/firefly-gpt-image-2.md 供 Agent 直接读取。

## Related Links

- Web Landing Page: https://wanapis.com/model/firefly-gpt-image-2
- Agent Skill Router: https://wanapis.com/SKILL.md
- Complete Live Pricing (Markdown): https://wanapis.com/pricing.md
- OpenAPI 3.1 Spec: https://wanapis.com/openapi.json
- MCP Server Card: https://wanapis.com/.well-known/mcp.json
