Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.babysea.ai/llms.txt

Use this file to discover all available pages before exploring further.

Credits are BabySea’s spending balance. One credit equals $1 USD, and balances are stored to three decimal places.

Balance

The Credits page shows the current account balance and the ledger of balance movements.
ConceptMeaning
BalanceCurrent available credits for the account.
LedgerImmutable record of credit movements.
AmountCredit amount for that ledger event.
Balance afterBalance after the movement was applied.

Ledger event types

TypeEffectCreated when
reserveDeducts creditsA generation starts and BabySea reserves the estimated cost.
chargeNo balance changeA reserved generation succeeds and the reservation is confirmed.
refundAdds credits backA reserved generation fails or is canceled before charge.
addAdds creditsSubscription renewal, welcome credit, or credit pack purchase.
Credit movements are idempotent for generation charges, refunds, and credit additions.

Generation credit flow

1

Estimate

BabySea calculates the model cost from model pricing, output count, duration, resolution, and audio settings when applicable.
2

Reserve

BabySea checks the account balance and reserves the estimated cost. If the balance is too low, the API returns BSE1004.
3

Charge or refund

Successful jobs create a charge ledger entry. Failed or eligible canceled jobs create a refund entry and restore credits.

Welcome credits

New users receive $1.000 in welcome credits once.

Credit packs

Credit packs are purchased from billing, not from the Credits page.
PackCredits added
$1010.000
$2525.000
$5050.000
$100100.000
$500500.000
$1,0001,000.000
Credit packs require an active subscription and can be purchased only by the primary-owner.

Low-balance alerts

Low-balance alerts are configured from the Billing page in the Low Balance Alerts card, and from the notifications page. The default is a single threshold at $0.50. You can replace the threshold list with up to 10 positive dollar amounts. Alerts can deliver through:
  • in-app notification
  • email
  • credits.low_balance webhook event
Each threshold fires once while the balance remains below it. Adding or refunding credits re-arms thresholds that the balance rises above. See webhooks for the credits.low_balance payload.

Search and export

The ledger table shows type, amount, balance, model, generation ID, description, and timestamp. Search covers type, model, generation ID, description, and amount. The page displays 300 rows per page and includes a fullscreen view.

Retention

Credit audit trails have longer retention than operational logs.
PlanCredit ledger retention
Free30 days
Starter90 days
Pro180 days
Scale1 year
Enterprise1 year