Rushie

Interactions · motion template

Quantity stepper

A cart line (or a big pill stepper) where + is tapped again and again, the quantity rolls up and the total recalculates and flashes each time: multi-buy offers, grocery and cart 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.

quantitystepperplus minusincrease quantitycarttotal pricemulti-buygroceryecommercecountertapshop ui

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“Stock up in a tap”
nameProduct nametext, up to 36 characters“Fresh strawberries, 400 g”
detailLine under the name, or empty to hidetext, up to 36 characters“Picked this morning”
unitPricePrice of one: the total is this times the quantitya number, 0 to 999994.5
currencyCurrency sign before amountstext, up to 4 characters“$”
fromQuantity at the starta whole number, 1 to 81
toQuantity after the taps on +a whole number, 2 to 124
eachLabelWord after the unit pricetext, up to 12 characters“each”
totalLabelLabel above the totaltext, up to 14 characters“Total”
lookA cart line with a compact stepper, or a big pill stepper under a big totalone of card, pillcard
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#e8384f
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": "quantity-stepper"})
    -> designs on this template, every parameter filled, free
make_motion({"template": "quantity-stepper", "props": {"image": "asset:a_92b365d2232d", "caption": "Stock up in a tap", "name": "Fresh strawberries, 400 g", "detail": "Picked this morning", "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": "quantity-stepper", "props": {"image": "asset:a_92b365d2232d", "caption": "Stock up in a tap", "name": "Fresh strawberries, 400 g", "detail": "Picked this morning", "aspect": "16:9"}, "max_credits": 20}'