Flowpig API Manual

One base URL. Every capability.

Flowpig gives your agent one OpenAI-compatible endpoint for reasoning, fast inference, memory, hearing and voice. Choose a stable capability alias and keep the rest of your stack small.

API BASE URLhttps://api.flowpig.dev/v1

Make the first request.

Keep your existing client and change the base URL. Flowpig owns the account, routing and pacing behind the endpoint.

quickstart.tsTYPESCRIPT
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: FLOWPIG_KEY,
  baseURL: "https://api.flowpig.dev/v1",
});

const response = await client.chat
  .completions.create({
    model: "flow-main",
    messages,
  });

Small surface. Full kit.

One account exposes the capabilities your agent actually uses.

GET/v1/modelsStable capability catalog
POST/v1/chat/completionsOpenAI-compatible text gen
POST/v1/embeddingsMemory and retrieval vectors
POST/v1/audio/transcriptionsSpeech recognition
POST/v1/audio/speechVoice synthesis

Build against the kit.

Capability names stay stable. Infrastructure underneath can evolve.

flow-mainMain intelligenceReasoning and coding
flow-fastFast inferenceAgent loops and utility calls
flow-embedMemoryEmbeddings and retrieval
flow-sttHearingSpeech recognition
flow-ttsVoiceText-to-speech output

One key. No supplier credentials.

Create a Flowpig API key from the account flow, then keep it on the server side. Never ship it to a browser.

terminalBEARER AUTH
curl https://api.flowpig.dev/v1/models \
  -H "Authorization: Bearer ***"
Get your API key →