Contents and all reference pages
The mode depends only on the key. With fm_test_… everything is free, and videos have a watermark and a low resolution. Base URL, endpoints and responses are the same as live.
Test and live are strictly separate: videos, renders, webhooks and idempotency keys of one mode are invisible to the other.
Test and live keys
- Test keys start with fm_test_, live keys with fm_live_, followed by 32 characters.
- You can always create test keys. Live keys need a complete address with country; businesses elsewhere in the EU need a verified VAT ID. Live is not available outside the EU at the moment.
- Both use the same base URL https://flow-marketing.org/api/turbo/v1.
Differences between test and live
| Topic | Test (`fm_test_…`) | Live (`fm_live_…`) |
|---|---|---|
| Cost | 0 – price_cents: 0, unit_price_eur_per_second: "0" | per second, reserved at start |
| Files | preview with watermark in low resolution (720p), same names as live (master_16x9 …) | master files |
| Renders per day | 25 per 24 h (corrections do not count) | no daily limit; balance and monthly limit apply |
| Requests per minute | read 120 · write 30 · expensive 20 | read 600 · write 120 · expensive 60 |
Balance, limits, max_price_cents | not needed, nothing is charged | checked before every render |
| Live price not set yet | rendering works | 409 pricing_not_set |
| Webhooks | only test-mode events | only live-mode events |
| AI media | small test media instead of real AI results | real results |
| MCP | free, no price card | price card and confirmation by the human |
Warning: Test results are for checking and development only. Publishing them or removing the watermark is not allowed (API terms § 2).
Ids are separate per mode
A video you created with a test key does not exist for a live key – and vice versa. The API then answers 404 not_found: “the id does not belong to this account or mode (test/live), or it does not exist”.
The same goes for lists, webhooks and idempotency keys. When you switch to live, create videos and webhooks again.
Testing states and errors on purpose
There are no test scenarios that trigger an error on demand at the moment. The code test_scenario_in_live_mode is in the OpenAPI list but is not sent today. This is how you still produce the important cases:
| Case | How to trigger it |
|---|---|
422 validation_failed | send an unknown field, or fields and brief together |
400 invalid_json | send broken JSON |
415 unsupported_media_type | POST with Content-Type: text/plain |
404 not_found | ask for a made-up id – or a test id with a live key |
409 idempotency_key_reused | the same Idempotency-Key with a different body |
409 video_busy | start the same render twice in quick succession |
409 not_renderable | render a finished video (ready) again |
422 pre_render_check_red | fill a field with far too much text for the length |
| Webhook receipt | POST /webhooks/{id}/test sends the event test.ping |
| Render flow | a real test render: queued → rendering → checking → succeeded, typically 70 to 180 seconds |
Note: Balance errors (402), charged red renders and the free rebuild cannot be forced in test mode. Build the handling from the documented error bodies and test it with fixtures in your own code.
Going live
- Create a live key in your account under “API” (the address with country must be complete).
- Set the monthly limit of the API account in your account under “Budget”.
- Create webhooks for live mode again and store the new secret.
- Swap the key in the environment variable (FLOW_API_KEY), never in code.
- Check GET /balance: pricing_available must be true and available_cents must be enough.
- Start the first live render with max_price_cents from POST /estimates.
Did this help?