Introduction
AlphaNeural provides a single, OpenAI-compatible API for chatting, vision, embeddings, and image generation. If you have already integrated the OpenAI API, you can usually switch by updating the base
Last updated
curl https://proxy.alfnrl.io/v1/chat/completions \
-H "Authorization: Bearer $ALPHANEURAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen3",
"messages": [
{ "role": "user", "content": "Hello AlphaNeural" }
]
}'from openai import OpenAI
client = OpenAI(api_key=os.environ["ALPHANEURAL_API_KEY"], base_url="https://proxy.alfnrl.io/v1")
resp = client.chat.completions.create(model="qwen3", messages=[{"role":"user","content":"Hello AlphaNeural"}])
print(resp.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ apiKey: process.env.ALPHANEURAL_API_KEY, baseURL: "https://proxy.alfnrl.io/v1" });
const resp = await client.chat.completions.create({ model: "qwen3", messages: [{ role: "user", content: "Hello AlphaNeural" }] });
console.log(resp.choices[0].message.content);curl https://proxy.alfnrl.io/v1/models \
-H "Authorization: Bearer $ALPHANEURAL_API_KEY"