API Reference
Credits & Billing
Credits power every operation on floow.design. Each API call deducts credits from your balance. This page explains how credits work, what each plan includes, and how to buy more when you need them.
How credits work
Deducted per call
Each time you call an endpoint — like Image → HTML or Export Code — credits are deducted from your balance automatically.
Reset on billing date
Plan credits refresh every billing cycle (monthly or yearly). Any unused plan credits are forfeited — they do not roll over.
Packs never expire
Credit packs are a one-time purchase. They stack on top of your plan's monthly credits and never expire.
What each plan includes
The Free plan gives you 150 one-time credits to explore the platform — these are not renewed each month and do not include API access. To use the API, you need a paid plan.
| Plan | Credits | Resets | API access | Buy more |
|---|---|---|---|---|
| Freeplatform only | 150 | One-time | — | — |
| Lite | 2,000 / mo | Monthly | ✓ | ✓ |
| Starter | 8,000 / mo | Monthly | ✓ | ✓ |
| Pro | 40,000 / mo | Monthly | ✓ | ✓ |
| Team | 60,000 / seat / mo | Monthly | ✓ | ✓ |
Need more credits?
Use the estimator below to figure out how many credits you need, then buy a pack in one click. Credit packs are available on Lite and above — they never expire and stack on top of your plan.
Estimate your monthly usage
= 1,500 credits
= 750 credits
= 200 credits
Credit packs— one-time purchase, never expires
Starter Pack
$9
1,000 credits
Growth Pack
$39
5,000 credits
✓ Covers your estimate
Scale Pack
$139
20,000 credits
✓ Covers your estimate
Enterprise Pack
$599
100,000 credits
✓ Covers your estimate
Credits are added to your account immediately after payment. Requires Lite plan or higher.
Buy a credit pack via API
You can also trigger a purchase programmatically. The endpoint returns a Stripe checkout URL — redirect your user to it to complete payment. Credits are added to the account as soon as payment succeeds.
/api/v1/credits/purchase🔑 Auth requiredCreate a Stripe checkout session for a credit pack. Returns a one-time checkout URL to redirect your user to.
- Requires Lite plan or higher. Returns 403 with upgrade: true if the account is on the Free plan.
- The url is a one-time Stripe Checkout link. Redirect the user's browser to it to complete payment.
- Credits are added permanently — no expiry date.
Body Parameters
| Name | Type | Required | Description |
|---|---|---|---|
pack | "credits_1000" | "credits_5000" | "credits_20000" | "credits_100000" | Yes | The ID of the credit pack to purchase. |
{ "url": "https://checkout.stripe.com/c/pay/...", "pack": { "id": "credits_5000", "name": "Growth Pack", "credits": 5000, "price": "$39" }}curl https://www.floow.design/api/v1/credits/purchase \ -X POST \ -H "Authorization: Bearer fl_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "pack": "credits_5000" }'Available packs
| Pack ID | Name | Credits | Price |
|---|---|---|---|
credits_1000 | Starter Pack | 1,000 | $9 |
credits_5000popular | Growth Pack | 5,000 | $39 |
credits_20000 | Scale Pack | 20,000 | $139 |
credits_100000 | Enterprise Pack | 100,000 | $599 |