character—
face —body —bounds —size —mesh —guard —
drop an image on the stage, pick one, or paste (Ctrl/⌘ V). anime, game art, renders or photos — any image is accepted. it only leaves this browser for the generative endpoint you set (mesh mode is fully local).
prepare an image for auto-setup
- front-facing, standing or ¾ — both eyes visible, face not tilted far
- full body head-to-feet (or a clear bust+), character centred, a little margin around
- arms hanging a bit away from the body; legs apart enough to see the gap
- transparent PNG is best — alpha becomes the character bounds. else a plain / flat background gets keyed out
- avoid crossed arms, props across the body, heavy motion blur, very tiny faces (< 40 px between the eyes on a 2k image)
action · chatidle
needs generative mode + an endpoint. Enter sends.
open-ended, sent as-is — body, clothing, props, POV / camera, environment. the action plays once, continuing from what's on screen right now, then a new idle is generated from where it ended (the stream bridges the pose meanwhile). no whitelist, no filter here.
generativegenerative
generative · set an endpoint
source —phase —idle —first frame —gen fps —frames 0drops 0
advanced
your endpoint invents every pixel (contract companion-v1, stream_kind idle-loop): on open it generates a long loopable idle from your image (first load ≈ 30–40 s — the warm-up frames play live meanwhile), then loops it. your image is only the starting identity; every new idle and action continues from the latest generated frames, so the character can change over time. the server adds anti-artifact phrasing (one body, two arms, two hands, stable face) and keeps the focus on the character — body, outfit, behaviour — before camera and background. the still, mood and prompts go only to the URL you set; it must allow CORS for this page's origin. if the stream stalls, the last generated frame holds — the mesh does not take over.
mesh rig · phase C (legacy)not used by generative
rigidle
image —eyes —shoulders —blinks 0mesh —tris —face pts —stretch —cpu —build —
stage 2 · generative — the character is a video model on your endpoint, not a puppet. on open it generates a long idle from your image (settling out of the uploaded pose into a natural stance, arms wherever fits the pose), crossfades it into a loop and streams it forever. type in action · chat and the endpoint generates that action continuing from the current frame, plays it once, then generates a new idle from where it ended — like a real person going back to standing around. prompts are open-ended (clothing, props, POV, environment are all fine). the upload is only where it starts: chained idles and actions continue from the latest frames, so looks and pose can drift naturally over time. with no endpoint (and mock if none) the page fakes frames in-browser so the flow can be reviewed — mock frames are labelled and are not generative. the endpoint must be https and send CORS for https://hxlios.dev.
hybrid keeps the mesh idle and asks for a short clip on every mood change (or pulse). mesh is phase C only. stable phase C lives at /lab/companion/.
phase C mesh notes (legacy)
phase c — a dense on-device mesh warp with a video-like idle. still not a Live2D / Spine model and not generative video: nothing is invented, every frame is your own pixels moved.
on load the character is cut from its background with the mask; the background becomes a still plate (the area under the character filled in) so it never bends. the character becomes a triangle mesh of up to ~46k points — finest around the face — skinned to 15 bones (pelvis, chest, neck, head, upper arm / forearm / hand, thigh / shin) with weights measured inside the silhouette, so an arm doesn't drag the torso next to it. the face gets its own rig: all 478 MediaPipe landmarks (or a template from your markers on art the detector can't read), triangulated, with lids that meet at a lid line, eyes that look around, brows, smile, jaw and an open-mouth interior.
every frame: idle noise + springs move the pivots (weight shift over planted feet, spine, breathing, arm / hand swing, head roll / nod / turn, hair lag), the face points get the expression, all mesh points are re-skinned and drawn in one WebGL2 pass. a stretch / fold check damps the motion if the mesh would distort (guard). edge lock keeps the outline rigid. MediaPipe (≈ 9 MB, CDN, cached) runs only on load / re-auto; the fit is remembered per image in this browser.
limits · nothing exists behind the image, so a limb can't reveal what it covered; crossed arms, props across the body, big hair over the arms and extreme poses still bend; head turns are a parallax slide, not a new view. press D for the phase B shader warp to compare.
in generative the mesh canvas is hidden (unless mesh fallback is on, or while you fit face / body markers). everything in the mesh is local — no upload, no cloud model.