Failed to load versions. Head to the versions page to see all versions for this model.
You're looking at a specific version of this model. Jump to the model overview.
Input
Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import Replicate from "replicate";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run camenduru/champ using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"camenduru/champ:6100385d214e61f027f7567e4be8aa1fe35bbdb274e86ba58cbb8b924a7c804f",
{
input: {
guidance_data: "example_data/motions/motion-04",
ref_image_path: "https://replicate.delivery/pbxt/KdDosaV6wPvvPwGYx301nuypjR9U3R1FB0YhT7JMQLexhbS3/7563fb38-102b-4926-ae83-119468111c0c.png"
}
}
);
// To access the file URL:
console.log(output.url()); //=> "http://example.com"
// To write the file to disk:
fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import replicate
Run camenduru/champ using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"camenduru/champ:6100385d214e61f027f7567e4be8aa1fe35bbdb274e86ba58cbb8b924a7c804f",
input={
"guidance_data": "example_data/motions/motion-04",
"ref_image_path": "https://replicate.delivery/pbxt/KdDosaV6wPvvPwGYx301nuypjR9U3R1FB0YhT7JMQLexhbS3/7563fb38-102b-4926-ae83-119468111c0c.png"
}
)
print(output)
To learn more, take a look at the guide on getting started with Python.
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run camenduru/champ using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \
-H "Authorization: Bearer $REPLICATE_API_TOKEN" \
-H "Content-Type: application/json" \
-H "Prefer: wait" \
-d $'{
"version": "camenduru/champ:6100385d214e61f027f7567e4be8aa1fe35bbdb274e86ba58cbb8b924a7c804f",
"input": {
"guidance_data": "example_data/motions/motion-04",
"ref_image_path": "https://replicate.delivery/pbxt/KdDosaV6wPvvPwGYx301nuypjR9U3R1FB0YhT7JMQLexhbS3/7563fb38-102b-4926-ae83-119468111c0c.png"
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Add a payment method to run this model.
By signing in, you agree to our
terms of service and privacy policy
Output
{
"completed_at": "2024-03-25T14:22:07.327035Z",
"created_at": "2024-03-25T14:12:24.709959Z",
"data_removed": false,
"error": null,
"id": "ppby5drb3mq3j2mca5ds3q5c5q",
"input": {
"guidance_data": "example_data/motions/motion-04",
"ref_image_path": "https://replicate.delivery/pbxt/KdDosaV6wPvvPwGYx301nuypjR9U3R1FB0YhT7JMQLexhbS3/7563fb38-102b-4926-ae83-119468111c0c.png"
},
"logs": "0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:10<03:20, 10.53s/it]\n 10%|█ | 2/20 [00:20<03:06, 10.37s/it]\n 15%|█▌ | 3/20 [00:31<02:55, 10.33s/it]\n 20%|██ | 4/20 [00:41<02:44, 10.30s/it]\n 25%|██▌ | 5/20 [00:51<02:34, 10.28s/it]\n 30%|███ | 6/20 [01:01<02:23, 10.28s/it]\n 35%|███▌ | 7/20 [01:12<02:13, 10.27s/it]\n 40%|████ | 8/20 [01:22<02:03, 10.27s/it]\n 45%|████▌ | 9/20 [01:32<01:52, 10.27s/it]\n 50%|█████ | 10/20 [01:42<01:42, 10.27s/it]\n 55%|█████▌ | 11/20 [01:53<01:32, 10.27s/it]\n 60%|██████ | 12/20 [02:03<01:22, 10.27s/it]\n 65%|██████▌ | 13/20 [02:13<01:11, 10.28s/it]\n 70%|███████ | 14/20 [02:24<01:01, 10.28s/it]\n 75%|███████▌ | 15/20 [02:34<00:51, 10.26s/it]\n 80%|████████ | 16/20 [02:44<00:41, 10.25s/it]\n 85%|████████▌ | 17/20 [02:54<00:30, 10.24s/it]\n 90%|█████████ | 18/20 [03:04<00:20, 10.23s/it]\n 95%|█████████▌| 19/20 [03:15<00:10, 10.23s/it]\n100%|██████████| 20/20 [03:25<00:00, 10.23s/it]\n100%|██████████| 20/20 [03:25<00:00, 10.27s/it]\n 0%| | 0/300 [00:00<?, ?it/s]\n 2%|▏ | 6/300 [00:00<00:05, 51.49it/s]\n 4%|▍ | 12/300 [00:00<00:08, 32.98it/s]\n 5%|▌ | 16/300 [00:00<00:09, 30.24it/s]\n 7%|▋ | 20/300 [00:00<00:09, 28.79it/s]\n 8%|▊ | 23/300 [00:00<00:09, 28.09it/s]\n 9%|▊ | 26/300 [00:00<00:09, 27.59it/s]\n 10%|▉ | 29/300 [00:00<00:09, 27.22it/s]\n 11%|█ | 32/300 [00:01<00:09, 26.96it/s]\n 12%|█▏ | 35/300 [00:01<00:09, 26.78it/s]\n 13%|█▎ | 38/300 [00:01<00:09, 26.65it/s]\n 14%|█▎ | 41/300 [00:01<00:09, 26.56it/s]\n 15%|█▍ | 44/300 [00:01<00:09, 26.49it/s]\n 16%|█▌ | 47/300 [00:01<00:09, 26.45it/s]\n 17%|█▋ | 50/300 [00:01<00:09, 26.41it/s]\n 18%|█▊ | 53/300 [00:01<00:09, 26.39it/s]\n 19%|█▊ | 56/300 [00:02<00:09, 26.37it/s]\n 20%|█▉ | 59/300 [00:02<00:09, 26.36it/s]\n 21%|██ | 62/300 [00:02<00:09, 26.35it/s]\n 22%|██▏ | 65/300 [00:02<00:08, 26.35it/s]\n 23%|██▎ | 68/300 [00:02<00:08, 26.35it/s]\n 24%|██▎ | 71/300 [00:02<00:08, 26.34it/s]\n 25%|██▍ | 74/300 [00:02<00:08, 26.34it/s]\n 26%|██▌ | 77/300 [00:02<00:08, 26.34it/s]\n 27%|██▋ | 80/300 [00:02<00:08, 26.34it/s]\n 28%|██▊ | 83/300 [00:03<00:08, 26.35it/s]\n 29%|██▊ | 86/300 [00:03<00:08, 26.35it/s]\n 30%|██▉ | 89/300 [00:03<00:08, 26.35it/s]\n 31%|███ | 92/300 [00:03<00:07, 26.34it/s]\n 32%|███▏ | 95/300 [00:03<00:07, 26.34it/s]\n 33%|███▎ | 98/300 [00:03<00:07, 26.35it/s]\n 34%|███▎ | 101/300 [00:03<00:07, 26.35it/s]\n 35%|███▍ | 104/300 [00:03<00:07, 26.34it/s]\n 36%|███▌ | 107/300 [00:03<00:07, 26.32it/s]\n 37%|███▋ | 110/300 [00:04<00:07, 26.33it/s]\n 38%|███▊ | 113/300 [00:04<00:07, 26.34it/s]\n 39%|███▊ | 116/300 [00:04<00:06, 26.34it/s]\n 40%|███▉ | 119/300 [00:04<00:06, 26.34it/s]\n 41%|████ | 122/300 [00:04<00:06, 26.34it/s]\n 42%|████▏ | 125/300 [00:04<00:06, 26.33it/s]\n 43%|████▎ | 128/300 [00:04<00:06, 26.33it/s]\n 44%|████▎ | 131/300 [00:04<00:06, 26.34it/s]\n 45%|████▍ | 134/300 [00:04<00:06, 26.34it/s]\n 46%|████▌ | 137/300 [00:05<00:06, 26.34it/s]\n 47%|████▋ | 140/300 [00:05<00:06, 26.34it/s]\n 48%|████▊ | 143/300 [00:05<00:05, 26.34it/s]\n 49%|████▊ | 146/300 [00:05<00:05, 26.34it/s]\n 50%|████▉ | 149/300 [00:05<00:05, 26.34it/s]\n 51%|█████ | 152/300 [00:05<00:05, 26.34it/s]\n 52%|█████▏ | 155/300 [00:05<00:05, 26.33it/s]\n 53%|█████▎ | 158/300 [00:05<00:05, 26.34it/s]\n 54%|█████▎ | 161/300 [00:06<00:05, 26.14it/s]\n 55%|█████▍ | 164/300 [00:06<00:05, 26.40it/s]\n 56%|█████▌ | 167/300 [00:06<00:05, 26.38it/s]\n 57%|█████▋ | 170/300 [00:06<00:04, 26.37it/s]\n 58%|█████▊ | 173/300 [00:06<00:04, 26.36it/s]\n 59%|█████▊ | 176/300 [00:06<00:04, 26.35it/s]\n 60%|█████▉ | 179/300 [00:06<00:04, 26.35it/s]\n 61%|██████ | 182/300 [00:06<00:04, 26.34it/s]\n 62%|██████▏ | 185/300 [00:06<00:04, 26.34it/s]\n 63%|██████▎ | 188/300 [00:07<00:04, 26.34it/s]\n 64%|██████▎ | 191/300 [00:07<00:04, 26.34it/s]\n 65%|██████▍ | 194/300 [00:07<00:04, 26.34it/s]\n 66%|██████▌ | 197/300 [00:07<00:03, 26.34it/s]\n 67%|██████▋ | 200/300 [00:07<00:03, 26.34it/s]\n 68%|██████▊ | 203/300 [00:07<00:03, 26.34it/s]\n 69%|██████▊ | 206/300 [00:07<00:03, 26.33it/s]\n 70%|██████▉ | 209/300 [00:07<00:03, 26.33it/s]\n 71%|███████ | 212/300 [00:07<00:03, 26.33it/s]\n 72%|███████▏ | 215/300 [00:08<00:03, 26.33it/s]\n 73%|███████▎ | 218/300 [00:08<00:03, 26.33it/s]\n 74%|███████▎ | 221/300 [00:08<00:03, 26.33it/s]\n 75%|███████▍ | 224/300 [00:08<00:02, 26.33it/s]\n 76%|███████▌ | 227/300 [00:08<00:02, 26.32it/s]\n 77%|███████▋ | 230/300 [00:08<00:02, 26.32it/s]\n 78%|███████▊ | 233/300 [00:08<00:02, 26.32it/s]\n 79%|███████▊ | 236/300 [00:08<00:02, 26.32it/s]\n 80%|███████▉ | 239/300 [00:08<00:02, 26.32it/s]\n 81%|████████ | 242/300 [00:09<00:02, 26.32it/s]\n 82%|████████▏ | 245/300 [00:09<00:02, 26.32it/s]\n 83%|████████▎ | 248/300 [00:09<00:01, 26.31it/s]\n 84%|████████▎ | 251/300 [00:09<00:01, 26.32it/s]\n 85%|████████▍ | 254/300 [00:09<00:01, 26.31it/s]\n 86%|████████▌ | 257/300 [00:09<00:01, 26.31it/s]\n 87%|████████▋ | 260/300 [00:09<00:01, 26.31it/s]\n 88%|████████▊ | 263/300 [00:09<00:01, 26.31it/s]\n 89%|████████▊ | 266/300 [00:09<00:01, 26.31it/s]\n 90%|████████▉ | 269/300 [00:10<00:01, 26.32it/s]\n 91%|█████████ | 272/300 [00:10<00:01, 26.32it/s]\n 92%|█████████▏| 275/300 [00:10<00:00, 26.32it/s]\n 93%|█████████▎| 278/300 [00:10<00:00, 26.32it/s]\n 94%|█████████▎| 281/300 [00:10<00:00, 26.32it/s]\n 95%|█████████▍| 284/300 [00:10<00:00, 26.31it/s]\n 96%|█████████▌| 287/300 [00:10<00:00, 26.33it/s]\n 97%|█████████▋| 290/300 [00:10<00:00, 26.32it/s]\n 98%|█████████▊| 293/300 [00:11<00:00, 26.32it/s]\n 99%|█████████▊| 296/300 [00:11<00:00, 26.31it/s]\n100%|█████████▉| 299/300 [00:11<00:00, 26.31it/s]\n100%|██████████| 300/300 [00:11<00:00, 26.59it/s]\nIMAGEIO FFMPEG_WRITER WARNING: input image is not divisible by macro_block_size=16, resizing from (236, 319) to (240, 320) to ensure video compatibility with most codecs and players. To prevent resizing, make your input image divisible by the macro_block_size or set the macro_block_size to 1 (risking incompatibility).\n[swscaler @ 0x73faac0] Warning: data is not aligned! This can lead to a speed loss",
"metrics": {
"predict_time": 240.458648,
"total_time": 582.617076
},
"output": "https://replicate.delivery/pbxt/OE2r6JWv6bbxHZe1x705KG47fo5qeEsbBjHdcMRX9gUfoOPKB/animation.mp4",
"started_at": "2024-03-25T14:18:06.868387Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/ppby5drb3mq3j2mca5ds3q5c5q",
"cancel": "https://api.replicate.com/v1/predictions/ppby5drb3mq3j2mca5ds3q5c5q/cancel"
},
"version": "6100385d214e61f027f7567e4be8aa1fe35bbdb274e86ba58cbb8b924a7c804f"
}
0%| | 0/20 [00:00<?, ?it/s]
5%|▌ | 1/20 [00:10<03:20, 10.53s/it]
10%|█ | 2/20 [00:20<03:06, 10.37s/it]
15%|█▌ | 3/20 [00:31<02:55, 10.33s/it]
20%|██ | 4/20 [00:41<02:44, 10.30s/it]
25%|██▌ | 5/20 [00:51<02:34, 10.28s/it]
30%|███ | 6/20 [01:01<02:23, 10.28s/it]
35%|███▌ | 7/20 [01:12<02:13, 10.27s/it]
40%|████ | 8/20 [01:22<02:03, 10.27s/it]
45%|████▌ | 9/20 [01:32<01:52, 10.27s/it]
50%|█████ | 10/20 [01:42<01:42, 10.27s/it]
55%|█████▌ | 11/20 [01:53<01:32, 10.27s/it]
60%|██████ | 12/20 [02:03<01:22, 10.27s/it]
65%|██████▌ | 13/20 [02:13<01:11, 10.28s/it]
70%|███████ | 14/20 [02:24<01:01, 10.28s/it]
75%|███████▌ | 15/20 [02:34<00:51, 10.26s/it]
80%|████████ | 16/20 [02:44<00:41, 10.25s/it]
85%|████████▌ | 17/20 [02:54<00:30, 10.24s/it]
90%|█████████ | 18/20 [03:04<00:20, 10.23s/it]
95%|█████████▌| 19/20 [03:15<00:10, 10.23s/it]
100%|██████████| 20/20 [03:25<00:00, 10.23s/it]
100%|██████████| 20/20 [03:25<00:00, 10.27s/it]
0%| | 0/300 [00:00<?, ?it/s]
2%|▏ | 6/300 [00:00<00:05, 51.49it/s]
4%|▍ | 12/300 [00:00<00:08, 32.98it/s]
5%|▌ | 16/300 [00:00<00:09, 30.24it/s]
7%|▋ | 20/300 [00:00<00:09, 28.79it/s]
8%|▊ | 23/300 [00:00<00:09, 28.09it/s]
9%|▊ | 26/300 [00:00<00:09, 27.59it/s]
10%|▉ | 29/300 [00:00<00:09, 27.22it/s]
11%|█ | 32/300 [00:01<00:09, 26.96it/s]
12%|█▏ | 35/300 [00:01<00:09, 26.78it/s]
13%|█▎ | 38/300 [00:01<00:09, 26.65it/s]
14%|█▎ | 41/300 [00:01<00:09, 26.56it/s]
15%|█▍ | 44/300 [00:01<00:09, 26.49it/s]
16%|█▌ | 47/300 [00:01<00:09, 26.45it/s]
17%|█▋ | 50/300 [00:01<00:09, 26.41it/s]
18%|█▊ | 53/300 [00:01<00:09, 26.39it/s]
19%|█▊ | 56/300 [00:02<00:09, 26.37it/s]
20%|█▉ | 59/300 [00:02<00:09, 26.36it/s]
21%|██ | 62/300 [00:02<00:09, 26.35it/s]
22%|██▏ | 65/300 [00:02<00:08, 26.35it/s]
23%|██▎ | 68/300 [00:02<00:08, 26.35it/s]
24%|██▎ | 71/300 [00:02<00:08, 26.34it/s]
25%|██▍ | 74/300 [00:02<00:08, 26.34it/s]
26%|██▌ | 77/300 [00:02<00:08, 26.34it/s]
27%|██▋ | 80/300 [00:02<00:08, 26.34it/s]
28%|██▊ | 83/300 [00:03<00:08, 26.35it/s]
29%|██▊ | 86/300 [00:03<00:08, 26.35it/s]
30%|██▉ | 89/300 [00:03<00:08, 26.35it/s]
31%|███ | 92/300 [00:03<00:07, 26.34it/s]
32%|███▏ | 95/300 [00:03<00:07, 26.34it/s]
33%|███▎ | 98/300 [00:03<00:07, 26.35it/s]
34%|███▎ | 101/300 [00:03<00:07, 26.35it/s]
35%|███▍ | 104/300 [00:03<00:07, 26.34it/s]
36%|███▌ | 107/300 [00:03<00:07, 26.32it/s]
37%|███▋ | 110/300 [00:04<00:07, 26.33it/s]
38%|███▊ | 113/300 [00:04<00:07, 26.34it/s]
39%|███▊ | 116/300 [00:04<00:06, 26.34it/s]
40%|███▉ | 119/300 [00:04<00:06, 26.34it/s]
41%|████ | 122/300 [00:04<00:06, 26.34it/s]
42%|████▏ | 125/300 [00:04<00:06, 26.33it/s]
43%|████▎ | 128/300 [00:04<00:06, 26.33it/s]
44%|████▎ | 131/300 [00:04<00:06, 26.34it/s]
45%|████▍ | 134/300 [00:04<00:06, 26.34it/s]
46%|████▌ | 137/300 [00:05<00:06, 26.34it/s]
47%|████▋ | 140/300 [00:05<00:06, 26.34it/s]
48%|████▊ | 143/300 [00:05<00:05, 26.34it/s]
49%|████▊ | 146/300 [00:05<00:05, 26.34it/s]
50%|████▉ | 149/300 [00:05<00:05, 26.34it/s]
51%|█████ | 152/300 [00:05<00:05, 26.34it/s]
52%|█████▏ | 155/300 [00:05<00:05, 26.33it/s]
53%|█████▎ | 158/300 [00:05<00:05, 26.34it/s]
54%|█████▎ | 161/300 [00:06<00:05, 26.14it/s]
55%|█████▍ | 164/300 [00:06<00:05, 26.40it/s]
56%|█████▌ | 167/300 [00:06<00:05, 26.38it/s]
57%|█████▋ | 170/300 [00:06<00:04, 26.37it/s]
58%|█████▊ | 173/300 [00:06<00:04, 26.36it/s]
59%|█████▊ | 176/300 [00:06<00:04, 26.35it/s]
60%|█████▉ | 179/300 [00:06<00:04, 26.35it/s]
61%|██████ | 182/300 [00:06<00:04, 26.34it/s]
62%|██████▏ | 185/300 [00:06<00:04, 26.34it/s]
63%|██████▎ | 188/300 [00:07<00:04, 26.34it/s]
64%|██████▎ | 191/300 [00:07<00:04, 26.34it/s]
65%|██████▍ | 194/300 [00:07<00:04, 26.34it/s]
66%|██████▌ | 197/300 [00:07<00:03, 26.34it/s]
67%|██████▋ | 200/300 [00:07<00:03, 26.34it/s]
68%|██████▊ | 203/300 [00:07<00:03, 26.34it/s]
69%|██████▊ | 206/300 [00:07<00:03, 26.33it/s]
70%|██████▉ | 209/300 [00:07<00:03, 26.33it/s]
71%|███████ | 212/300 [00:07<00:03, 26.33it/s]
72%|███████▏ | 215/300 [00:08<00:03, 26.33it/s]
73%|███████▎ | 218/300 [00:08<00:03, 26.33it/s]
74%|███████▎ | 221/300 [00:08<00:03, 26.33it/s]
75%|███████▍ | 224/300 [00:08<00:02, 26.33it/s]
76%|███████▌ | 227/300 [00:08<00:02, 26.32it/s]
77%|███████▋ | 230/300 [00:08<00:02, 26.32it/s]
78%|███████▊ | 233/300 [00:08<00:02, 26.32it/s]
79%|███████▊ | 236/300 [00:08<00:02, 26.32it/s]
80%|███████▉ | 239/300 [00:08<00:02, 26.32it/s]
81%|████████ | 242/300 [00:09<00:02, 26.32it/s]
82%|████████▏ | 245/300 [00:09<00:02, 26.32it/s]
83%|████████▎ | 248/300 [00:09<00:01, 26.31it/s]
84%|████████▎ | 251/300 [00:09<00:01, 26.32it/s]
85%|████████▍ | 254/300 [00:09<00:01, 26.31it/s]
86%|████████▌ | 257/300 [00:09<00:01, 26.31it/s]
87%|████████▋ | 260/300 [00:09<00:01, 26.31it/s]
88%|████████▊ | 263/300 [00:09<00:01, 26.31it/s]
89%|████████▊ | 266/300 [00:09<00:01, 26.31it/s]
90%|████████▉ | 269/300 [00:10<00:01, 26.32it/s]
91%|█████████ | 272/300 [00:10<00:01, 26.32it/s]
92%|█████████▏| 275/300 [00:10<00:00, 26.32it/s]
93%|█████████▎| 278/300 [00:10<00:00, 26.32it/s]
94%|█████████▎| 281/300 [00:10<00:00, 26.32it/s]
95%|█████████▍| 284/300 [00:10<00:00, 26.31it/s]
96%|█████████▌| 287/300 [00:10<00:00, 26.33it/s]
97%|█████████▋| 290/300 [00:10<00:00, 26.32it/s]
98%|█████████▊| 293/300 [00:11<00:00, 26.32it/s]
99%|█████████▊| 296/300 [00:11<00:00, 26.31it/s]
100%|█████████▉| 299/300 [00:11<00:00, 26.31it/s]
100%|██████████| 300/300 [00:11<00:00, 26.59it/s]
IMAGEIO FFMPEG_WRITER WARNING: input image is not divisible by macro_block_size=16, resizing from (236, 319) to (240, 320) to ensure video compatibility with most codecs and players. To prevent resizing, make your input image divisible by the macro_block_size or set the macro_block_size to 1 (risking incompatibility).
[swscaler @ 0x73faac0] Warning: data is not aligned! This can lead to a speed loss