Credits
MuAPI uses a credit-based system to meter API usage. Credits are purchased in advance and deducted per generation.
Your Credit Wallet
Every account has a personal credit wallet. Your balance is visible on the Dashboard.
- Credits never expire.
- All AI generation tasks deduct credits at the time of generation.
- File uploads are free but require a balance greater than 0.
Checking Your Balance
Via API:
GET /api/v1/account/balance
x-api-key: YOUR_API_KEY
Response:
{ "balance": 42.50 }
Via CLI:
muapi account balance
Topping Up
- Go to Dashboard → Billing → Add Credits.
- Choose an amount and complete Stripe checkout.
- Credits are added to your wallet immediately after payment.
Via API:
POST /api/v1/account/topup
{ "amount": 20 }
Returns a Stripe checkout URL.
Usage History
Your full usage log is available in the Dashboard. Each entry shows:
- Model used and endpoint called
- Credits deducted
- Request ID and timestamp
- Input parameters and output URLs
Free Credits
New accounts receive a small free credit allocation to get started.
See Also
- Pricing — model costs and tiers
- Payments — Stripe integration details
- Authentication — API keys