An API to turn out
videos at scale
Create vertical video ads through the same service as the editor: your brand images, colours, music and on-screen text, narration coming soon. API keys, signed webhooks and sandbox mode.
Three ways it gets used: a vertical SaaS producing one video per listing, an agency running dozens of brands, an autonomous assistant ordering without supervision.
Up and running in three calls
1. Create a brand
curl -X POST https://reclames.fr/v1/brands \
-H "Authorization: Bearer rk_live_..." \
-H "Content-Type: application/json" \
-d '{
"name": "Camélia Fleurs",
"activity": "fleuriste, trois boutiques",
"cta_text": "camelia-fleurs.fr",
"primary_color": "#1D4ED8",
"dark_color": "#0B1220"
}'
2. Start a generation
One call produces three versions of the same subject (straight, question, number hook) and still counts as one video. You keep whichever you want.
curl -X POST https://reclames.fr/v1/generations \
-H "Authorization: Bearer rk_live_..." \
-H "Idempotency-Key: 4f9c1e2a" \
-H "Content-Type: application/json" \
-d '{
"brand_id": "brd_...",
"subject": "dépannage fuite le dimanche",
"duration": "standard",
"webhook_url": "https://exemple.fr/hooks/reclame"
}'
3. Collect the result
The signed webhook fires as soon as a take is ready, or you poll the generation.
curl https://reclames.fr/v1/generations/gen_... \
-H "Authorization: Bearer rk_live_..."
What matters when you integrate
Idempotency
An Idempotency-Key header on every creation. A network error on the way back never counts twice.
Sandbox
An rk_test_ key validates everything, uses nothing from the plan and returns a sample video. Integrate before you pay.
Signed webhooks
An X-Reclame-Signature header, HMAC SHA-256, timestamped, three attempts with backoff.
Spend cap
A daily video cap, settable over the API. A client that runs away is stopped by the service, not by the invoice.
Discoverable
GET /v1/capabilities and /v1/openapi.json, no key required: the contract is readable before the first call.
Stable error codes
Machine identifiers, never prose: insufficient_credits, brand_not_found, rate_limited.
Lengths
| Length | Duration | Out of a 30-video plan |
|---|---|---|
| Short | ~15 s | 37 · all three versions included |
| Standard | ~22 s | 30 · all three versions included |
| Long | ~35 s | 18 · all three versions included |
| Extra long | ~60 s | 11 · all three versions included |
The dashboard and the API draw from the same plan, counted in videos. For high volume or reselling, write to us.
MCP server
In the works: an MCP server exposing brand creation, ordering, take selection and the counter as tools, to drive the service in plain language.
The same guardrails as the API: spend cap, idempotency, pushed status, stable codes.