Larz API Quickstart
From zero to your first AI response in two minutes.
The Larz API is a clean, Larz-native HTTP API for AI text generation and 40+ ready-made tools. This guide gets you from zero to your first response in about two minutes.
1. Get an API key
Create a free Larz account and generate a key on the developer dashboard. Your key looks like larz_sk_… and is shown once — store it safely.
2. Make your first call
POST https://api.larzos.com/v1/generate
curl https://api.larzos.com/v1/generate \
-H "Larz-Api-Key: larz_sk_your_key" \
-H "Content-Type: application/json" \
-d '{"prompt":"Write a friendly welcome message"}'
3. Read the response
{
"id": "larz_gen_…",
"object": "generation",
"model": "drlarz-chat",
"output": "Welcome aboard! …",
"usage": { "tokens": 219 },
"created": 1783362964
}
What's next
- Explore the text generation API for models, system prompts and multi-turn.
- Skip prompt-engineering with the Tools API — 40+ endpoints like hashtags and ad copy.
- Check limits & pricing — the free tier needs no card.