Rushie

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.

16:9hover to playtap to play
9:16hover to playtap to play

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.

couponpromo codediscount codeapply codevoucherprice dropyou savestrike throughorder summarysalecheckoutecommerce

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.

ParameterAcceptsDefault
captionShort line above the interaction, or empty to hidetext, up to 40 characters“Got a code?”
titleCard titletext, up to 22 characters“Order summary”
codeLabelPlaceholder in the code fieldtext, up to 18 characters“Promo code”
codeCode that gets typed intext, up to 14 characters“SAVE20”
applyApply button labeltext, up to 10 characters“Apply”
appliedWord after the code once it workstext, up to 18 characters“applied”
currencyCurrency sign before amountstext, up to 4 characters“$”
subtotalSubtotal before the discounta number, 0 to 99999960
subtotalLabelSubtotal labeltext, up to 16 characters“Subtotal”
shippingLabelShipping labeltext, 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 nothingtext, up to 10 characters“Free”
discountDiscount: a percentage or an amount, see kinda number, 0 to 99999920
kindWhether the discount is a percentage or a fixed amountone of percent, amountpercent
discountLabelDiscount row labeltext, up to 16 characters“Discount”
totalLabelTotal labeltext, up to 14 characters“Total”
savedLabelWords before the saving on the badgetext, up to 18 characters“You saved”
lookA clean app card or a paper receipt with a torn edgeone of card, receiptcard
backdropBehind the interaction: dark, light, chroma-key green (#00b140, no shadows) to key over footage, or the pictureone of dark, light, green, imagedark
pointerWhat presses: a cartoon hand, a touch dot as in screen recordings, a mouse cursor, or nothingone of hand, touch, cursor, nonehand
aspectFrame shapeone of 16:9, 9:16, 1:1, 4:516:9
durationSecondsseconds, 4 to 206
backgroundBackground coloura colour, e.g. #f4b942#0b0d12
foregroundText coloura colour, e.g. #f4b942#f5f5f2
accent__remotion-colora 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, expressivesans
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 giventext, up to 35 characters“en-US”
uiTextInterface words to replace, keyed by the English word the template draws ("Today": "Ce soir"); "" hides onean 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}'