Your photo, talking
Drop in a photo of a face. It's fitted and rigged right here in your browser, and never uploaded. Then name your new character, pick a voice, and talk to it.
Drop a photo of a face
Loading...
createCharacter() finds the face with MediaPipe on the device, fits the mesh and bakes a rig. exportCharacter() saves it as a small .wireface.json that plays anywhere, offline.
import { createCharacter } from '@wireface/sdk/create';
const character = await createCharacter(file); // on the device
await face.useCharacter(character, { transition: 0.8 });
const blob = await exportCharacter(character); // .wireface.json
// later, anywhere: face.useCharacter(await loadCharacter(url))