Skip to content

API costs, balance and billing

Per second of the finished video, reserved when the render starts. Test mode, previews and estimates are free.

As Markdown (for AI)OpenAPI

Contents and all reference pages

In live mode the API bills per started second of the finished video. The price is reserved from your balance when the render starts. If the result is green, it stays charged. If a video stays red after our automatic fix, it stays charged too – in return you get one free rebuild.

Ask for the price first, free of charge, with POST /estimates. GET /balance shows balance and monthly limit, GET /usage the usage per day. All cent amounts in the API are net; for private customers the final price including VAT applies.

Price per second

  • Billing is per started second of the finished video (billable_seconds). 30.4 seconds become 31 billable seconds.
  • Rate without a plan in the beta price list: €0.12 per second, net. At least 10 seconds per video.
  • A video is at most 180 seconds long.
  • Videos without narration cost half if the price list says so. The estimate shows whether that applies right now.
  • Plans (Build, Scale, Volume) have a lower rate per second. Today you pre-select a plan in your account under “API”; it is booked through checkout once payments are open.

Note: The binding rate is the one the API returns at runtime: unit_price_eur_per_second in GET /balance and POST /estimates. If no live price is set yet, it says pricing_available: false, and a live render ends with 409 pricing_not_set.

Private customers and businesses

The API is open to private customers and businesses. All cent fields (price_cents, available_cents, charged_cents …) are net. To show prices to private customers, use price_gross_cents: the net price times 1.19, rounded to whole cents.

  • Private customer: the final price including 19% VAT applies. You top up a final price; the balance holds the net share and charges are net.
  • Business in Germany: net plus 19% VAT.
  • Business elsewhere in the EU with a verified VAT ID: net, reverse charge.
  • Residence or seat outside the EU: cannot be booked at the moment.

When you are charged – and when not

  1. POST /estimates: free, creates nothing.
  2. POST /videos and PATCH on a draft: free. You get a checked preview.
  3. POST /videos/{id}/render (or render: true on create): the API checks price, max_price_cents, the monthly limits of account and key, and the balance. If something is missing you get a 402 and nothing is reserved.
  4. If everything fits, the API reserves the price (reserved_cents) and starts the render.
  5. Green (succeeded): the amount stays charged. charge.amount_cents on the render shows it.
  6. Red after our automatic fix (failed): the amount stays charged. The video gets free_rebuild_available: true.
  7. Free rebuild red as well: the amount is credited back to your balance. There is no payout for it (consumers can ask for a refund to their payment method instead).
CaseCharged?
Preview, draft, estimatenever
Test mode (fm_test_…)never
Webhooksnever
Cancel while the render is still waiting (queued)no – the reservation is released
Cancel a running rendermay stay charged – charge and error.charged on the render show it
System error at start (503 render_failed)no – the reservation is released
Render greenyes
Render red after the fixyes – with one free rebuild
Free rebuild redamount credited back to the balance

Free rebuild after red (free_rebuild)

If a paid render stayed red, the video shows free_rebuild_available: true. Change the fields if needed (PATCH) and start the render once with free_rebuild: true. Nothing is reserved and nothing is charged again.

If no rebuild is open, the API answers 409 no_free_rebuild. GET /videos/{id}/report tells you why the video is red.

curl
curl -s -X POST https://flow-marketing.org/api/turbo/v1/videos/vid_7Hq2LmN0pQrS3tUv4WxY/render \
  -H "Authorization: Bearer $FLOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: rebuild-vid_7Hq2LmN0pQrS3tUv4WxY" \
  -d '{"free_rebuild": true}'

Estimate: POST /estimates

Send the same data as for POST /videos: template and either fields or brief. With fields the estimate uses the render’s calculation (binding: true): it applies to exactly these fields as long as the price list does not change; it is not stored. To make sure the render does not cost more, pass the amount as max_price_cents when you start it – otherwise the API does not stop. With brief the API uses the template’s example fields (binding: false).

The call needs the scope videos:read and counts towards the “write” class of the rate limit. In test mode price_cents and price_gross_cents are 0.

curl
curl -s https://flow-marketing.org/api/turbo/v1/estimates \
  -H "Authorization: Bearer $FLOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"template":"release-notes","brief":"Version 4.2 brings dark mode and faster exports."}'
JavaScript
const res = await fetch('https://flow-marketing.org/api/turbo/v1/estimates', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.FLOW_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ template: 'release-notes', brief: 'Version 4.2 brings dark mode and faster exports.' }),
})
const estimate = await res.json()
console.log(estimate.price_cents, estimate.price_gross_cents, estimate.billable_seconds, estimate.binding)
Python
import os, requests

r = requests.post(
    "https://flow-marketing.org/api/turbo/v1/estimates",
    headers={"Authorization": f"Bearer {os.environ['FLOW_API_KEY']}"},
    json={"template": "release-notes", "brief": "Version 4.2 brings dark mode and faster exports."},
    timeout=30,
)
estimate = r.json()
print(estimate["price_cents"], estimate["price_gross_cents"], estimate["billable_seconds"], estimate["binding"])
Response 200 (example values)
{
  "object": "estimate",
  "price_cents": 372,
  "price_gross_cents": 443,
  "currency": "eur",
  "billable_seconds": 31,
  "duration_s": 30.4,
  "unit_price_eur_per_second": "0.12",
  "pricing_available": true,
  "pricing_beta": true,
  "binding": false,
  "ready_in_s": [70, 180],
  "mode": "live",
  "template": "release-notes",
  "quality": null
}

Ceiling per render: max_price_cents

Set max_price_cents on the render (or on create with render: true). If the price is higher, nothing starts and the API answers 402 price_above_max. Use the amount you quoted or had confirmed before.

curl
curl -s -X POST https://flow-marketing.org/api/turbo/v1/videos/vid_7Hq2LmN0pQrS3tUv4WxY/render \
  -H "Authorization: Bearer $FLOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: render-vid_7Hq2LmN0pQrS3tUv4WxY-1" \
  -d '{"max_price_cents": 372}'

Balance: GET /balance

Needs the scope usage:read. All amounts in cents, net.

FieldMeaning
available_centsbalance you can spend now
reserved_centsheld for running renders
unit_price_eur_per_secondcurrent rate as a decimal string, null without a per-second price
pricing_available / pricing_betalive price set? beta prices?
month, month_spent_centscalendar month and the amount charged in it
monthly_limit_cents, monthly_limit_left_centsmonthly limit of the account and what is left (reservations included)
Response 200 (example values)
{
  "object": "balance",
  "mode": "live",
  "currency": "eur",
  "available_cents": 4210,
  "reserved_cents": 372,
  "unit_price_eur_per_second": "0.12",
  "pricing_available": true,
  "pricing_beta": true,
  "month": "2026-11",
  "month_spent_cents": 1488,
  "monthly_limit_cents": 100000,
  "monthly_limit_left_cents": 98140
}

Usage: GET /usage

GET /usage?days=30 returns one row per day (UTC) and template, newest first. days ranges from 1 to 366, default 30. Renders of deleted videos are grouped as deleted_video. Speech jobs appear as extra rows with the group speech:<model>.

billable_seconds counts green renders only. charged_cents is what was charged minus credits after a red free rebuild; credited_cents shows those credits separately. free_failed counts red renders that were not charged (free rebuild, test mode), charged_failed red renders that stayed charged. The list always comes complete (has_more: false).

Response 200 (example values)
{
  "object": "list",
  "data": [
    { "day": "2026-11-22", "group": "release-notes", "mode": "live", "renders": 3, "billable_seconds": 93,
      "images": 0, "charged_cents": 1116, "credited_cents": 0, "free_failed": 0, "charged_failed": 0 },
    { "day": "2026-11-21", "group": "deleted_video", "mode": "live", "renders": 1, "billable_seconds": 31,
      "images": 0, "charged_cents": 372, "credited_cents": 0, "free_failed": 0, "charged_failed": 0 }
  ],
  "has_more": false,
  "next_cursor": null
}

Note: Rows are always grouped by day and template (speech jobs per model). There is no group_by parameter.

Monthly limit, key limit and warnings

  • The API account has a monthly limit; you set it in your account under “Budget”. Limits per key are planned but cannot be set in the account today. If the limit is not enough, you get 402 spending_limit_reached. The detail text says which limit applies.
  • If the balance is too low, you get 402 insufficient_balance with missing_cents: at least this much is missing.
  • At 80% and 100% of the limit the API sends the webhooks spending_limit.warning and spending_limit.reached. When the balance runs low, balance.low follows.
  • You change limits in your account under “API”.

Top-ups, invoices and receipts

  • You pay in advance. Top up in your account under “API” by card or SEPA direct debit; minimum and maximum amounts are shown there. Auto top-up reloads when the balance falls below a threshold.
  • As long as top-ups are not open yet, the account answers payments_not_open. A starting credit, if you received one, can be used anyway; it expires after 90 days.
  • Every top-up comes with an invoice as PDF by email and in your account (with ZUGFeRD data). The monthly usage statement (PDF/CSV) shows what the balance was spent on – it is not an invoice.
  • Topped-up balance does not expire. After the contract ends we refund unused balance on request (API terms § 4).
  • You cannot top up through the REST API. A 402 insufficient_balance answer names the missing amount; top up in your account.

Did this help?

Still have a question?

Mo is an AI and answers right away from these articles. A person on our team replies within 24 hours on business days.

Some services degraded
Create a videoNo subscription needed · cancel any time