Get your API Key
- Sign in to the Velobase Dashboard.
- Create a new organization and project if you haven’t already.
- Go to Project Settings → API Keys and generate a new key.
Add Credits to a User
Start by giving a user some credits. If the user does not exist yet, Velobase creates them automatically.
Choose a Billing Flow
Once the user has credits, you can charge them in two ways:
- Use direct deduction when the cost is known upfront
- Use staged deduction when the final cost is only known after execution
- Option A: Direct Deduction
- Option B: Staged Deduction
Use this for fixed-price operations such as image generation or a known API call cost.This deducts
20 credits immediately.Next Steps
Depositing Credits
Wallet categories, validity periods, and balance breakdown.
Direct Deduction
Charge immediately when cost is known.
Staged Deduction
Freeze first, then settle the actual cost.
API Reference
Complete endpoint reference.