# gpt-image-2.5-flare

GPT Image 2.5 Flare is an image generation and editing model from OpenAI, positioned as the speed-oriented tier of the GPT Image 2.5 series. It is suited to high-volume everyday generation and fast iteration: higher quality than GPT Image 2 at about 50% lower latency. It accepts text and reference images, arbitrary WIDTHxHEIGHT sizes, and quality settings low, medium, high, xhigh, max, and auto.

GPT Image 2.5 Flare 是 OpenAI GPT Image 2.5 系列的速度向模型，面向高频日常生图与快速迭代。它在画质上优于 GPT Image 2，延迟大约低 50%，适合创作者内容、商品图、视觉搜索、原型和大批量出图。支持文本与参考图输入、任意分辨率，以及 low/medium/high/xhigh/max/auto 画质。

- Nhà cung cấp: OpenAI
- Chế độ tính phí: Tính phí theo lượt gọi
- Nhãn: 营销, 搜索优化
- ID mô hình: `gpt-image-2.5-flare`
- Web: https://vi.llmoxy.com/models/gpt-image-2.5-flare

## Giá cả

| Nhóm mã thông báo | Mỗi yêu cầu |
| --- | --- |
| GPT Image 2 生图（0.2 / 张） | ￥0.20 / lượt |
| GPT 系列 | ￥0.30 / lượt |

## Bắt đầu nhanh

Trước khi chạy, hãy đặt biến môi trường LLMOXY_KEY bằng khóa API của bạn.

### Tạo hình ảnh

#### 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-flare",
    "prompt": "Một chú mèo cam đang tắm nắng bên bậu cửa sổ",
    "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-flare",
    prompt="Một chú mèo cam đang tắm nắng bên bậu cửa sổ",
    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-flare",
  prompt: "Một chú mèo cam đang tắm nắng bên bậu cửa sổ",
  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-flare",
    "messages": [{"role": "user", "content": "Xin chào"}]
  }'
```

## Endpoint

- Tạo hình ảnh: `POST https://llmoxy.com/v1/images/generations`
- Chat Completions: `POST https://llmoxy.com/v1/chat/completions`

## Câu hỏi thường gặp

### gpt-image-2.5-flare trên LLMoxy giá bao nhiêu?

Tính phí theo lượt gọi. Giá trong nhóm mã thông báo “GPT Image 2 生图（0.2 / 张）”: ￥0.20 / lượt. Giá khác nhau tùy nhóm mã thông báo; xem bảng giá trên trang này để biết giá từng nhóm.

### Gọi gpt-image-2.5-flare thế nào?

Tạo khóa API trong bảng điều khiển LLMoxy, đặt model là gpt-image-2.5-flare và gửi yêu cầu tới: Tạo hình ảnh POST https://llmoxy.com/v1/images/generations, Chat Completions POST https://llmoxy.com/v1/chat/completions. Bạn cũng có thể dùng thẳng OpenAI SDK, đặt base URL là https://llmoxy.com/v1.

### gpt-image-2.5-flare dùng được với những nhóm mã thông báo nào?

Nhóm mã thông báo quyết định giá: bạn chọn nhóm khi tạo khóa API trong bảng điều khiển, mọi lượt gọi bằng khóa đó đều tính theo giá của nhóm này. Các nhóm dùng được cho gpt-image-2.5-flare: GPT Image 2 生图（0.2 / 张）, GPT 系列.

### Có cần thẻ tín dụng quốc tế không?

Không cần. Trước tiên nạp tiền vào số dư trong bảng điều khiển; mỗi lượt gọi sẽ trừ vào số dư theo mức dùng thực tế. Phương thức thanh toán: Alipay, WeChat Pay, Visa/MasterCard, Apple Pay và tiền mã hóa như USDT, BTC, SOL, TRX. Hỗ trợ đa tiền tệ.

## Mô hình khác của OpenAI

- [gpt-image-2](https://vi.llmoxy.com/models/gpt-image-2.md): ￥0.20 / lượt
- [gpt-image-2.5-sunburst](https://vi.llmoxy.com/models/gpt-image-2.5-sunburst.md): ￥0.20 / lượt
- [gpt-6-astra](https://vi.llmoxy.com/models/gpt-6-astra.md): Đầu vào ￥3.00 / 1M
- [gpt-6-sol](https://vi.llmoxy.com/models/gpt-6-sol.md): Đầu vào ￥0.60 / 1M
- [gpt-6.1-sol](https://vi.llmoxy.com/models/gpt-6.1-sol.md): Đầu vào ￥0.60 / 1M
- [gpt-6.1-terra](https://vi.llmoxy.com/models/gpt-6.1-terra.md): Đầu vào ￥0.30 / 1M

## Liên kết

- [Giá tất cả mô hình](https://vi.llmoxy.com/pricing.md)
- [Tài liệu](https://vi.llmoxy.com/docs/api-reference/api-overview.md)
- [llms.txt](https://vi.llmoxy.com/llms.txt)

Đây là bản markdown của https://vi.llmoxy.com/models/gpt-image-2.5-flare.
