Credits & Pricing
Understanding costs and optimizing your credit usage.
Credit Costs
| Operation | Credits | Notes |
|---|---|---|
| Image generation | 1 | Per image |
| Animation | 5 / second | 4-second animation = 20 credits |
| Logo generation | 20 | Requires Pro plan or higher |
| Image edit | 1 | Inpainting or style transfer |
| Reverse (undo) | 0 | Free |
What's Free
These operations cost zero credits:
analyze-image- AI analysis of an uploaded imageanalyze-url- Website analysis and mascot suggestionssuggest-actions- AI-suggested poses for a collection- Style card extraction (automatic on first generation)
- Background removal (included in generation pipeline)
- Format conversion (webm, hevc from video)
- Size variants (resizing animations to multiple resolutions)
How Credits Work
Credits are deducted upfront when a generation job starts. If the job fails, credits are automatically refunded to your account.
Your account has two credit balances: subscription credits (replenished each billing cycle) and top-up credits (purchased separately, never expire). Subscription credits are used first.
Checking Your Balance
curl https://api.masko.ai/v1/credits \
-H "Authorization: Bearer masko_YOUR_API_KEY"Common Workflow Costs
| Workflow | Credits |
|---|---|
| 1 image (with bg removal + formats) | 1 |
| 1 animation (4s, includes image + bg removal) | 21 |
| 8 poses (images only) | 8 |
| Full canvas (4 states, 16 animations at 4s) | ~400 |
Insufficient Credits
If you don't have enough credits, the API returns a 402 Payment Required response:
{
"error": "Insufficient credits",
"required": 21,
"available": 5
}Tip
Logo generation requires a Pro plan or higher. If you're on the Free or Starter plan, the API returns a 403 Forbidden response instead.