Gpt-image-2
GPT Image 2 是 OpenAI 最先进的图像生成模型,可快速生成和编辑高质量图像。它支持灵活的图像尺寸和高保真图像输入。
- 能力
- "POST", "endpoint": "/v1/chat/completions", "protocol": "openai-chat", "validation": {"timeout_ms": 90000, "status_codes": [200], "response_path": "choices[0].message.content", "must_be_non_empty": true}, "test_request": {"model": "openai/gpt-image-2", "messages": [{"role": "user", "content": "Generate a simple red circle on a white background."}], "max_tokens": 300}}
- 输入
- text
- 输出
- image
- 区域
- global
- 验证时间
- 2026-08-15T04:50:43.134192487+00:00
- 价格
- 0 IFT / 1M tokens
- 文档
- -
调用示例
curl https://api.inferlink.ai/v1/chat/completions \
-H 'Authorization: Bearer $INFERLINK_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"model":"openai/openai/gpt-image-2","messages":[{"role":"user","content":"Hello"}]}'