GPT Image 2
openai/gpt-image-2
Overview
Model description: original source language.
GPT-image-2 是 OpenAI 最新的尖端图像生成模型。主要附加价值包括性能提升、质量提升、编辑控制和面部保护。该模型支持高强度 input_fidelity,并且可以添加或移除图像的某一方面,同时保留其他部分。该模型在宽高比、分辨率和编辑能力方面都有改进。
Pricing
Pricing follows the current settings of your account group.
View available groupsAPI integration
Use a Yunhai API key to call configured models.
curl "$YUNHAI_BASE_URL/chat/completions" \
-H "Authorization: Bearer $YUNHAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"openai/gpt-image-2","messages":[{"role":"user","content":"你好"}]}'