chatgpt-image-latest
OpenAI
Offering state-of-the-art visual quality, precise instruction following, and support for large-scale batch processing.
$4.25/ M
$27.2/ M
$1.0625/ M
—
Lower-cost variant of the same architecture; same text-and-image I/O; lower per-call cost.
Giá đầu vào
Thị trường: $2
/ M
Đọc cache
Thị trường: $0.2
/ M
Ảnh đầu vào
Thị trường: $2.5
/ M
Ảnh đầu ra
Thị trường: $8
/ M
Đọc cache ảnh
Thị trường: $0.25
/ M
Đầu vào
Văn bản
Đầu ra
Hình ảnh

{
"model": "openai/gpt-image-1-mini",
"prompt": "暮色下的喀纳斯湖畔,碧水倒映层林尽染的山峦,白桦林在晚风中轻轻摇曳,天边晚霞晕染出粉金渐变色,画面静谧悠远,电影级构图,柔和逆光,超高清风景摄影质感。",
"n": 1,
"size": "1024x1024"
}{}API
Mã sẵn sàng để gọi mô hình này qua API tương thích OpenAI của EasyAPI.
Tạo API token trong console và đặt làm biến môi trường:
Thay sk-xxxxxxxx bằng mã API từ console (Bearer Token).
Tạo API tokenexport EASYAPI_API_KEY=sk-xxxxxxxxDùng openai/gpt-image-1-mini với API EasyAPI:
Mô hình ảnh dùng endpoint tạo ảnh. Xem tài liệu tạo ảnh
curl https://token.easyapi.com/v1/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $EASYAPI_API_KEY" \
-d '{"model":"openai/gpt-image-1-mini","prompt":"A cute baby sea otter","n":1,"size":"1024x1024"}'Tạo ảnh từ prompt văn bản.
https://token.easyapi.com/v1/images/generationsBearer $EASYAPI_API_KEYapplication/jsonopenai/gpt-image-1-mini根据 prompt 生成图像,响应含 data(url / b64_json)及 usage 用量字段。 Tài liệu
| Tên | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|
model | string | Có | 图像模型 ID,如 openai/gpt-image-1、qwen/qwen-image-2.0-pro、bytedance/seedream-4.0;当前使用 openai/gpt-image-1-mini;缺失返回 400 model is required |
prompt | string | Có | 图像文本描述。gpt-image-1 上限 32000 字符 |
n | integer | Không | 生成张数,1–10,默认 1;多图按张计费 |
size | string | Không | 输出尺寸。gpt-image-1 支持 1024x1024、1536x1024、1024x1536 或 auto,并参与费用预估 |
response_format | string | Không | url 或 b64_json。gpt-image-1 不支持该参数,传入可能被上游拒绝 |
stream | boolean | Không | 透传字段;当前图像为同步链路,不据此分流 |
SDK chính thức OpenAI và khác hoạt động khi đổi base URL. Xem hướng dẫn tích hợp
OpenAI
Offering state-of-the-art visual quality, precise instruction following, and support for large-scale batch processing.
$4.25/ M
$27.2/ M
$1.0625/ M
—
OpenAI
Stable code generation with predictable output.
$1.7/ M
$6.8/ M
$0.425/ M
$0/ M
OpenAI
Near GPT-4o performance at lower latency and cost, suited for high-frequency interactions, coding, and vision tasks.
$0.34/ M
$1.36/ M
$0.085/ M
$0/ M
OpenAI
Fastest GPT. Sub-second responses.
$0.085/ M
$0.34/ M
$0.0213/ M
$0/ M