Thirteen pictures, thirteen voices
Wireface 2D animates the picture itself, so any art style can talk: a photo, an oil painting, anime, pixel art, claymation, a robot. Pick a character and talk to it, each in a voice of its own.
Loading...
Who to talk to
Talk
A 2D face moves the picture's own pixels on a fitted mesh: no 3D model needed. It speaks the same API as the 3D face, so the same voice code drives it.
import { createFace2d, StreamVoice } from '@wireface/sdk/2d';
const face = createFace2d(canvas, { assets });
await face.useCharacter('eleanor'); // or any picture of a face
face.set({ depth: 0.6, framing: 'cover', show_mesh: false });
const voice = new StreamVoice(face, audioContext);
ai.on('audio', pcm => voice.push(pcm));