Rushie

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.

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

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.

add to cartcartshopping cartadd to bagbuyecommerceonline shopproduct cardbutton presscart badgeshop adtap

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
imageProduct picturea picture: asset:<id> or subject:<words>a catalogue picture
captionShort line above the interaction, or empty to hidetext, up to 40 characters“Add it in one tap”
shopShop name in the top bartext, up to 24 characters“Northwind Coffee”
nameProduct nametext, up to 40 characters“Morning Roast, 500 g”
detailLine under the name, or empty to hidetext, up to 40 characters“Whole bean · Medium roast”
pricePricetext, up to 12 characters“$18.00”
ctaButton labeltext, up to 20 characters“Add to cart”
doneButton label once the product is in the carttext, up to 20 characters“Added”
countItems already in the cart: the badge counts up by onea whole number, 0 to 982
iconCart or shopping-bag iconone of cart, bagcart
layoutCard shape: auto is horizontal in wide frames and vertical in tall or square onesone of auto, vertical, horizontalauto
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, 3 to 205
backgroundBackground coloura colour, e.g. #f4b942#0b0d12
foregroundText coloura colour, e.g. #f4b942#f5f5f2
accent__remotion-colora 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, 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 {}
sfxSound effects on the motion's beats: off (silent), subtle (the default), or fullone of off, subtle, fullsubtle

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}'