Interactions · motion template
XP gain
A lesson-complete card where a finger taps Claim, a gold +XP chip arcs into the progress bar or ring, the XP fills, the level badge rolls over with rays and a 'Level up!' burst: learning apps, gamified products and streak rewards.
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, 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 |
|---|---|---|
backdropBehind the interaction: dark, light, chroma-key green (#00b140, no shadows, to key over footage) or your picture | one of dark, light, green, image | dark |
imagePicture behind the interaction when the backdrop is 'image' | a picture: asset:<id> or subject:<words> | a catalogue picture |
pointerWhat performs the tap: a finger, a mouse cursor or nothing | one of finger, cursor, none | finger |
titleHeadline | text, up to 32 characters | “Lesson complete” |
subtitleLine under the headline | text, up to 48 characters | “Spanish · Unit 3: At the café” |
xpXP earned | a whole number, 1 to 99999 | 60 |
xpStartXP already in the current level | a whole number, 0 to 99999 | 170 |
xpPerLevelXP needed for each level | a whole number, 10 to 99999 | 200 |
levelLevel before the XP is added | a whole number, 1 to 999 | 7 |
claimLabelButton label, the XP follows it | text, up to 18 characters | “Claim” |
claimedLabelButton label once tapped | text, up to 18 characters | “Claimed” |
levelUpLabelBurst label on level-up | text, up to 18 characters | “Level up!” |
barA straight XP bar beside the level badge, or a ring around it | one of linear, ring | linear |
aspectFrame shape | one of 16:9, 9:16, 1:1, 4:5 | 16:9 |
durationSecondsLength in seconds | seconds, 2 to 60 | 6 |
backgroundBackground colour | a colour, e.g. #f4b942 | #0b0d12 |
foregroundText colour | a colour, e.g. #f4b942 | #f5f5f2 |
accentColour of the XP bar and level badge | a colour, e.g. #f4b942 | #7c5cff |
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": "xp-gain"})
-> designs on this template, every parameter filled, free
make_motion({"template": "xp-gain", "props": {"image": "asset:a_c569bd3bdf5c", "title": "Lesson complete", "subtitle": "Spanish · Unit 3: At the café", "claimLabel": "Claim", "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": "xp-gain", "props": {"image": "asset:a_c569bd3bdf5c", "title": "Lesson complete", "subtitle": "Spanish · Unit 3: At the café", "claimLabel": "Claim", "aspect": "16:9"}, "max_credits": 20}'






