In test mode everything is free: up to 25 renders per day, with a watermark.
Live is billed per second of the finished video. You find the current price on the pricing page under “API”. Before every render you ask for it with POST /estimates and set a ceiling with max_price_cents. If no price is set for a service yet, the API answers pricing_not_set.
A video that stays red after the automatic fix is billed. In return you get one free rebuild. If that stays red too, you get the amount back.
Coming soon: top up a balance for the API. Until then the API answers top-ups with payments_not_open.
Did this help?