Rushie

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.

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, 6 seconds by default. The clip is yours alone: never listed, delivered as a private download link, and refunded if it cannot be made.

xpexperience pointslevel upprogress bargamificationlesson completerewardclaimlearning appachievementstreakgreen screen

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
backdropBehind the interaction: dark, light, chroma-key green (#00b140, no shadows, to key over footage) or your pictureone of dark, light, green, imagedark
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 nothingone of finger, cursor, nonefinger
titleHeadlinetext, up to 32 characters“Lesson complete”
subtitleLine under the headlinetext, up to 48 characters“Spanish · Unit 3: At the café”
xpXP earneda whole number, 1 to 9999960
xpStartXP already in the current levela whole number, 0 to 99999170
xpPerLevelXP needed for each levela whole number, 10 to 99999200
levelLevel before the XP is addeda whole number, 1 to 9997
claimLabelButton label, the XP follows ittext, up to 18 characters“Claim”
claimedLabelButton label once tappedtext, up to 18 characters“Claimed”
levelUpLabelBurst label on level-uptext, up to 18 characters“Level up!”
barA straight XP bar beside the level badge, or a ring around itone of linear, ringlinear
aspectFrame shapeone of 16:9, 9:16, 1:1, 4:516:9
durationSecondsLength in secondsseconds, 2 to 606
backgroundBackground coloura colour, e.g. #f4b942#0b0d12
foregroundText coloura colour, e.g. #f4b942#f5f5f2
accentColour of the XP bar and level badgea 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, 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": "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}'