GPT Image 2 is OpenAI's image generation model, pairing high-fidelity image output with strong prompt adherence and in-context editing.
curl https://conduit-api.bifrostapi.net/v1/images/generations \
-H "Authorization: Bearer ck-YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-image-2","prompt":"a red apple on a wooden table","size":"1536x1024","quality":"high","output_format":"jpeg","n":1}'→ 返回 data[0].b64_json(base64 图,无 URL)。size 控制画幅比例(横 / 竖 / 方);quality 取 high 或 low;output_format 取 png 或 jpeg。
鉴权 · 计费 · 流式 → 快速接入