lucataco
/
hunyuan-heygen-joshua
HunyuanVideo finetune of an AI Avatar from Heygen
- Public
- 80 runs
-
H100
- Fine-tune
Run lucataco/hunyuan-heygen-joshua with an API
Use one of our client libraries to get started quickly.
Set the REPLICATE_API_TOKEN
environment variable
export REPLICATE_API_TOKEN=<paste-your-token-here>
Learn more about authentication
Install Replicate’s Node.js client library
npm install replicate
Run lucataco/hunyuan-heygen-joshua using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
import Replicate from "replicate";
const replicate = new Replicate();
const input = {
steps: 30,
width: 960,
height: 544,
prompt: "HGM1 man standing indoors, likely in a modern, well-lit space. He is wearing a white, long-sleeved shirt. The background includes large windows or glass doors, through which greenery and possibly other buildings can be seen, suggesting an urban or semi-urban setting. The lighting is natural, with sunlight streaming in, creating a bright and airy atmosphere. The man appears to be walking while speaking, as he is looking directly at the camera.",
frame_rate: 15,
lora_strength: 0.9
};
const output = await replicate.run("lucataco/hunyuan-heygen-joshua:e82a415498ba81104f2c1f41833609e546cd53d2734b37740d685b122c93053f", { input });
import { writeFile } from "node:fs/promises";
await writeFile("output.mp4", output);
//=> output.mp4 written to disk