Gpt-image-2
GPT Image 2 on the new Deeprouter endpoint
- Capabilities
- "POST", "endpoint": "/v1/chat/completions", "protocol": "openai-chat", "parameters": {"optional": {"n": {"type": "integer", "default": 1}, "size": {"type": "string", "default": "1024x1024"}, "stream": {"type": "boolean", "default": true}, "quality": {"type": "string", "default": "auto"}, "background": {"type": "string", "default": "auto"}}, "required": ["model", "messages"]}, "validation": {"timeout_ms": 600000, "status_codes": [200], "response_path": "choices[0].message.content", "must_be_non_empty": true}, "test_request": {"size": "1024x1024", "model": "{{model}}", "stream": true, "quality": "auto", "messages": [{"role": "user", "content": "Generate a simple red circle on a white background."}]}}
- Input
- text
- Output
- image
- Regions
- global
- Last verified
- 2026-10-15T03:47:32.191135047+00:00
- Price
- 0 IFT / 1M tokens
- Documentation
- -
Example
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"}]}'