API Documentation

This page explains how your software talks to FLUX. You create one account, add credit, and get one API key (a secret password for your software). Your programs then use the same request format as OpenAI's tools — so most apps and libraries work by changing one setting. Text, images, speech and search — one key, one balance, every verified model.

Which endpoint should I use?

An endpoint is just a web address your program sends a request to. Pick what you want to build:

I want to…Use this endpointSee section
Build a chatbot or ask an AI a question (text in, text out)POST /v1/chat/completionsChat
Show answers live, word by word, as they are writtenPOST /v1/chat/completions with stream: trueStreaming
Let the AI call my own tools (e.g. check my database, run my code)POST /v1/chat/completions with toolsTools
Have the AI look at a picture and describe itPOST /v1/chat/completions with an image attachedVision
Create images from a text descriptionPOST /v1/images/generationsImages
Turn written text into spoken audioPOST /v1/audio/speechAudio
Turn a sound recording into written textPOST /v1/audio/transcriptionsAudio
Translate a sound recording into English textPOST /v1/audio/translationsAudio
Make text searchable, or find documents with similar meaningPOST /v1/embeddingsEmbeddings
See the list of available models from my codeGET /v1/modelsModels
Keep using my existing Claude/Anthropic softwarePOST /v1/messagesClaude Format

Plain-English glossary

Words used on this page, in one line each:

TermWhat it means
APIThe way a program (instead of a person) talks to our service over the internet.
EndpointA web address your program sends requests to, like /v1/chat/completions.
API keyA long secret password your software uses instead of your account login. Create it in the dashboard.
Base URLThe shared first part of every endpoint address — set it once, everything else is added after it.
BearerJust the word "Bearer" followed by your API key, sent as a header — the standard way of saying "here is my key".
TokenA small chunk of text (about ¾ of a word) that models read and write. You pay per token, from your balance.
JSONA simple text format for requests and replies, like {"model": "glm-5.3-flash"}.
StreamingReceiving the answer piece by piece as it is generated, instead of waiting for the whole reply.
OpenAI-compatibleOur endpoints accept the exact same request format as OpenAI's, so existing apps and tools work unchanged.
QuickstartBase URLChatStreamingToolsVisionClaude FormatModelsEmbeddingsImagesAudioErrorsAPI KeysPricingTorPoliciesVerification

Getting started — 4 steps

01

Create an account

Username + password only — no email, no ID, 30 seconds. Sign up →

02

Add credit (top up)

Pay with crypto in 28 currencies, any coin via swap, or card. Every top-up grants bonus credit — 18% direct / 15% swap / 6% card. €5 minimum, non-refundable. Top up →

03

Create an API key

Dashboard → API keys → Create. Your key is shown once — save it somewhere safe.

04

Make your first call

Copy the example below, paste in your key, run it. You're using verified models.

Base URL & authentication

Tells your software where to connect and which key to prove it with.

Set these two values once; every code sample below assumes them.

export FLUX_API_KEY=your_key_here export FLUX_BASE_URL=https://fluxneuralcompute.com/v1 # every endpoint below starts after this base URL. # every request sends your key as a header: # Authorization: Bearer $FLUX_API_KEY

Domain connecting now — until it finishes spreading across the internet, the exact same API also answers at http://95.216.87.100/v1. It is also available as an onion address over Tor (a privacy network) for full anonymity.

POST/v1/chat/completions

Sends a conversation to an AI model and gets its written answer back — this is the endpoint you'll use most.

You send a list of messages and a model name; the reply comes back as text. Accepts the standard options too: temperature (how creative the answer is), max_tokens (length limit), top_p, stop, stream, tools, and images. Billing is per token at list prices, taken from your balance.

curl $FLUX_BASE_URL/chat/completions \ -H "Authorization: Bearer $FLUX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model": "glm-5.3-flash", "messages": [{"role": "user", "content": "Hello!"}]}'

Python

from openai import OpenAI client = OpenAI(base_url="$FLUX_BASE_URL", api_key="$FLUX_API_KEY") r = client.chat.completions.create( model="glm-5.3-flash", messages=[{"role": "user", "content": "Hello!"}]) print(r.choices[0].message.content)

JavaScript

import OpenAI from "openai"; const client = new OpenAI({ baseURL: process.env.FLUX_BASE_URL, apiKey: process.env.FLUX_API_KEY }); const r = await client.chat.completions.create({ model: "glm-5.3-flash", messages: [{ role: "user", content: "Hello!" }] });

Legacy completions

# POST /v1/completions # plain text-in / text-out # for older integrations curl $FLUX_BASE_URL/completions \ -H "Authorization: Bearer $FLUX_API_KEY" \ -d '{"model": "...", "prompt": "..."}'
POST/v1/chat/completions · stream=true

Delivers the answer word by word as it's written, instead of making you wait for the whole reply.

Just add "stream": true to the same request body. The reply arrives as a series of small pieces (server-sent events) that you stitch together.

for chunk in client.chat.completions.create( model="glm-5.3-flash", messages=[...], stream=True): print(chunk.choices[0].delta.content or "", end="") # wire format: data: {"choices":[{"delta":{"content":"He"}}]} ... data: [DONE]
POST/v1/chat/completions · tools

Lets the AI call your own functions — for example, look up live data in your systems before answering.

You describe your functions in the request; when the model needs one, it returns a tool_calls reply naming the function and its inputs. Your code runs it and sends the result back as a tool role message.

{"model": "glm-5.3", "messages": [...], "tools": [{"type": "function", "function": {"name": "get_weather", "parameters": {...}}}]}
POST/v1/chat/completions · vision

Sends a picture to an image-capable model so it can describe or discuss it.

Attach the image as a link or as base64 (a way of encoding a file as text) inside the message content parts.

{"messages": [{"role": "user", "content": [ {"type": "text", "text": "What is in this image?"}, {"type": "image_url", "image_url": {"url": "https://..."}} ]}]}
POST/v1/messages

Accepts Claude/Anthropic's own request format, so software written for Claude works here without changes.

Point your Claude SDK or client at this address — no format conversion needed.

# Anthropic-format body: model, max_tokens, system, messages curl $FLUX_BASE_URL/messages \ -H "Authorization: Bearer $FLUX_API_KEY" \ -d '{"model": "...", "max_tokens": 1024, "messages": [{"role": "user", "content": "Hello"}]}'
GET/v1/models

Lists every model you can use, with its exact id — handy for showing a picker in your app.

curl $FLUX_BASE_URL/models \ -H "Authorization: Bearer $FLUX_API_KEY" # {"data": [{"id": "glm-5.3-flash"}, ...]}
POST/v1/embeddings

Turns text into a list of numbers that captures its meaning — the building block for search and "find similar" features.

Texts with similar meanings get similar number lists, so your software can match by meaning instead of exact keywords. Used for search, grouping (clustering) and RAG (feeding your own documents to a chatbot so it answers from them).

curl $FLUX_BASE_URL/embeddings \ -H "Authorization: Bearer $FLUX_API_KEY" \ -d '{"model": "...", "input": "text to embed"}'
POST/v1/images/generations · /v1/images/edits

Creates a picture from your written description — or changes an existing picture to match one.

Generation takes a prompt, size and count; edits modify an uploaded image. Which image models are available follows the catalog.

curl $FLUX_BASE_URL/images/generations \ -H "Authorization: Bearer $FLUX_API_KEY" \ -d '{"model": "...", "prompt": "a neon city at night"}'
POST/v1/audio/speech · transcriptions · translations

Turns written text into a spoken voice, a recording into written text, or a foreign-language recording into English text.

Audio files are uploaded as multipart (a standard way of attaching a file to a request, like an upload form on a website).

# speech synthesis (text → audio) curl $FLUX_BASE_URL/audio/speech \ -H "Authorization: Bearer $FLUX_API_KEY" \ -F 'input=Hello world' -F 'voice=alloy' # transcription (audio file → text) curl $FLUX_BASE_URL/audio/transcriptions \ -H "Authorization: Bearer $FLUX_API_KEY" \ -F 'file=@audio.mp3' -F 'model=...'

Error codes

When something goes wrong, the API replies with one of these numbers plus a readable message.

CodeMeaningWhat to do
401Invalid or missing API keyCheck the Bearer header; make a new key in the dashboard if lost
403Not enough balanceTop up — the balance updates the moment your deposit credits
404Unknown model or addressCheck the model id against GET /v1/models or the catalog page
429Too many requests too fastSlow down and retry; contact us for higher limits
5xxOur supplier had a problemAutomatic failover usually fixes it; safe to try the same request again

All errors return standard OpenAI-format JSON: {"error": {"message", "type", "code"}}.

API key management

Your API key is the secret password your software uses — create it, guard it, replace it here.

Create and revoke keys in the dashboard. The full key is shown once at creation — save it somewhere safe, it cannot be shown again. Replace any time with zero downtime (create new → point your code at it → revoke old). Never share keys; each key spends from your single balance and can be disabled on its own.

Pricing & bonus credit

✓ Models are listed at standard market rates — see the live catalog, updated automatically as models are added.
✓ Every top-up grants bonus credit: 18% extra on direct crypto payments, 15% via swap, 6% via card (shown as "−9% covers card processing" — the card network's fee).
✓ Minimum top-up: €5 at the coin's live market rate — your rate is locked for an hour when the invoice is created.
✓ Top-ups are non-refundable — credit pays for model usage only.
✓ The bonus appears as its own topup_bonus line in your balance history — fully auditable on your dashboard.

Also available on Tor

The entire site — these docs included — is mirrored as a hidden Tor address for full privacy.

Same pages, same API, no regular internet needed. Open it in Tor Browser (a privacy-focused browser):

Logging & privacy policy

✓ We store: your username, balance, usage totals, deposit records.
✗ We do not store: prompt contents, model outputs, or per-request bodies.
✓ Payment identity: none collected. Crypto deposits only.
✓ Requests are counted for billing (metadata only), then discarded.
✗ We never sell, share, or mine data. There is no third-party analytics on this site.

How model verification works

An automated system continuously checks that every model is the real thing — not a cheaper substitute.

Every supplier channel runs through automatic checks on a rolling schedule: fixed test questions with known correct answers, capability-edge questions that a weaker model fails, token-count checks, and speed measurements against known baselines. A channel that stops matching its reference is automatically pulled from routing, and only returns after passing clean audits again. The model you ask for is the model that answers — machine-checked, around the clock.