Interactions · motion template
Coupon apply
A promo code types into an order summary, Apply is pressed, the field turns green, a discount row slides open, the old total is struck through as the new one counts down and a You saved badge pops: promo codes, discounts and sale ads.
1 credit to render. Nothing else to pay. Rendered to MP4 in about a minute, 6 seconds by default. The clip is yours alone: never listed, delivered as a private download link, and refunded if it cannot be made.
Parameters
Everything this template takes. Anything you leave out keeps its default; a value out of range is refused with a sentence before anything is charged.
| Parameter | Accepts | Default |
|---|---|---|
captionShort line above the interaction, or empty to hide | text, up to 40 characters | “Got a code?” |
titleCard title | text, up to 22 characters | “Order summary” |
codeLabelPlaceholder in the code field | text, up to 18 characters | “Promo code” |
codeCode that gets typed in | text, up to 14 characters | “SAVE20” |
applyApply button label | text, up to 10 characters | “Apply” |
appliedWord after the code once it works | text, up to 18 characters | “applied” |
currencyCurrency sign before amounts | text, up to 4 characters | “$” |
subtotalSubtotal before the discount | a number, 0 to 999999 | 60 |
subtotalLabelSubtotal label | text, up to 16 characters | “Subtotal” |
shippingLabelShipping label | text, up to 16 characters | “Shipping” |
shippingShipping value as text; a number in it (like $4.95) is added to the total, words like Free add nothing | text, up to 10 characters | “Free” |
discountDiscount: a percentage or an amount, see kind | a number, 0 to 999999 | 20 |
kindWhether the discount is a percentage or a fixed amount | one of percent, amount | percent |
discountLabelDiscount row label | text, up to 16 characters | “Discount” |
totalLabelTotal label | text, up to 14 characters | “Total” |
savedLabelWords before the saving on the badge | text, up to 18 characters | “You saved” |
lookA clean app card or a paper receipt with a torn edge | one of card, receipt | card |
backdropBehind the interaction: dark, light, chroma-key green (#00b140, no shadows) to key over footage, or the picture | one of dark, light, green, image | dark |
pointerWhat presses: a cartoon hand, a touch dot as in screen recordings, a mouse cursor, or nothing | one of hand, touch, cursor, none | hand |
aspectFrame shape | one of 16:9, 9:16, 1:1, 4:5 | 16:9 |
durationSeconds | seconds, 4 to 20 | 6 |
backgroundBackground colour | a colour, e.g. #f4b942 | #0b0d12 |
foregroundText colour | a colour, e.g. #f4b942 | #f5f5f2 |
accent__remotion-color | a colour, e.g. #f4b942 | #ff8a00 |
fontTypeface family: sans (Inter), serif (Source Serif 4), mono (JetBrains Mono), or a display face: display (Fraunces), grotesk (Space Grotesk), condensed (Oswald), expressive (Bricolage Grotesque) | one of sans, serif, mono, display, grotesk, condensed, expressive | sans |
localeLanguage and region the frame is drawn in (BCP 47, e.g. fr-FR): numbers, month and day names, and the interface words a template paints. Interface words are translated for en, fr, es and de; text you pass in other parameters is drawn as given | text, up to 35 characters | “en-US” |
uiTextInterface words to replace, keyed by the English word the template draws ("Today": "Ce soir"); "" hides one | an object with | {} |
From your assistant
With Rushie connected, ask in plain words and name the template, or let it choose. These are the calls it makes. Connect an assistant.
design_motion({"brief": "<what it is for, in a sentence>", "template": "coupon-apply"})
-> designs on this template, every parameter filled, free
make_motion({"template": "coupon-apply", "props": {"caption": "Got a code?", "title": "Order summary", "codeLabel": "Promo code", "code": "SAVE20", "aspect": "16:9"}, "max_credits": 20})
-> request_id
check_commission({"request_id": "req_..."})
-> rendering, then the private download link
Make it from code
One request with an API key from your account, then poll
GET /api/bank/request/<id>. See motion design for the rest.
curl -X POST https://rushie.ai/api/bank/motion \
-H "Authorization: Bearer rsh_..." \
-H "Content-Type: application/json" \
-d '{"template": "coupon-apply", "props": {"caption": "Got a code?", "title": "Order summary", "codeLabel": "Promo code", "code": "SAVE20", "aspect": "16:9"}, "max_credits": 20}'







