Guides
Learn and build
14 practical guides with working code, from your first request to production RAG pipelines and agents.
Getting started
Quickstart: your first request in 5 minutes
Create an API key, make your first chat completion with Python, TypeScript or curl, and switch between providers by changing one string.
5 min readAPI keys and security
Create, scope, rotate and revoke AILabStore API keys, and keep them out of your source code, logs and browsers.
6 min readMigrate from the OpenAI SDK
Point an existing OpenAI integration at AILabStore by changing the base URL and key, in Python, TypeScript, curl and popular frameworks.
6 min readBilling and packages
How AILabStore packages stack, how monthly invoicing works, and where to download your invoices.
5 min read
Building
Build a RAG pipeline
Answer questions over your own documents with retrieval-augmented generation: chunking, embeddings, vector search and grounded prompts.
9 min readBuild AI agents with n8n
Deploy managed n8n, connect it to AILabStore, and build a tool-using agent that triages support emails and posts summaries to Slack.
8 min readEmbeddings and vector databases
Understand embeddings, choose an embedding model, and store and search vectors with Qdrant, pgvector or Chroma.
8 min readStreaming responses
Stream tokens as they are generated with Python, TypeScript and curl, and forward the stream to a browser from a Next.js route.
7 min readDeploy Open WebUI for your team
Launch Open WebUI as a managed tool, connect it to every AILabStore model, and set up users, knowledge collections and sensible defaults.
7 min read
Models
Model routing and fallbacks
Send each request to the right model, retry safely, and fall back to another provider when one is slow or unavailable.
7 min readPrompt engineering basics
Practical techniques for clear, reliable prompts: roles, structure, examples, output formats and iterating with evaluations.
8 min readImage generation
Generate and edit images with GPT Image, FLUX, Imagen, Stable Diffusion, Ideogram and more through one API, with prompting tips and production advice.
7 min readFine-tune a model with Hugging Face
Decide when fine-tuning is worth it, prepare a dataset, train a LoRA adapter with TRL and PEFT, and serve it next to your AILabStore models.
9 min read