# gpt-image-2.5-sunburst

GPT Image 2.5 Sunburst is an image generation and editing model from OpenAI, positioned as the precision-oriented tier of the GPT Image 2.5 series. It is suited to detailed creative work and tighter control across edits, with longer generation times. It accepts text and reference images, arbitrary WIDTHxHEIGHT sizes, and quality settings low, medium, high, xhigh, max, and auto.

GPT Image 2.5 Sunburst 是 OpenAI GPT Image 2.5 系列的精度向模型，面向需要更强编辑控制的精品视觉工作流。它适合精细创意、成片级广告与商品图，以及多轮局部修改时保持主体和构图稳定，出图时间更长。支持文本与参考图输入、任意分辨率，以及 low/medium/high/xhigh/max/auto 画质。

- 供应商: OpenAI
- 计费方式: 按次计费
- 标签: 营销，搜索优化
- 模型 ID: `gpt-image-2.5-sunburst`
- 网页版: https://llmoxy.com/models/gpt-image-2.5-sunburst

## 价格

| API Key 分组 | 每次请求 |
| --- | --- |
| GPT Image 2 生图（0.2 / 张） | ￥0.20 / 次 |
| GPT 系列 | ￥0.30 / 次 |

## 快速调用

运行前先把环境变量 LLMOXY_KEY 设成你的 API 密钥。

### 图像生成

#### cURL

```bash
curl https://llmoxy.com/v1/images/generations \
  -H "Authorization: Bearer $LLMOXY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-image-2.5-sunburst",
    "prompt": "一只在窗台上晒太阳的橘猫",
    "size": "1024x1024"
  }'
```

#### Python

```python
import base64
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://llmoxy.com/v1",
    api_key=os.environ["LLMOXY_KEY"],
)

img = client.images.generate(
    model="gpt-image-2.5-sunburst",
    prompt="一只在窗台上晒太阳的橘猫",
    size="1024x1024",
)
with open("image.png", "wb") as f:
    f.write(base64.b64decode(img.data[0].b64_json))
```

#### Node.js

```javascript
import fs from "node:fs";
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://llmoxy.com/v1",
  apiKey: process.env.LLMOXY_KEY,
});

const img = await client.images.generate({
  model: "gpt-image-2.5-sunburst",
  prompt: "一只在窗台上晒太阳的橘猫",
  size: "1024x1024",
});
fs.writeFileSync("image.png", Buffer.from(img.data[0].b64_json, "base64"));
```

### Chat Completions

#### cURL

```bash
curl https://llmoxy.com/v1/chat/completions \
  -H "Authorization: Bearer $LLMOXY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-image-2.5-sunburst",
    "messages": [{"role": "user", "content": "你好"}]
  }'
```

## 接口

- 图像生成: `POST https://llmoxy.com/v1/images/generations`
- Chat Completions: `POST https://llmoxy.com/v1/chat/completions`

## 常见问题

### gpt-image-2.5-sunburst 在 LLMoxy 上怎么收费？

按次计费，令牌分组「GPT Image 2 生图（0.2 / 张）」的价格：￥0.20 / 次。不同令牌分组的价格不同，各分组的价格见本页价格表。

### 怎么调用 gpt-image-2.5-sunburst？

在 LLMoxy 控制台创建 API 密钥，请求时把 model 设为 gpt-image-2.5-sunburst，发到以下接口：图像生成 POST https://llmoxy.com/v1/images/generations，Chat Completions POST https://llmoxy.com/v1/chat/completions。也可以直接用 OpenAI SDK，把 base URL 设为 https://llmoxy.com/v1。

### gpt-image-2.5-sunburst 可以用哪些令牌分组？

令牌分组决定调用价格：在控制台创建 API 密钥时选择分组，用这个密钥的调用都按该分组的价格计费。gpt-image-2.5-sunburst 可用的分组：GPT Image 2 生图（0.2 / 张），GPT 系列。

### 需要海外信用卡吗？

不需要。先在控制台充值余额，调用时按实际用量从余额扣费。支持的付款方式：支付宝、微信支付、Visa/MasterCard、Apple Pay，以及 USDT、BTC、SOL、TRX 等加密货币。多币种支持。

## OpenAI 的其他模型

- [gpt-image-2](https://llmoxy.com/models/gpt-image-2.md): ￥0.20 / 次
- [gpt-image-2.5-flare](https://llmoxy.com/models/gpt-image-2.5-flare.md): ￥0.20 / 次
- [gpt-6-astra](https://llmoxy.com/models/gpt-6-astra.md): 输入 ￥3.00 / 1M
- [gpt-6-sol](https://llmoxy.com/models/gpt-6-sol.md): 输入 ￥0.60 / 1M
- [gpt-6.1-sol](https://llmoxy.com/models/gpt-6.1-sol.md): 输入 ￥0.60 / 1M
- [gpt-6.1-terra](https://llmoxy.com/models/gpt-6.1-terra.md): 输入 ￥0.30 / 1M

## 相关链接

- [全部模型价格](https://llmoxy.com/pricing.md)
- [文档](https://llmoxy.com/docs/api-reference/api-overview.md)
- [llms.txt](https://llmoxy.com/llms.txt)

本文是 https://llmoxy.com/models/gpt-image-2.5-sunburst 的 markdown 版本。
