Base URL#
Every request goes to a single address. Give the OpenAI SDK the full URL and the Anthropic SDK the URL without /v1:
# OpenAI SDK, LangChain, Cursor, Cline…
https://api.flua.ink/v1
# Anthropic SDK, Claude Code
https://api.flua.inkAPI formats#
flua accepts requests in the OpenAI and Anthropic formats. The model is picked with the model parameter — the request body is the same for every model.
| Endpoint | Format | Models |
|---|---|---|
POST/v1/chat/completions | OpenAI Chat Completions | All text models, Gemini images |
POST/v1/responses | OpenAI Responses | GPT models |
POST/v1/messages | Anthropic Messages | Claude models |
POST/v1/images/generations | OpenAI Images | GPT Image, Grok Imagine |
GET/v1/models | OpenAI Models | Model list |