Two new models from Easel AI are now available on Replicate: advanced face swap and AI avatars. Both models are fast, flexible, and designed for production use across messaging, social, and creative apps.
Easel AI’s advanced face swap replaces not just the face, but the full body, preserving the user’s likeness — including skin tone, racial features, and gender. It maintains the original image’s outfits, lighting, and style for natural-looking results. Here are some highlights.
This unlocks use cases across:
Run the model here or with an API using the Replicate JavaScript client.
import Replicate from "replicate";
const replicate = new Replicate();
const input = {
swap_image: "https://replicate.delivery/pbxt/Mb44Wp0W7Xfa1Pp91zcxDzSSQQz8GusUmXQXi3GGzRxDvoCI/0_1.webp",
hair_source: "target",
target_image: "https://replicate.delivery/pbxt/Mb44XIUHkUrmyyH1OP5K1WmFN7SNN0eUSU16A8rBtuXe7eYV/cyberpunk_80s_example.png"
};
const output = await replicate.run("easel/advanced-face-swap", { input });
import { writeFile } from "node:fs/promises";
await writeFile("output.jpg", output);
//=> output.jpg written to disk
Creating AI avatars typically requires uploading multiple images and managing LoRAs. Easel AI’s model eliminates this step. Their new model generates avatars using a single prompt — no training or templates. Easel’s AI Avatar model supports both single and multiplayer modes, allowing you to generate one or two people in the same scene.
Fast avatar generation unlocks new applications:
Run the model here or with an API.
import Replicate from "replicate";
const replicate = new Replicate();
const input = {
prompt: "a guy riding a motorbike",
face_image: "https://replicate.delivery/pbxt/MlYeEa5wsgHEWcw9jVYmFXGJQAsZia8polOhuLvjUtKlnSrt/guy.webp",
user_gender: "male"
};
const output = await replicate.run("easel/ai-avatars", { input });
import { writeFile } from "node:fs/promises";
await writeFile("output.jpg", output);
//=> output.jpg written to disk
Learn more at easelai.com.