Chat & LLM Completions API
Claude, GPT-5, Gemini — OpenAI-compatible chat completions via one API
Supported models
Pick any model slug from the table and pass it as model in the request body. All chat models share the same endpoint shape.
Endpoint
POST https://aimarcusimage.eu/api/v1/chat/completions
Request
curl https://aimarcusimage.eu/api/v1/chat/completions \
-H "Authorization: Bearer sk-aig-YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-opus-4-6",
"messages": [
{
"role": "user",
"content": "Hello from AI Generate"
}
]
}'
Response
{
"id": "chatcmpl-...",
"choices": [{
"message": { "role": "assistant", "content": "Hello! How can I help?" }
}],
"usage": { "prompt_tokens": 10, "completion_tokens": 12 }
}
OpenAI-compatible format — works with the official openai Python / Node SDK by changing only base_url.