AirCubeAirCube
Core Concepts

Billing & Credits

How billing, credits, and pricing work in the AirCube API.

Pay-as-you-go

AirCube uses a pay-as-you-go credit system. You purchase credits in advance and each generation deducts credits based on the model and parameters used. There are no subscriptions or monthly minimums.

Adding credits

Add credits to your account from the Billing page in your dashboard. Top-up amounts range from $10 to $5,000.

Auto-recharge

You can enable auto-recharge to automatically top up your balance when it falls below a threshold. This prevents generation failures due to insufficient credits during high-volume usage.

How charging works

Credits are charged at the time of submission, not completion:

  1. You submit a generation request.
  2. The API calculates the cost based on the model, task, and parameters.
  3. Credits are deducted from your balance immediately.
  4. If the generation fails, credits are automatically refunded.

If your balance is insufficient, the API returns a 402 PAYMENT_REQUIRED error and the request is rejected.

Pricing overview

Pricing varies by model and generation type. Here's a general overview:

Generation typeTypical price range
Image generation$0.01 – $0.10 per image
Video generation$0.10 – $1.00+ per video
Audio / TTS$0.01 – $0.05 per generation
Face swap (image)Fixed price per swap
Face swap (video)Scales with video duration

Exact per-model pricing is available on the pricing page.

Factors that affect cost

  • Model — different models have different per-generation costs.
  • Quality — higher quality settings may cost more.
  • Duration — longer videos cost more.
  • Count — generating multiple outputs in one request multiplies the cost.

Monitoring usage

Track your credit balance and usage history from the Billing page. Each generation record includes the cost charged.

Insufficient credits

If you don't have enough credits for a request, the API returns:

{
  "success": false,
  "error": {
    "code": "PAYMENT_REQUIRED",
    "message": "Insufficient credit balance"
  }
}

Add credits to your account and retry the request.

On this page