Interactions · motion template
Add to cart
A product card's Add to cart button is pressed, the product flies on an arc into the cart icon, the cart jolts and its badge counts up while the button turns to Added: shop ads, product reels and app demos.
1 credit to render, plus a standard licence for each catalogue picture it uses (4 credits each). Licences are free on Rushie at the moment, so an order costs 1 credit. Rendered to MP4 in about a minute, 5 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 |
|---|---|---|
imageProduct picture | a picture: asset:<id> or subject:<words> | a catalogue picture |
captionShort line above the interaction, or empty to hide | text, up to 40 characters | “Add it in one tap” |
shopShop name in the top bar | text, up to 24 characters | “Northwind Coffee” |
nameProduct name | text, up to 40 characters | “Morning Roast, 500 g” |
detailLine under the name, or empty to hide | text, up to 40 characters | “Whole bean · Medium roast” |
pricePrice | text, up to 12 characters | “$18.00” |
ctaButton label | text, up to 20 characters | “Add to cart” |
doneButton label once the product is in the cart | text, up to 20 characters | “Added” |
countItems already in the cart: the badge counts up by one | a whole number, 0 to 98 | 2 |
iconCart or shopping-bag icon | one of cart, bag | cart |
layoutCard shape: auto is horizontal in wide frames and vertical in tall or square ones | one of auto, vertical, horizontal | auto |
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, 3 to 20 | 5 |
backgroundBackground colour | a colour, e.g. #f4b942 | #0b0d12 |
foregroundText colour | a colour, e.g. #f4b942 | #f5f5f2 |
accent__remotion-color | a colour, e.g. #f4b942 | #ff6a3d |
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 | {} |
sfxSound effects on the motion's beats: off (silent), subtle (the default), or full | one of off, subtle, full | subtle |
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": "add-to-cart"})
-> designs on this template, every parameter filled, free
make_motion({"template": "add-to-cart", "props": {"image": "asset:a_1665ccc082d6", "caption": "Add it in one tap", "shop": "Northwind Coffee", "name": "Morning Roast, 500 g", "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": "add-to-cart", "props": {"image": "asset:a_1665ccc082d6", "caption": "Add it in one tap", "shop": "Northwind Coffee", "name": "Morning Roast, 500 g", "aspect": "16:9"}, "max_credits": 20}'







