openai/gpt-image-2.5-sunburst-official
OpenAI 官方直连 API 生图专属通道(官网 6 折)
缓存读 $0.75/M · 缓存写 —/M
API 调用时用任一 ID 都可以。
openai/gpt-image-2.5-sunburst-officialgpt-image-2.5-sunburst把 ONEHOP_KEY 占位符替换为你的 API Key。 创建 →
from openai import OpenAI
client = OpenAI(
base_url="https://api.onehop.ai/v1",
api_key="<ONEHOP_KEY>",
)
response = client.images.generate(
model="openai/gpt-image-2.5-sunburst-official",
prompt="A red panda coding under the moonlight",
n=1,
)
print(response.data[0].url)最近 30 天 2 次请求