Wellness · motion template
Sleep score
A crescent moon rides an arc as the night's sleep score counts up, beside a stage chart of awake, REM, light and deep sleep drawing across the night: sleep trackers, health apps and wellness reports.
1 credit to render. Nothing else to pay. Rendered to MP4 in about a minute, 9 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 |
|---|---|---|
titleHeading | text, up to 24 characters | “Sleep score” |
dateWhich night | text, up to 24 characters | “Last night” |
scoreThe score out of 100 | a number, 0 to 100 | 86 |
verdictOne word under the score | text, up to 18 characters | “Restful” |
durationTime asleep | text, up to 12 characters | “6h 58m” |
bedtimeWhen you fell asleep | text, up to 10 characters | “23:44” |
wakeWhen you woke | text, up to 10 characters | “06:42” |
stagesThe night in order, stage by stage | 3 to 30 items, each with stage, minutes | [{"stage": "light", "minutes": 18}, {"stage": "deep", "minutes": 42}, {"stage": "light",… |
chartThe night as a stage-by-stage chart, or total time per stage | one of hypnogram, totals | hypnogram |
skyTwinkling stars or a plain night gradient | one of stars, plain | stars |
secondaryNight colour used for deep sleep and the arc | a colour, e.g. #f4b942 | #6b5cff |
aspectFrame shape | one of 16:9, 9:16, 1:1, 4:5 | 16:9 |
durationSeconds | seconds, 4 to 30 | 9 |
background__remotion-color | a colour, e.g. #f4b942 | #0b1026 |
foreground__remotion-color | a colour, e.g. #f4b942 | #e8ebff |
accent__remotion-color | a colour, e.g. #f4b942 | #ffd37a |
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": "sleep-score"})
-> designs on this template, every parameter filled, free
make_motion({"template": "sleep-score", "props": {"title": "Sleep score", "date": "Last night", "verdict": "Restful", "duration": "6h 58m", "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": "sleep-score", "props": {"title": "Sleep score", "date": "Last night", "verdict": "Restful", "duration": "6h 58m", "aspect": "16:9"}, "max_credits": 20}'



