Rushie

Interactions · motion template

Error to retry

An error card shakes with a red warning, a cursor clicks Retry, the icon spins while a loading line runs, then the icon flips to a green tick and the message turns to success: error states, reliability messages and app recovery 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, 6 seconds by default. The clip is yours alone: never listed, delivered as a private download link, and refunded if it cannot be made.

errorsomething went wrongretrytry againerror staterecoverysuccessofflineback onlineloadingtoastgreen 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, nonecursor
errorColorColour of the error statea colour, e.g. #f4b942#ef4444
titleError headlinetext, up to 36 characters“Something went wrong”
textError explanationtext, up to 90 characters“We couldn't load your orders. Check your connection and try again.”
retryLabelRetry button labeltext, up to 16 characters“Retry”
retryingLabelButton label while it retriestext, up to 18 characters“Retrying…”
successTitleHeadline once it workstext, up to 36 characters“You're back online”
successTextLine once it workstext, up to 90 characters“Your orders are up to date.”
continueLabelButton label once it workstext, up to 16 characters“Continue”
lookA centred dialog card, or a wide notification toastone of card, toastcard
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 recovered statea colour, e.g. #f4b942#22c55e
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": "error-retry"})
    -> designs on this template, every parameter filled, free
make_motion({"template": "error-retry", "props": {"image": "asset:a_d334f4175899", "title": "Something went wrong", "text": "We couldn't load your orders. Check your connection and try again.", "retryLabel": "Retry", "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": "error-retry", "props": {"image": "asset:a_d334f4175899", "title": "Something went wrong", "text": "We couldn't load your orders. Check your connection and try again.", "retryLabel": "Retry", "aspect": "16:9"}, "max_credits": 20}'