openai/gpt-image-2.6-flare
OpenAI 高速高质量图像与 GIF 动图生成模型(官网 3 折)
缓存读 $0.375/M · 缓存写 —/M
API 调用时用任一 ID 都可以。
openai/gpt-image-2.6-flare把 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.6-flare",
prompt="A red panda coding under the moonlight",
n=1,
)
print(response.data[0].url)