Agent receives 3 reference keyframes → generates Lottie JSON → reward based on MSE similarity.
POST /resetPOST /step with Lottie JSON
| Field | Type |
|---|---|
LottieAction.lottie_json | string (complete Lottie JSON) |
LottieObservation.{start,middle,end}_frame | PNG image (reference) |
LottieObservation.submitted_*_frame | PNG image (agent's) |
LottieObservation.reward | float in [0, 1] or -1.0 |
LottieObservation.done | bool (always false) |