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 cjwbw/tokenflow using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"cjwbw/tokenflow:d456a26c0c1764ac4d9b933a564fe70e660c46423ba0afb5d3200f1a46060728",
{
input: {
fps: 20,
video: "https://replicate.delivery/pbxt/KGcnUKDlfys2uAo8eHbWSE8Pzc17hI5IOGdstViaBvfPJWHY/wolf.mp4",
width: 512,
height: 512,
n_frames: 40,
guidance_scale: 7.5,
diffusion_prompt: "a shiny silver robotic wolf",
inversion_prompt: "",
num_diffusion_steps: 50,
num_inversion_steps: 50,
negative_diffusion_prompt: "ugly, blurry, low res, unrealistic, unaesthetic"
}
}
);
console.log(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 cjwbw/tokenflow using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"cjwbw/tokenflow:d456a26c0c1764ac4d9b933a564fe70e660c46423ba0afb5d3200f1a46060728",
input={
"fps": 20,
"video": "https://replicate.delivery/pbxt/KGcnUKDlfys2uAo8eHbWSE8Pzc17hI5IOGdstViaBvfPJWHY/wolf.mp4",
"width": 512,
"height": 512,
"n_frames": 40,
"guidance_scale": 7.5,
"diffusion_prompt": "a shiny silver robotic wolf",
"inversion_prompt": "",
"num_diffusion_steps": 50,
"num_inversion_steps": 50,
"negative_diffusion_prompt": "ugly, blurry, low res, unrealistic, unaesthetic"
}
)
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 cjwbw/tokenflow 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": "d456a26c0c1764ac4d9b933a564fe70e660c46423ba0afb5d3200f1a46060728",
"input": {
"fps": 20,
"video": "https://replicate.delivery/pbxt/KGcnUKDlfys2uAo8eHbWSE8Pzc17hI5IOGdstViaBvfPJWHY/wolf.mp4",
"width": 512,
"height": 512,
"n_frames": 40,
"guidance_scale": 7.5,
"diffusion_prompt": "a shiny silver robotic wolf",
"inversion_prompt": "",
"num_diffusion_steps": 50,
"num_inversion_steps": 50,
"negative_diffusion_prompt": "ugly, blurry, low res, unrealistic, unaesthetic"
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/chenxwh/tokenflow@sha256:d456a26c0c1764ac4d9b933a564fe70e660c46423ba0afb5d3200f1a46060728 \
-i 'fps=20' \
-i 'video="https://replicate.delivery/pbxt/KGcnUKDlfys2uAo8eHbWSE8Pzc17hI5IOGdstViaBvfPJWHY/wolf.mp4"' \
-i 'width=512' \
-i 'height=512' \
-i 'n_frames=40' \
-i 'guidance_scale=7.5' \
-i 'diffusion_prompt="a shiny silver robotic wolf"' \
-i 'inversion_prompt=""' \
-i 'num_diffusion_steps=50' \
-i 'num_inversion_steps=50' \
-i 'negative_diffusion_prompt="ugly, blurry, low res, unrealistic, unaesthetic"'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/chenxwh/tokenflow@sha256:d456a26c0c1764ac4d9b933a564fe70e660c46423ba0afb5d3200f1a46060728
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "fps": 20, "video": "https://replicate.delivery/pbxt/KGcnUKDlfys2uAo8eHbWSE8Pzc17hI5IOGdstViaBvfPJWHY/wolf.mp4", "width": 512, "height": 512, "n_frames": 40, "guidance_scale": 7.5, "diffusion_prompt": "a shiny silver robotic wolf", "inversion_prompt": "", "num_diffusion_steps": 50, "num_inversion_steps": 50, "negative_diffusion_prompt": "ugly, blurry, low res, unrealistic, unaesthetic" } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Add a payment method to run this model.
Each run costs approximately $0.27. Alternatively, try out our featured models for free.
By signing in, you agree to our
terms of service and privacy policy
Output
{
"completed_at": "2024-01-23T12:51:34.630385Z",
"created_at": "2024-01-23T12:47:57.591143Z",
"data_removed": false,
"error": null,
"id": "xm4fohlb3gv6e36moshp34ogha",
"input": {
"fps": 20,
"video": "https://replicate.delivery/pbxt/KGcnUKDlfys2uAo8eHbWSE8Pzc17hI5IOGdstViaBvfPJWHY/wolf.mp4",
"width": 512,
"height": 512,
"n_frames": 40,
"guidance_scale": 7.5,
"diffusion_prompt": "a shiny silver robotic wolf",
"inversion_prompt": "",
"num_diffusion_steps": 50,
"num_inversion_steps": 50,
"negative_diffusion_prompt": "ugly, blurry, low res, unrealistic, unaesthetic"
},
"logs": "Using seed: 60822\n/root/.pyenv/versions/3.11.7/lib/python3.11/site-packages/torchvision/io/video.py:161: UserWarning: The pts_unit 'pts' gives wrong results. Please use pts_unit 'sec'.\nwarnings.warn(\"The pts_unit 'pts' gives wrong results. Please use pts_unit 'sec'.\")\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:00<00:24, 1.99it/s]\n 4%|▍ | 2/50 [00:01<00:24, 1.98it/s]\n 6%|▌ | 3/50 [00:01<00:23, 1.99it/s]\n 8%|▊ | 4/50 [00:02<00:23, 1.99it/s]\n 10%|█ | 5/50 [00:02<00:22, 1.99it/s]\n 12%|█▏ | 6/50 [00:03<00:22, 1.99it/s]\n 14%|█▍ | 7/50 [00:03<00:21, 1.99it/s]\n 16%|█▌ | 8/50 [00:04<00:21, 1.99it/s]\n 18%|█▊ | 9/50 [00:04<00:20, 1.99it/s]\n 20%|██ | 10/50 [00:05<00:20, 1.99it/s]\n 22%|██▏ | 11/50 [00:05<00:19, 1.98it/s]\n 24%|██▍ | 12/50 [00:06<00:19, 1.98it/s]\n 26%|██▌ | 13/50 [00:06<00:18, 1.98it/s]\n 28%|██▊ | 14/50 [00:07<00:18, 1.98it/s]\n 30%|███ | 15/50 [00:07<00:17, 1.98it/s]\n 32%|███▏ | 16/50 [00:08<00:17, 1.99it/s]\n 34%|███▍ | 17/50 [00:08<00:16, 1.99it/s]\n 36%|███▌ | 18/50 [00:09<00:16, 2.00it/s]\n 38%|███▊ | 19/50 [00:09<00:15, 2.00it/s]\n 40%|████ | 20/50 [00:10<00:15, 2.00it/s]\n 42%|████▏ | 21/50 [00:10<00:14, 1.99it/s]\n 44%|████▍ | 22/50 [00:11<00:14, 2.00it/s]\n 46%|████▌ | 23/50 [00:11<00:13, 2.00it/s]\n 48%|████▊ | 24/50 [00:12<00:13, 2.00it/s]\n 50%|█████ | 25/50 [00:12<00:12, 1.99it/s]\n 52%|█████▏ | 26/50 [00:13<00:12, 2.00it/s]\n 54%|█████▍ | 27/50 [00:13<00:11, 1.99it/s]\n 56%|█████▌ | 28/50 [00:14<00:11, 1.99it/s]\n 58%|█████▊ | 29/50 [00:14<00:10, 1.99it/s]\n 60%|██████ | 30/50 [00:15<00:10, 1.99it/s]\n 62%|██████▏ | 31/50 [00:15<00:09, 1.99it/s]\n 64%|██████▍ | 32/50 [00:16<00:09, 1.99it/s]\n 66%|██████▌ | 33/50 [00:16<00:08, 1.99it/s]\n 68%|██████▊ | 34/50 [00:17<00:08, 1.99it/s]\n 70%|███████ | 35/50 [00:17<00:07, 1.99it/s]\n 72%|███████▏ | 36/50 [00:18<00:07, 1.99it/s]\n 74%|███████▍ | 37/50 [00:18<00:06, 1.99it/s]\n 76%|███████▌ | 38/50 [00:19<00:06, 1.99it/s]\n 78%|███████▊ | 39/50 [00:19<00:05, 1.99it/s]\n 80%|████████ | 40/50 [00:20<00:05, 1.99it/s]\n 82%|████████▏ | 41/50 [00:20<00:04, 1.99it/s]\n 84%|████████▍ | 42/50 [00:21<00:04, 1.99it/s]\n 86%|████████▌ | 43/50 [00:21<00:03, 1.99it/s]\n 88%|████████▊ | 44/50 [00:22<00:03, 1.99it/s]\n 90%|█████████ | 45/50 [00:22<00:02, 1.99it/s]\n 92%|█████████▏| 46/50 [00:23<00:02, 1.99it/s]\n 94%|█████████▍| 47/50 [00:23<00:01, 1.99it/s]\n 96%|█████████▌| 48/50 [00:24<00:01, 1.99it/s]\n 98%|█████████▊| 49/50 [00:24<00:00, 1.99it/s]\n100%|██████████| 50/50 [00:25<00:00, 1.98it/s]\n100%|██████████| 50/50 [00:25<00:00, 1.99it/s]\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:00<00:05, 9.28it/s]\n 4%|▍ | 2/50 [00:00<00:16, 2.95it/s]\n 6%|▌ | 3/50 [00:01<00:19, 2.41it/s]\n 8%|▊ | 4/50 [00:01<00:20, 2.23it/s]\n 10%|█ | 5/50 [00:02<00:21, 2.14it/s]\n 12%|█▏ | 6/50 [00:02<00:21, 2.08it/s]\n 14%|█▍ | 7/50 [00:03<00:20, 2.05it/s]\n 16%|█▌ | 8/50 [00:03<00:20, 2.03it/s]\n 18%|█▊ | 9/50 [00:04<00:20, 2.02it/s]\n 20%|██ | 10/50 [00:04<00:19, 2.01it/s]\n 22%|██▏ | 11/50 [00:05<00:19, 2.00it/s]\n 24%|██▍ | 12/50 [00:05<00:19, 2.00it/s]\n 26%|██▌ | 13/50 [00:06<00:18, 1.99it/s]\n 28%|██▊ | 14/50 [00:06<00:18, 1.99it/s]\n 30%|███ | 15/50 [00:07<00:17, 1.99it/s]\n 32%|███▏ | 16/50 [00:07<00:17, 1.99it/s]\n 34%|███▍ | 17/50 [00:08<00:16, 1.99it/s]\n 36%|███▌ | 18/50 [00:08<00:16, 1.99it/s]\n 38%|███▊ | 19/50 [00:09<00:15, 1.99it/s]\n 40%|████ | 20/50 [00:09<00:15, 1.99it/s]\n 42%|████▏ | 21/50 [00:10<00:14, 1.99it/s]\n 44%|████▍ | 22/50 [00:10<00:14, 1.99it/s]\n 46%|████▌ | 23/50 [00:11<00:13, 1.98it/s]\n 48%|████▊ | 24/50 [00:11<00:13, 1.99it/s]\n 50%|█████ | 25/50 [00:12<00:12, 1.98it/s]\n 52%|█████▏ | 26/50 [00:12<00:12, 1.99it/s]\n 54%|█████▍ | 27/50 [00:13<00:11, 1.98it/s]\n 56%|█████▌ | 28/50 [00:13<00:11, 1.99it/s]\n 58%|█████▊ | 29/50 [00:14<00:10, 1.98it/s]\n 60%|██████ | 30/50 [00:14<00:10, 1.99it/s]\n 62%|██████▏ | 31/50 [00:15<00:09, 1.98it/s]\n 64%|██████▍ | 32/50 [00:15<00:09, 1.98it/s]\n 66%|██████▌ | 33/50 [00:16<00:08, 1.98it/s]\n 68%|██████▊ | 34/50 [00:16<00:08, 1.98it/s]\n 70%|███████ | 35/50 [00:17<00:07, 1.98it/s]\n 72%|███████▏ | 36/50 [00:17<00:07, 1.98it/s]\n 74%|███████▍ | 37/50 [00:18<00:06, 1.98it/s]\n 76%|███████▌ | 38/50 [00:18<00:06, 1.98it/s]\n 78%|███████▊ | 39/50 [00:19<00:05, 1.98it/s]\n 80%|████████ | 40/50 [00:19<00:05, 1.98it/s]\n 82%|████████▏ | 41/50 [00:20<00:04, 1.98it/s]\n 84%|████████▍ | 42/50 [00:20<00:04, 1.98it/s]\n 86%|████████▌ | 43/50 [00:21<00:03, 1.98it/s]\n 88%|████████▊ | 44/50 [00:21<00:03, 1.98it/s]\n 90%|█████████ | 45/50 [00:22<00:02, 1.98it/s]\n 92%|█████████▏| 46/50 [00:22<00:02, 1.98it/s]\n 94%|█████████▍| 47/50 [00:23<00:01, 1.98it/s]\n 96%|█████████▌| 48/50 [00:23<00:01, 1.98it/s]\n 98%|█████████▊| 49/50 [00:24<00:00, 1.98it/s]\n100%|██████████| 50/50 [00:24<00:00, 1.98it/s]\n100%|██████████| 50/50 [00:24<00:00, 2.02it/s]\nInversion completed!\nNumber of frames for editing: 40\nSampling: 0%| | 0/50 [00:00<?, ?it/s]\nSampling: 2%|▏ | 1/50 [00:02<02:24, 2.95s/it]\nSampling: 4%|▍ | 2/50 [00:05<02:21, 2.94s/it]\nSampling: 6%|▌ | 3/50 [00:08<02:18, 2.94s/it]\nSampling: 8%|▊ | 4/50 [00:11<02:15, 2.94s/it]\nSampling: 10%|█ | 5/50 [00:14<02:12, 2.95s/it]\nSampling: 12%|█▏ | 6/50 [00:17<02:09, 2.94s/it]\nSampling: 14%|█▍ | 7/50 [00:20<02:06, 2.94s/it]\nSampling: 16%|█▌ | 8/50 [00:23<02:03, 2.94s/it]\nSampling: 18%|█▊ | 9/50 [00:26<02:00, 2.94s/it]\nSampling: 20%|██ | 10/50 [00:29<01:57, 2.94s/it]\nSampling: 22%|██▏ | 11/50 [00:32<01:54, 2.94s/it]\nSampling: 24%|██▍ | 12/50 [00:35<01:51, 2.94s/it]\nSampling: 26%|██▌ | 13/50 [00:38<01:48, 2.94s/it]\nSampling: 28%|██▊ | 14/50 [00:41<01:45, 2.94s/it]\nSampling: 30%|███ | 15/50 [00:44<01:43, 2.94s/it]\nSampling: 32%|███▏ | 16/50 [00:47<01:40, 2.94s/it]\nSampling: 34%|███▍ | 17/50 [00:50<01:37, 2.94s/it]\nSampling: 36%|███▌ | 18/50 [00:52<01:34, 2.94s/it]\nSampling: 38%|███▊ | 19/50 [00:55<01:31, 2.94s/it]\nSampling: 40%|████ | 20/50 [00:58<01:28, 2.94s/it]\nSampling: 42%|████▏ | 21/50 [01:01<01:25, 2.94s/it]\nSampling: 44%|████▍ | 22/50 [01:04<01:22, 2.94s/it]\nSampling: 46%|████▌ | 23/50 [01:07<01:19, 2.95s/it]\nSampling: 48%|████▊ | 24/50 [01:10<01:16, 2.95s/it]\nSampling: 50%|█████ | 25/50 [01:13<01:13, 2.95s/it]\nSampling: 52%|█████▏ | 26/50 [01:16<01:10, 2.94s/it]\nSampling: 54%|█████▍ | 27/50 [01:19<01:07, 2.94s/it]\nSampling: 56%|█████▌ | 28/50 [01:22<01:04, 2.95s/it]\nSampling: 58%|█████▊ | 29/50 [01:25<01:01, 2.95s/it]\nSampling: 60%|██████ | 30/50 [01:28<00:58, 2.95s/it]\nSampling: 62%|██████▏ | 31/50 [01:31<00:55, 2.95s/it]\nSampling: 64%|██████▍ | 32/50 [01:34<00:53, 2.95s/it]\nSampling: 66%|██████▌ | 33/50 [01:37<00:50, 2.95s/it]\nSampling: 68%|██████▊ | 34/50 [01:40<00:47, 2.95s/it]\nSampling: 70%|███████ | 35/50 [01:43<00:44, 2.95s/it]\nSampling: 72%|███████▏ | 36/50 [01:46<00:41, 2.95s/it]\nSampling: 74%|███████▍ | 37/50 [01:48<00:38, 2.95s/it]\nSampling: 76%|███████▌ | 38/50 [01:51<00:35, 2.95s/it]\nSampling: 78%|███████▊ | 39/50 [01:54<00:32, 2.95s/it]\nSampling: 80%|████████ | 40/50 [01:57<00:29, 2.95s/it]\nSampling: 82%|████████▏ | 41/50 [02:00<00:26, 2.95s/it]\nSampling: 84%|████████▍ | 42/50 [02:03<00:23, 2.96s/it]\nSampling: 86%|████████▌ | 43/50 [02:06<00:20, 2.97s/it]\nSampling: 88%|████████▊ | 44/50 [02:09<00:17, 2.97s/it]\nSampling: 90%|█████████ | 45/50 [02:12<00:14, 2.96s/it]\nSampling: 92%|█████████▏| 46/50 [02:15<00:11, 2.97s/it]\nSampling: 94%|█████████▍| 47/50 [02:18<00:08, 2.97s/it]\nSampling: 96%|█████████▌| 48/50 [02:21<00:05, 2.96s/it]\nSampling: 98%|█████████▊| 49/50 [02:24<00:02, 2.96s/it]\nSampling: 100%|██████████| 50/50 [02:27<00:00, 2.95s/it]\nSampling: 100%|██████████| 50/50 [02:27<00:00, 2.95s/it]\nDone!",
"metrics": {
"predict_time": 215.7399,
"total_time": 217.039242
},
"output": "https://replicate.delivery/pbxt/1Z5jF8MGBw7DNhTSUj8YGSA48d6YsWzDFskNvb2guZZVo1jE/out.mp4",
"started_at": "2024-01-23T12:47:58.890485Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/xm4fohlb3gv6e36moshp34ogha",
"cancel": "https://api.replicate.com/v1/predictions/xm4fohlb3gv6e36moshp34ogha/cancel"
},
"version": "d456a26c0c1764ac4d9b933a564fe70e660c46423ba0afb5d3200f1a46060728"
}
Using seed: 60822
/root/.pyenv/versions/3.11.7/lib/python3.11/site-packages/torchvision/io/video.py:161: UserWarning: The pts_unit 'pts' gives wrong results. Please use pts_unit 'sec'.
warnings.warn("The pts_unit 'pts' gives wrong results. Please use pts_unit 'sec'.")
0%| | 0/50 [00:00<?, ?it/s]
2%|▏ | 1/50 [00:00<00:24, 1.99it/s]
4%|▍ | 2/50 [00:01<00:24, 1.98it/s]
6%|▌ | 3/50 [00:01<00:23, 1.99it/s]
8%|▊ | 4/50 [00:02<00:23, 1.99it/s]
10%|█ | 5/50 [00:02<00:22, 1.99it/s]
12%|█▏ | 6/50 [00:03<00:22, 1.99it/s]
14%|█▍ | 7/50 [00:03<00:21, 1.99it/s]
16%|█▌ | 8/50 [00:04<00:21, 1.99it/s]
18%|█▊ | 9/50 [00:04<00:20, 1.99it/s]
20%|██ | 10/50 [00:05<00:20, 1.99it/s]
22%|██▏ | 11/50 [00:05<00:19, 1.98it/s]
24%|██▍ | 12/50 [00:06<00:19, 1.98it/s]
26%|██▌ | 13/50 [00:06<00:18, 1.98it/s]
28%|██▊ | 14/50 [00:07<00:18, 1.98it/s]
30%|███ | 15/50 [00:07<00:17, 1.98it/s]
32%|███▏ | 16/50 [00:08<00:17, 1.99it/s]
34%|███▍ | 17/50 [00:08<00:16, 1.99it/s]
36%|███▌ | 18/50 [00:09<00:16, 2.00it/s]
38%|███▊ | 19/50 [00:09<00:15, 2.00it/s]
40%|████ | 20/50 [00:10<00:15, 2.00it/s]
42%|████▏ | 21/50 [00:10<00:14, 1.99it/s]
44%|████▍ | 22/50 [00:11<00:14, 2.00it/s]
46%|████▌ | 23/50 [00:11<00:13, 2.00it/s]
48%|████▊ | 24/50 [00:12<00:13, 2.00it/s]
50%|█████ | 25/50 [00:12<00:12, 1.99it/s]
52%|█████▏ | 26/50 [00:13<00:12, 2.00it/s]
54%|█████▍ | 27/50 [00:13<00:11, 1.99it/s]
56%|█████▌ | 28/50 [00:14<00:11, 1.99it/s]
58%|█████▊ | 29/50 [00:14<00:10, 1.99it/s]
60%|██████ | 30/50 [00:15<00:10, 1.99it/s]
62%|██████▏ | 31/50 [00:15<00:09, 1.99it/s]
64%|██████▍ | 32/50 [00:16<00:09, 1.99it/s]
66%|██████▌ | 33/50 [00:16<00:08, 1.99it/s]
68%|██████▊ | 34/50 [00:17<00:08, 1.99it/s]
70%|███████ | 35/50 [00:17<00:07, 1.99it/s]
72%|███████▏ | 36/50 [00:18<00:07, 1.99it/s]
74%|███████▍ | 37/50 [00:18<00:06, 1.99it/s]
76%|███████▌ | 38/50 [00:19<00:06, 1.99it/s]
78%|███████▊ | 39/50 [00:19<00:05, 1.99it/s]
80%|████████ | 40/50 [00:20<00:05, 1.99it/s]
82%|████████▏ | 41/50 [00:20<00:04, 1.99it/s]
84%|████████▍ | 42/50 [00:21<00:04, 1.99it/s]
86%|████████▌ | 43/50 [00:21<00:03, 1.99it/s]
88%|████████▊ | 44/50 [00:22<00:03, 1.99it/s]
90%|█████████ | 45/50 [00:22<00:02, 1.99it/s]
92%|█████████▏| 46/50 [00:23<00:02, 1.99it/s]
94%|█████████▍| 47/50 [00:23<00:01, 1.99it/s]
96%|█████████▌| 48/50 [00:24<00:01, 1.99it/s]
98%|█████████▊| 49/50 [00:24<00:00, 1.99it/s]
100%|██████████| 50/50 [00:25<00:00, 1.98it/s]
100%|██████████| 50/50 [00:25<00:00, 1.99it/s]
0%| | 0/50 [00:00<?, ?it/s]
2%|▏ | 1/50 [00:00<00:05, 9.28it/s]
4%|▍ | 2/50 [00:00<00:16, 2.95it/s]
6%|▌ | 3/50 [00:01<00:19, 2.41it/s]
8%|▊ | 4/50 [00:01<00:20, 2.23it/s]
10%|█ | 5/50 [00:02<00:21, 2.14it/s]
12%|█▏ | 6/50 [00:02<00:21, 2.08it/s]
14%|█▍ | 7/50 [00:03<00:20, 2.05it/s]
16%|█▌ | 8/50 [00:03<00:20, 2.03it/s]
18%|█▊ | 9/50 [00:04<00:20, 2.02it/s]
20%|██ | 10/50 [00:04<00:19, 2.01it/s]
22%|██▏ | 11/50 [00:05<00:19, 2.00it/s]
24%|██▍ | 12/50 [00:05<00:19, 2.00it/s]
26%|██▌ | 13/50 [00:06<00:18, 1.99it/s]
28%|██▊ | 14/50 [00:06<00:18, 1.99it/s]
30%|███ | 15/50 [00:07<00:17, 1.99it/s]
32%|███▏ | 16/50 [00:07<00:17, 1.99it/s]
34%|███▍ | 17/50 [00:08<00:16, 1.99it/s]
36%|███▌ | 18/50 [00:08<00:16, 1.99it/s]
38%|███▊ | 19/50 [00:09<00:15, 1.99it/s]
40%|████ | 20/50 [00:09<00:15, 1.99it/s]
42%|████▏ | 21/50 [00:10<00:14, 1.99it/s]
44%|████▍ | 22/50 [00:10<00:14, 1.99it/s]
46%|████▌ | 23/50 [00:11<00:13, 1.98it/s]
48%|████▊ | 24/50 [00:11<00:13, 1.99it/s]
50%|█████ | 25/50 [00:12<00:12, 1.98it/s]
52%|█████▏ | 26/50 [00:12<00:12, 1.99it/s]
54%|█████▍ | 27/50 [00:13<00:11, 1.98it/s]
56%|█████▌ | 28/50 [00:13<00:11, 1.99it/s]
58%|█████▊ | 29/50 [00:14<00:10, 1.98it/s]
60%|██████ | 30/50 [00:14<00:10, 1.99it/s]
62%|██████▏ | 31/50 [00:15<00:09, 1.98it/s]
64%|██████▍ | 32/50 [00:15<00:09, 1.98it/s]
66%|██████▌ | 33/50 [00:16<00:08, 1.98it/s]
68%|██████▊ | 34/50 [00:16<00:08, 1.98it/s]
70%|███████ | 35/50 [00:17<00:07, 1.98it/s]
72%|███████▏ | 36/50 [00:17<00:07, 1.98it/s]
74%|███████▍ | 37/50 [00:18<00:06, 1.98it/s]
76%|███████▌ | 38/50 [00:18<00:06, 1.98it/s]
78%|███████▊ | 39/50 [00:19<00:05, 1.98it/s]
80%|████████ | 40/50 [00:19<00:05, 1.98it/s]
82%|████████▏ | 41/50 [00:20<00:04, 1.98it/s]
84%|████████▍ | 42/50 [00:20<00:04, 1.98it/s]
86%|████████▌ | 43/50 [00:21<00:03, 1.98it/s]
88%|████████▊ | 44/50 [00:21<00:03, 1.98it/s]
90%|█████████ | 45/50 [00:22<00:02, 1.98it/s]
92%|█████████▏| 46/50 [00:22<00:02, 1.98it/s]
94%|█████████▍| 47/50 [00:23<00:01, 1.98it/s]
96%|█████████▌| 48/50 [00:23<00:01, 1.98it/s]
98%|█████████▊| 49/50 [00:24<00:00, 1.98it/s]
100%|██████████| 50/50 [00:24<00:00, 1.98it/s]
100%|██████████| 50/50 [00:24<00:00, 2.02it/s]
Inversion completed!
Number of frames for editing: 40
Sampling: 0%| | 0/50 [00:00<?, ?it/s]
Sampling: 2%|▏ | 1/50 [00:02<02:24, 2.95s/it]
Sampling: 4%|▍ | 2/50 [00:05<02:21, 2.94s/it]
Sampling: 6%|▌ | 3/50 [00:08<02:18, 2.94s/it]
Sampling: 8%|▊ | 4/50 [00:11<02:15, 2.94s/it]
Sampling: 10%|█ | 5/50 [00:14<02:12, 2.95s/it]
Sampling: 12%|█▏ | 6/50 [00:17<02:09, 2.94s/it]
Sampling: 14%|█▍ | 7/50 [00:20<02:06, 2.94s/it]
Sampling: 16%|█▌ | 8/50 [00:23<02:03, 2.94s/it]
Sampling: 18%|█▊ | 9/50 [00:26<02:00, 2.94s/it]
Sampling: 20%|██ | 10/50 [00:29<01:57, 2.94s/it]
Sampling: 22%|██▏ | 11/50 [00:32<01:54, 2.94s/it]
Sampling: 24%|██▍ | 12/50 [00:35<01:51, 2.94s/it]
Sampling: 26%|██▌ | 13/50 [00:38<01:48, 2.94s/it]
Sampling: 28%|██▊ | 14/50 [00:41<01:45, 2.94s/it]
Sampling: 30%|███ | 15/50 [00:44<01:43, 2.94s/it]
Sampling: 32%|███▏ | 16/50 [00:47<01:40, 2.94s/it]
Sampling: 34%|███▍ | 17/50 [00:50<01:37, 2.94s/it]
Sampling: 36%|███▌ | 18/50 [00:52<01:34, 2.94s/it]
Sampling: 38%|███▊ | 19/50 [00:55<01:31, 2.94s/it]
Sampling: 40%|████ | 20/50 [00:58<01:28, 2.94s/it]
Sampling: 42%|████▏ | 21/50 [01:01<01:25, 2.94s/it]
Sampling: 44%|████▍ | 22/50 [01:04<01:22, 2.94s/it]
Sampling: 46%|████▌ | 23/50 [01:07<01:19, 2.95s/it]
Sampling: 48%|████▊ | 24/50 [01:10<01:16, 2.95s/it]
Sampling: 50%|█████ | 25/50 [01:13<01:13, 2.95s/it]
Sampling: 52%|█████▏ | 26/50 [01:16<01:10, 2.94s/it]
Sampling: 54%|█████▍ | 27/50 [01:19<01:07, 2.94s/it]
Sampling: 56%|█████▌ | 28/50 [01:22<01:04, 2.95s/it]
Sampling: 58%|█████▊ | 29/50 [01:25<01:01, 2.95s/it]
Sampling: 60%|██████ | 30/50 [01:28<00:58, 2.95s/it]
Sampling: 62%|██████▏ | 31/50 [01:31<00:55, 2.95s/it]
Sampling: 64%|██████▍ | 32/50 [01:34<00:53, 2.95s/it]
Sampling: 66%|██████▌ | 33/50 [01:37<00:50, 2.95s/it]
Sampling: 68%|██████▊ | 34/50 [01:40<00:47, 2.95s/it]
Sampling: 70%|███████ | 35/50 [01:43<00:44, 2.95s/it]
Sampling: 72%|███████▏ | 36/50 [01:46<00:41, 2.95s/it]
Sampling: 74%|███████▍ | 37/50 [01:48<00:38, 2.95s/it]
Sampling: 76%|███████▌ | 38/50 [01:51<00:35, 2.95s/it]
Sampling: 78%|███████▊ | 39/50 [01:54<00:32, 2.95s/it]
Sampling: 80%|████████ | 40/50 [01:57<00:29, 2.95s/it]
Sampling: 82%|████████▏ | 41/50 [02:00<00:26, 2.95s/it]
Sampling: 84%|████████▍ | 42/50 [02:03<00:23, 2.96s/it]
Sampling: 86%|████████▌ | 43/50 [02:06<00:20, 2.97s/it]
Sampling: 88%|████████▊ | 44/50 [02:09<00:17, 2.97s/it]
Sampling: 90%|█████████ | 45/50 [02:12<00:14, 2.96s/it]
Sampling: 92%|█████████▏| 46/50 [02:15<00:11, 2.97s/it]
Sampling: 94%|█████████▍| 47/50 [02:18<00:08, 2.97s/it]
Sampling: 96%|█████████▌| 48/50 [02:21<00:05, 2.96s/it]
Sampling: 98%|█████████▊| 49/50 [02:24<00:02, 2.96s/it]
Sampling: 100%|██████████| 50/50 [02:27<00:00, 2.95s/it]
Sampling: 100%|██████████| 50/50 [02:27<00:00, 2.95s/it]
Done!