OpenAI: GPT Image 1.5
Imageopenai/gpt-image-1.5GPT Image 1.5 是 OpenAI 的图像生成模型,在指令遵循和提示词贴合度上进一步改进,适合稳定的文生图和图像编辑场景。
0 context window
Released: 2025-12-16
Protocols:OpenAI
Capabilities:VisionPrompt Caching
PricingRate 0.15x
| Type | HaoAI Price | Official Reference | Rate |
|---|---|---|---|
| Input | $0.75/M | $5/M | 0.15x · 85% savings |
| Output | $1.5/M | $10/M | 0.15x · 85% savings |
| Cache read | $0.188/M | $1.25/M | 0.15x · 85% savings |
Code Examples
from openai import OpenAI
client = OpenAI(
base_url="https://api.hao.ai/v1",
api_key="YOUR_HAOAI_API_KEY",
)
response = client.images.generate(
model="openai/gpt-image-1.5",
prompt="A beautiful sunset over mountains",
size="1024x1024",
)
print(response.data[0].url)