lucataco
/
vid2openpose
Video to OpenPose
Prediction
lucataco/vid2openpose:5ec45ee5ID52xjrxzbq7bjfphw5vwrmwudveStatusSucceededSourceWebHardwareT4Total durationCreatedInput
- video
{ "video": "https://replicate.delivery/pbxt/K0yQZCkXBHvohzFsnNaPfiStLQZxnAhBBU6PzVUfOWskn1XA/jubislide.mp4" }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/vid2openpose using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/vid2openpose:5ec45ee53f41d21bf9062e0dc3be9f75c201f69a35824177d09e47c619bb90e2", { input: { video: "https://replicate.delivery/pbxt/K0yQZCkXBHvohzFsnNaPfiStLQZxnAhBBU6PzVUfOWskn1XA/jubislide.mp4" } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run lucataco/vid2openpose using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/vid2openpose:5ec45ee53f41d21bf9062e0dc3be9f75c201f69a35824177d09e47c619bb90e2", input={ "video": "https://replicate.delivery/pbxt/K0yQZCkXBHvohzFsnNaPfiStLQZxnAhBBU6PzVUfOWskn1XA/jubislide.mp4" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run lucataco/vid2openpose 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": "5ec45ee53f41d21bf9062e0dc3be9f75c201f69a35824177d09e47c619bb90e2", "input": { "video": "https://replicate.delivery/pbxt/K0yQZCkXBHvohzFsnNaPfiStLQZxnAhBBU6PzVUfOWskn1XA/jubislide.mp4" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog: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/lucataco/vid2openpose@sha256:5ec45ee53f41d21bf9062e0dc3be9f75c201f69a35824177d09e47c619bb90e2 \ -i 'video="https://replicate.delivery/pbxt/K0yQZCkXBHvohzFsnNaPfiStLQZxnAhBBU6PzVUfOWskn1XA/jubislide.mp4"'
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/lucataco/vid2openpose@sha256:5ec45ee53f41d21bf9062e0dc3be9f75c201f69a35824177d09e47c619bb90e2
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "video": "https://replicate.delivery/pbxt/K0yQZCkXBHvohzFsnNaPfiStLQZxnAhBBU6PzVUfOWskn1XA/jubislide.mp4" } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2023-12-08T20:12:35.499716Z", "created_at": "2023-12-08T20:05:25.626523Z", "data_removed": false, "error": null, "id": "52xjrxzbq7bjfphw5vwrmwudve", "input": { "video": "https://replicate.delivery/pbxt/K0yQZCkXBHvohzFsnNaPfiStLQZxnAhBBU6PzVUfOWskn1XA/jubislide.mp4" }, "logs": "video rate is OK\nMoviepy - Building video video_resized.mp4.\nMoviePy - Writing audio in video_resizedTEMP_MPY_wvf_snd.mp3\nchunk: 0%| | 0/100 [00:00<?, ?it/s, now=None]\nchunk: 71%|███████ | 71/100 [00:00<00:00, 704.94it/s, now=None]\nMoviePy - Done.\nMoviepy - Writing video video_resized.mp4\nt: 0%| | 0/135 [00:00<?, ?it/s, now=None]\nt: 13%|█▎ | 18/135 [00:00<00:00, 171.31it/s, now=None]\nt: 27%|██▋ | 36/135 [00:00<00:00, 166.56it/s, now=None]\nt: 39%|███▉ | 53/135 [00:00<00:00, 165.86it/s, now=None]\nt: 52%|█████▏ | 70/135 [00:00<00:00, 121.25it/s, now=None]\nt: 62%|██████▏ | 84/135 [00:00<00:00, 103.84it/s, now=None]\nt: 71%|███████ | 96/135 [00:00<00:00, 97.09it/s, now=None] \nt: 79%|███████▉ | 107/135 [00:00<00:00, 97.40it/s, now=None]\nt: 87%|████████▋ | 118/135 [00:01<00:00, 90.14it/s, now=None]\nt: 95%|█████████▍| 128/135 [00:01<00:00, 86.72it/s, now=None]\nMoviepy - Done !\nMoviepy - video ready video_resized.mp4\nvideo resized to 512 height\nvideo fps: 30.0\nbroke the video into frames\nvideo is shorter than the cut value\nset stop frames to: 135\nframe /tmp/kang0.jpg/135: done;\nframe /tmp/kang1.jpg/135: done;\nframe /tmp/kang2.jpg/135: done;\nframe /tmp/kang3.jpg/135: done;\nframe /tmp/kang4.jpg/135: done;\nframe /tmp/kang5.jpg/135: done;\nframe /tmp/kang6.jpg/135: done;\nframe /tmp/kang7.jpg/135: done;\nframe /tmp/kang8.jpg/135: done;\nframe /tmp/kang9.jpg/135: done;\nframe /tmp/kang10.jpg/135: done;\nframe /tmp/kang11.jpg/135: done;\nframe /tmp/kang12.jpg/135: done;\nframe /tmp/kang13.jpg/135: done;\nframe /tmp/kang14.jpg/135: done;\nframe /tmp/kang15.jpg/135: done;\nframe /tmp/kang16.jpg/135: done;\nframe /tmp/kang17.jpg/135: done;\nframe /tmp/kang18.jpg/135: done;\nframe /tmp/kang19.jpg/135: done;\nframe /tmp/kang20.jpg/135: done;\nframe /tmp/kang21.jpg/135: done;\nframe /tmp/kang22.jpg/135: done;\nframe /tmp/kang23.jpg/135: done;\nframe /tmp/kang24.jpg/135: done;\nframe /tmp/kang25.jpg/135: done;\nframe /tmp/kang26.jpg/135: done;\nframe /tmp/kang27.jpg/135: done;\nframe /tmp/kang28.jpg/135: done;\nframe /tmp/kang29.jpg/135: done;\nframe /tmp/kang30.jpg/135: done;\nframe /tmp/kang31.jpg/135: done;\nframe /tmp/kang32.jpg/135: done;\nframe /tmp/kang33.jpg/135: done;\nframe /tmp/kang34.jpg/135: done;\nframe /tmp/kang35.jpg/135: done;\nframe /tmp/kang36.jpg/135: done;\nframe /tmp/kang37.jpg/135: done;\nframe /tmp/kang38.jpg/135: done;\nframe /tmp/kang39.jpg/135: done;\nframe /tmp/kang40.jpg/135: done;\nframe /tmp/kang41.jpg/135: done;\nframe /tmp/kang42.jpg/135: done;\nframe /tmp/kang43.jpg/135: done;\nframe /tmp/kang44.jpg/135: done;\nframe /tmp/kang45.jpg/135: done;\nframe /tmp/kang46.jpg/135: done;\nframe /tmp/kang47.jpg/135: done;\nframe /tmp/kang48.jpg/135: done;\nframe /tmp/kang49.jpg/135: done;\nframe /tmp/kang50.jpg/135: done;\nframe /tmp/kang51.jpg/135: done;\nframe /tmp/kang52.jpg/135: done;\nframe /tmp/kang53.jpg/135: done;\nframe /tmp/kang54.jpg/135: done;\nframe /tmp/kang55.jpg/135: done;\nframe /tmp/kang56.jpg/135: done;\nframe /tmp/kang57.jpg/135: done;\nframe /tmp/kang58.jpg/135: done;\nframe /tmp/kang59.jpg/135: done;\nframe /tmp/kang60.jpg/135: done;\nframe /tmp/kang61.jpg/135: done;\nframe /tmp/kang62.jpg/135: done;\nframe /tmp/kang63.jpg/135: done;\nframe /tmp/kang64.jpg/135: done;\nframe /tmp/kang65.jpg/135: done;\nframe /tmp/kang66.jpg/135: done;\nframe /tmp/kang67.jpg/135: done;\nframe /tmp/kang68.jpg/135: done;\nframe /tmp/kang69.jpg/135: done;\nframe /tmp/kang70.jpg/135: done;\nframe /tmp/kang71.jpg/135: done;\nframe /tmp/kang72.jpg/135: done;\nframe /tmp/kang73.jpg/135: done;\nframe /tmp/kang74.jpg/135: done;\nframe /tmp/kang75.jpg/135: done;\nframe /tmp/kang76.jpg/135: done;\nframe /tmp/kang77.jpg/135: done;\nframe /tmp/kang78.jpg/135: done;\nframe /tmp/kang79.jpg/135: done;\nframe /tmp/kang80.jpg/135: done;\nframe /tmp/kang81.jpg/135: done;\nframe /tmp/kang82.jpg/135: done;\nframe /tmp/kang83.jpg/135: done;\nframe /tmp/kang84.jpg/135: done;\nframe /tmp/kang85.jpg/135: done;\nframe /tmp/kang86.jpg/135: done;\nframe /tmp/kang87.jpg/135: done;\nframe /tmp/kang88.jpg/135: done;\nframe /tmp/kang89.jpg/135: done;\nframe /tmp/kang90.jpg/135: done;\nframe /tmp/kang91.jpg/135: done;\nframe /tmp/kang92.jpg/135: done;\nframe /tmp/kang93.jpg/135: done;\nframe /tmp/kang94.jpg/135: done;\nframe /tmp/kang95.jpg/135: done;\nframe /tmp/kang96.jpg/135: done;\nframe /tmp/kang97.jpg/135: done;\nframe /tmp/kang98.jpg/135: done;\nframe /tmp/kang99.jpg/135: done;\nframe /tmp/kang100.jpg/135: done;\nframe /tmp/kang101.jpg/135: done;\nframe /tmp/kang102.jpg/135: done;\nframe /tmp/kang103.jpg/135: done;\nframe /tmp/kang104.jpg/135: done;\nframe /tmp/kang105.jpg/135: done;\nframe /tmp/kang106.jpg/135: done;\nframe /tmp/kang107.jpg/135: done;\nframe /tmp/kang108.jpg/135: done;\nframe /tmp/kang109.jpg/135: done;\nframe /tmp/kang110.jpg/135: done;\nframe /tmp/kang111.jpg/135: done;\nframe /tmp/kang112.jpg/135: done;\nframe /tmp/kang113.jpg/135: done;\nframe /tmp/kang114.jpg/135: done;\nframe /tmp/kang115.jpg/135: done;\nframe /tmp/kang116.jpg/135: done;\nframe /tmp/kang117.jpg/135: done;\nframe /tmp/kang118.jpg/135: done;\nframe /tmp/kang119.jpg/135: done;\nframe /tmp/kang120.jpg/135: done;\nframe /tmp/kang121.jpg/135: done;\nframe /tmp/kang122.jpg/135: done;\nframe /tmp/kang123.jpg/135: done;\nframe /tmp/kang124.jpg/135: done;\nframe /tmp/kang125.jpg/135: done;\nframe /tmp/kang126.jpg/135: done;\nframe /tmp/kang127.jpg/135: done;\nframe /tmp/kang128.jpg/135: done;\nframe /tmp/kang129.jpg/135: done;\nframe /tmp/kang130.jpg/135: done;\nframe /tmp/kang131.jpg/135: done;\nframe /tmp/kang132.jpg/135: done;\nframe /tmp/kang133.jpg/135: done;\nframe /tmp/kang134.jpg/135: done;\nbuilding video result\nMoviepy - Building video /tmp/openpose_result.mp4.\nMoviepy - Writing video /tmp/openpose_result.mp4\nt: 0%| | 0/135 [00:00<?, ?it/s, now=None]\nt: 15%|█▍ | 20/135 [00:00<00:00, 199.48it/s, now=None]\nt: 33%|███▎ | 44/135 [00:00<00:00, 219.35it/s, now=None]\nt: 49%|████▉ | 66/135 [00:00<00:00, 181.31it/s, now=None]\nt: 65%|██████▌ | 88/135 [00:00<00:00, 191.64it/s, now=None]\nt: 81%|████████ | 109/135 [00:00<00:00, 197.49it/s, now=None]\nt: 97%|█████████▋| 131/135 [00:00<00:00, 202.46it/s, now=None]\nMoviepy - Done !\nMoviepy - video ready /tmp/openpose_result.mp4\noutput video: /tmp/openpose_result.mp4", "metrics": { "predict_time": 234.477847, "total_time": 429.873193 }, "output": "https://replicate.delivery/pbxt/Cffu32XGRgglPEuVxepwgwYVByYEebbw1q5VZ1ZOVmfdWVCQC/openpose_result.mp4", "started_at": "2023-12-08T20:08:41.021869Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/52xjrxzbq7bjfphw5vwrmwudve", "cancel": "https://api.replicate.com/v1/predictions/52xjrxzbq7bjfphw5vwrmwudve/cancel" }, "version": "5ec45ee53f41d21bf9062e0dc3be9f75c201f69a35824177d09e47c619bb90e2" }
Generated invideo rate is OK Moviepy - Building video video_resized.mp4. MoviePy - Writing audio in video_resizedTEMP_MPY_wvf_snd.mp3 chunk: 0%| | 0/100 [00:00<?, ?it/s, now=None] chunk: 71%|███████ | 71/100 [00:00<00:00, 704.94it/s, now=None] MoviePy - Done. Moviepy - Writing video video_resized.mp4 t: 0%| | 0/135 [00:00<?, ?it/s, now=None] t: 13%|█▎ | 18/135 [00:00<00:00, 171.31it/s, now=None] t: 27%|██▋ | 36/135 [00:00<00:00, 166.56it/s, now=None] t: 39%|███▉ | 53/135 [00:00<00:00, 165.86it/s, now=None] t: 52%|█████▏ | 70/135 [00:00<00:00, 121.25it/s, now=None] t: 62%|██████▏ | 84/135 [00:00<00:00, 103.84it/s, now=None] t: 71%|███████ | 96/135 [00:00<00:00, 97.09it/s, now=None] t: 79%|███████▉ | 107/135 [00:00<00:00, 97.40it/s, now=None] t: 87%|████████▋ | 118/135 [00:01<00:00, 90.14it/s, now=None] t: 95%|█████████▍| 128/135 [00:01<00:00, 86.72it/s, now=None] Moviepy - Done ! Moviepy - video ready video_resized.mp4 video resized to 512 height video fps: 30.0 broke the video into frames video is shorter than the cut value set stop frames to: 135 frame /tmp/kang0.jpg/135: done; frame /tmp/kang1.jpg/135: done; frame /tmp/kang2.jpg/135: done; frame /tmp/kang3.jpg/135: done; frame /tmp/kang4.jpg/135: done; frame /tmp/kang5.jpg/135: done; frame /tmp/kang6.jpg/135: done; frame /tmp/kang7.jpg/135: done; frame /tmp/kang8.jpg/135: done; frame /tmp/kang9.jpg/135: done; frame /tmp/kang10.jpg/135: done; frame /tmp/kang11.jpg/135: done; frame /tmp/kang12.jpg/135: done; frame /tmp/kang13.jpg/135: done; frame /tmp/kang14.jpg/135: done; frame /tmp/kang15.jpg/135: done; frame /tmp/kang16.jpg/135: done; frame /tmp/kang17.jpg/135: done; frame /tmp/kang18.jpg/135: done; frame /tmp/kang19.jpg/135: done; frame /tmp/kang20.jpg/135: done; frame /tmp/kang21.jpg/135: done; frame /tmp/kang22.jpg/135: done; frame /tmp/kang23.jpg/135: done; frame /tmp/kang24.jpg/135: done; frame /tmp/kang25.jpg/135: done; frame /tmp/kang26.jpg/135: done; frame /tmp/kang27.jpg/135: done; frame /tmp/kang28.jpg/135: done; frame /tmp/kang29.jpg/135: done; frame /tmp/kang30.jpg/135: done; frame /tmp/kang31.jpg/135: done; frame /tmp/kang32.jpg/135: done; frame /tmp/kang33.jpg/135: done; frame /tmp/kang34.jpg/135: done; frame /tmp/kang35.jpg/135: done; frame /tmp/kang36.jpg/135: done; frame /tmp/kang37.jpg/135: done; frame /tmp/kang38.jpg/135: done; frame /tmp/kang39.jpg/135: done; frame /tmp/kang40.jpg/135: done; frame /tmp/kang41.jpg/135: done; frame /tmp/kang42.jpg/135: done; frame /tmp/kang43.jpg/135: done; frame /tmp/kang44.jpg/135: done; frame /tmp/kang45.jpg/135: done; frame /tmp/kang46.jpg/135: done; frame /tmp/kang47.jpg/135: done; frame /tmp/kang48.jpg/135: done; frame /tmp/kang49.jpg/135: done; frame /tmp/kang50.jpg/135: done; frame /tmp/kang51.jpg/135: done; frame /tmp/kang52.jpg/135: done; frame /tmp/kang53.jpg/135: done; frame /tmp/kang54.jpg/135: done; frame /tmp/kang55.jpg/135: done; frame /tmp/kang56.jpg/135: done; frame /tmp/kang57.jpg/135: done; frame /tmp/kang58.jpg/135: done; frame /tmp/kang59.jpg/135: done; frame /tmp/kang60.jpg/135: done; frame /tmp/kang61.jpg/135: done; frame /tmp/kang62.jpg/135: done; frame /tmp/kang63.jpg/135: done; frame /tmp/kang64.jpg/135: done; frame /tmp/kang65.jpg/135: done; frame /tmp/kang66.jpg/135: done; frame /tmp/kang67.jpg/135: done; frame /tmp/kang68.jpg/135: done; frame /tmp/kang69.jpg/135: done; frame /tmp/kang70.jpg/135: done; frame /tmp/kang71.jpg/135: done; frame /tmp/kang72.jpg/135: done; frame /tmp/kang73.jpg/135: done; frame /tmp/kang74.jpg/135: done; frame /tmp/kang75.jpg/135: done; frame /tmp/kang76.jpg/135: done; frame /tmp/kang77.jpg/135: done; frame /tmp/kang78.jpg/135: done; frame /tmp/kang79.jpg/135: done; frame /tmp/kang80.jpg/135: done; frame /tmp/kang81.jpg/135: done; frame /tmp/kang82.jpg/135: done; frame /tmp/kang83.jpg/135: done; frame /tmp/kang84.jpg/135: done; frame /tmp/kang85.jpg/135: done; frame /tmp/kang86.jpg/135: done; frame /tmp/kang87.jpg/135: done; frame /tmp/kang88.jpg/135: done; frame /tmp/kang89.jpg/135: done; frame /tmp/kang90.jpg/135: done; frame /tmp/kang91.jpg/135: done; frame /tmp/kang92.jpg/135: done; frame /tmp/kang93.jpg/135: done; frame /tmp/kang94.jpg/135: done; frame /tmp/kang95.jpg/135: done; frame /tmp/kang96.jpg/135: done; frame /tmp/kang97.jpg/135: done; frame /tmp/kang98.jpg/135: done; frame /tmp/kang99.jpg/135: done; frame /tmp/kang100.jpg/135: done; frame /tmp/kang101.jpg/135: done; frame /tmp/kang102.jpg/135: done; frame /tmp/kang103.jpg/135: done; frame /tmp/kang104.jpg/135: done; frame /tmp/kang105.jpg/135: done; frame /tmp/kang106.jpg/135: done; frame /tmp/kang107.jpg/135: done; frame /tmp/kang108.jpg/135: done; frame /tmp/kang109.jpg/135: done; frame /tmp/kang110.jpg/135: done; frame /tmp/kang111.jpg/135: done; frame /tmp/kang112.jpg/135: done; frame /tmp/kang113.jpg/135: done; frame /tmp/kang114.jpg/135: done; frame /tmp/kang115.jpg/135: done; frame /tmp/kang116.jpg/135: done; frame /tmp/kang117.jpg/135: done; frame /tmp/kang118.jpg/135: done; frame /tmp/kang119.jpg/135: done; frame /tmp/kang120.jpg/135: done; frame /tmp/kang121.jpg/135: done; frame /tmp/kang122.jpg/135: done; frame /tmp/kang123.jpg/135: done; frame /tmp/kang124.jpg/135: done; frame /tmp/kang125.jpg/135: done; frame /tmp/kang126.jpg/135: done; frame /tmp/kang127.jpg/135: done; frame /tmp/kang128.jpg/135: done; frame /tmp/kang129.jpg/135: done; frame /tmp/kang130.jpg/135: done; frame /tmp/kang131.jpg/135: done; frame /tmp/kang132.jpg/135: done; frame /tmp/kang133.jpg/135: done; frame /tmp/kang134.jpg/135: done; building video result Moviepy - Building video /tmp/openpose_result.mp4. Moviepy - Writing video /tmp/openpose_result.mp4 t: 0%| | 0/135 [00:00<?, ?it/s, now=None] t: 15%|█▍ | 20/135 [00:00<00:00, 199.48it/s, now=None] t: 33%|███▎ | 44/135 [00:00<00:00, 219.35it/s, now=None] t: 49%|████▉ | 66/135 [00:00<00:00, 181.31it/s, now=None] t: 65%|██████▌ | 88/135 [00:00<00:00, 191.64it/s, now=None] t: 81%|████████ | 109/135 [00:00<00:00, 197.49it/s, now=None] t: 97%|█████████▋| 131/135 [00:00<00:00, 202.46it/s, now=None] Moviepy - Done ! Moviepy - video ready /tmp/openpose_result.mp4 output video: /tmp/openpose_result.mp4
Prediction
lucataco/vid2openpose:5ec45ee5IDvrkxaljbcvbcaeweuvmegod2iqStatusSucceededSourceWebHardwareT4Total durationCreatedInput
- video
{ "video": "https://replicate.delivery/pbxt/K0vdyqPcKpGyVqVdmkb7n4rxAtE0PApnJKrh8WNW0hVTqSi4/polina2.mp4" }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/vid2openpose using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/vid2openpose:5ec45ee53f41d21bf9062e0dc3be9f75c201f69a35824177d09e47c619bb90e2", { input: { video: "https://replicate.delivery/pbxt/K0vdyqPcKpGyVqVdmkb7n4rxAtE0PApnJKrh8WNW0hVTqSi4/polina2.mp4" } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run lucataco/vid2openpose using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/vid2openpose:5ec45ee53f41d21bf9062e0dc3be9f75c201f69a35824177d09e47c619bb90e2", input={ "video": "https://replicate.delivery/pbxt/K0vdyqPcKpGyVqVdmkb7n4rxAtE0PApnJKrh8WNW0hVTqSi4/polina2.mp4" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run lucataco/vid2openpose 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": "5ec45ee53f41d21bf9062e0dc3be9f75c201f69a35824177d09e47c619bb90e2", "input": { "video": "https://replicate.delivery/pbxt/K0vdyqPcKpGyVqVdmkb7n4rxAtE0PApnJKrh8WNW0hVTqSi4/polina2.mp4" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog: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/lucataco/vid2openpose@sha256:5ec45ee53f41d21bf9062e0dc3be9f75c201f69a35824177d09e47c619bb90e2 \ -i 'video="https://replicate.delivery/pbxt/K0vdyqPcKpGyVqVdmkb7n4rxAtE0PApnJKrh8WNW0hVTqSi4/polina2.mp4"'
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/lucataco/vid2openpose@sha256:5ec45ee53f41d21bf9062e0dc3be9f75c201f69a35824177d09e47c619bb90e2
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "video": "https://replicate.delivery/pbxt/K0vdyqPcKpGyVqVdmkb7n4rxAtE0PApnJKrh8WNW0hVTqSi4/polina2.mp4" } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2023-12-08T17:06:09.463114Z", "created_at": "2023-12-08T17:03:17.387986Z", "data_removed": false, "error": null, "id": "vrkxaljbcvbcaeweuvmegod2iq", "input": { "video": "https://replicate.delivery/pbxt/K0vdyqPcKpGyVqVdmkb7n4rxAtE0PApnJKrh8WNW0hVTqSi4/polina2.mp4" }, "logs": "video rate is OK\nMoviepy - Building video video_resized.mp4.\nMoviePy - Writing audio in video_resizedTEMP_MPY_wvf_snd.mp3\nchunk: 0%| | 0/57 [00:00<?, ?it/s, now=None]\nMoviePy - Done.\nMoviepy - Writing video video_resized.mp4\nt: 0%| | 0/64 [00:00<?, ?it/s, now=None]\nt: 30%|██▉ | 19/64 [00:00<00:00, 182.49it/s, now=None]\nt: 59%|█████▉ | 38/64 [00:00<00:00, 170.05it/s, now=None]\nt: 88%|████████▊ | 56/64 [00:00<00:00, 170.41it/s, now=None]\nMoviepy - Done !\nMoviepy - video ready video_resized.mp4\nvideo resized to 512 height\nvideo fps: 25.0\nbroke the video into frames\nvideo is shorter than the cut value\nset stop frames to: 64\nframe /tmp/kang0.jpg/64: done;\nframe /tmp/kang1.jpg/64: done;\nframe /tmp/kang2.jpg/64: done;\nframe /tmp/kang3.jpg/64: done;\nframe /tmp/kang4.jpg/64: done;\nframe /tmp/kang5.jpg/64: done;\nframe /tmp/kang6.jpg/64: done;\nframe /tmp/kang7.jpg/64: done;\nframe /tmp/kang8.jpg/64: done;\nframe /tmp/kang9.jpg/64: done;\nframe /tmp/kang10.jpg/64: done;\nframe /tmp/kang11.jpg/64: done;\nframe /tmp/kang12.jpg/64: done;\nframe /tmp/kang13.jpg/64: done;\nframe /tmp/kang14.jpg/64: done;\nframe /tmp/kang15.jpg/64: done;\nframe /tmp/kang16.jpg/64: done;\nframe /tmp/kang17.jpg/64: done;\nframe /tmp/kang18.jpg/64: done;\nframe /tmp/kang19.jpg/64: done;\nframe /tmp/kang20.jpg/64: done;\nframe /tmp/kang21.jpg/64: done;\nframe /tmp/kang22.jpg/64: done;\nframe /tmp/kang23.jpg/64: done;\nframe /tmp/kang24.jpg/64: done;\nframe /tmp/kang25.jpg/64: done;\nframe /tmp/kang26.jpg/64: done;\nframe /tmp/kang27.jpg/64: done;\nframe /tmp/kang28.jpg/64: done;\nframe /tmp/kang29.jpg/64: done;\nframe /tmp/kang30.jpg/64: done;\nframe /tmp/kang31.jpg/64: done;\nframe /tmp/kang32.jpg/64: done;\nframe /tmp/kang33.jpg/64: done;\nframe /tmp/kang34.jpg/64: done;\nframe /tmp/kang35.jpg/64: done;\nframe /tmp/kang36.jpg/64: done;\nframe /tmp/kang37.jpg/64: done;\nframe /tmp/kang38.jpg/64: done;\nframe /tmp/kang39.jpg/64: done;\nframe /tmp/kang40.jpg/64: done;\nframe /tmp/kang41.jpg/64: done;\nframe /tmp/kang42.jpg/64: done;\nframe /tmp/kang43.jpg/64: done;\nframe /tmp/kang44.jpg/64: done;\nframe /tmp/kang45.jpg/64: done;\nframe /tmp/kang46.jpg/64: done;\nframe /tmp/kang47.jpg/64: done;\nframe /tmp/kang48.jpg/64: done;\nframe /tmp/kang49.jpg/64: done;\nframe /tmp/kang50.jpg/64: done;\nframe /tmp/kang51.jpg/64: done;\nframe /tmp/kang52.jpg/64: done;\nframe /tmp/kang53.jpg/64: done;\nframe /tmp/kang54.jpg/64: done;\nframe /tmp/kang55.jpg/64: done;\nframe /tmp/kang56.jpg/64: done;\nframe /tmp/kang57.jpg/64: done;\nframe /tmp/kang58.jpg/64: done;\nframe /tmp/kang59.jpg/64: done;\nframe /tmp/kang60.jpg/64: done;\nframe /tmp/kang61.jpg/64: done;\nframe /tmp/kang62.jpg/64: done;\nframe /tmp/kang63.jpg/64: done;\nbuilding video result\nMoviepy - Building video /tmp/openpose_result.mp4.\nMoviepy - Writing video /tmp/openpose_result.mp4\nt: 0%| | 0/65 [00:00<?, ?it/s, now=None]\nt: 34%|███▍ | 22/65 [00:00<00:00, 217.51it/s, now=None]\nt: 72%|███████▏ | 47/65 [00:00<00:00, 233.20it/s, now=None]\nMoviepy - Done !\nMoviepy - video ready /tmp/openpose_result.mp4\noutput video: /tmp/openpose_result.mp4", "metrics": { "predict_time": 96.145992, "total_time": 172.075128 }, "output": "https://replicate.delivery/pbxt/5K3wa2XCfV1BQKN80YMkCRFwrPGfs0ujoG595HSGnKEB8PASA/openpose_result.mp4", "started_at": "2023-12-08T17:04:33.317122Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/vrkxaljbcvbcaeweuvmegod2iq", "cancel": "https://api.replicate.com/v1/predictions/vrkxaljbcvbcaeweuvmegod2iq/cancel" }, "version": "5ec45ee53f41d21bf9062e0dc3be9f75c201f69a35824177d09e47c619bb90e2" }
Generated invideo rate is OK Moviepy - Building video video_resized.mp4. MoviePy - Writing audio in video_resizedTEMP_MPY_wvf_snd.mp3 chunk: 0%| | 0/57 [00:00<?, ?it/s, now=None] MoviePy - Done. Moviepy - Writing video video_resized.mp4 t: 0%| | 0/64 [00:00<?, ?it/s, now=None] t: 30%|██▉ | 19/64 [00:00<00:00, 182.49it/s, now=None] t: 59%|█████▉ | 38/64 [00:00<00:00, 170.05it/s, now=None] t: 88%|████████▊ | 56/64 [00:00<00:00, 170.41it/s, now=None] Moviepy - Done ! Moviepy - video ready video_resized.mp4 video resized to 512 height video fps: 25.0 broke the video into frames video is shorter than the cut value set stop frames to: 64 frame /tmp/kang0.jpg/64: done; frame /tmp/kang1.jpg/64: done; frame /tmp/kang2.jpg/64: done; frame /tmp/kang3.jpg/64: done; frame /tmp/kang4.jpg/64: done; frame /tmp/kang5.jpg/64: done; frame /tmp/kang6.jpg/64: done; frame /tmp/kang7.jpg/64: done; frame /tmp/kang8.jpg/64: done; frame /tmp/kang9.jpg/64: done; frame /tmp/kang10.jpg/64: done; frame /tmp/kang11.jpg/64: done; frame /tmp/kang12.jpg/64: done; frame /tmp/kang13.jpg/64: done; frame /tmp/kang14.jpg/64: done; frame /tmp/kang15.jpg/64: done; frame /tmp/kang16.jpg/64: done; frame /tmp/kang17.jpg/64: done; frame /tmp/kang18.jpg/64: done; frame /tmp/kang19.jpg/64: done; frame /tmp/kang20.jpg/64: done; frame /tmp/kang21.jpg/64: done; frame /tmp/kang22.jpg/64: done; frame /tmp/kang23.jpg/64: done; frame /tmp/kang24.jpg/64: done; frame /tmp/kang25.jpg/64: done; frame /tmp/kang26.jpg/64: done; frame /tmp/kang27.jpg/64: done; frame /tmp/kang28.jpg/64: done; frame /tmp/kang29.jpg/64: done; frame /tmp/kang30.jpg/64: done; frame /tmp/kang31.jpg/64: done; frame /tmp/kang32.jpg/64: done; frame /tmp/kang33.jpg/64: done; frame /tmp/kang34.jpg/64: done; frame /tmp/kang35.jpg/64: done; frame /tmp/kang36.jpg/64: done; frame /tmp/kang37.jpg/64: done; frame /tmp/kang38.jpg/64: done; frame /tmp/kang39.jpg/64: done; frame /tmp/kang40.jpg/64: done; frame /tmp/kang41.jpg/64: done; frame /tmp/kang42.jpg/64: done; frame /tmp/kang43.jpg/64: done; frame /tmp/kang44.jpg/64: done; frame /tmp/kang45.jpg/64: done; frame /tmp/kang46.jpg/64: done; frame /tmp/kang47.jpg/64: done; frame /tmp/kang48.jpg/64: done; frame /tmp/kang49.jpg/64: done; frame /tmp/kang50.jpg/64: done; frame /tmp/kang51.jpg/64: done; frame /tmp/kang52.jpg/64: done; frame /tmp/kang53.jpg/64: done; frame /tmp/kang54.jpg/64: done; frame /tmp/kang55.jpg/64: done; frame /tmp/kang56.jpg/64: done; frame /tmp/kang57.jpg/64: done; frame /tmp/kang58.jpg/64: done; frame /tmp/kang59.jpg/64: done; frame /tmp/kang60.jpg/64: done; frame /tmp/kang61.jpg/64: done; frame /tmp/kang62.jpg/64: done; frame /tmp/kang63.jpg/64: done; building video result Moviepy - Building video /tmp/openpose_result.mp4. Moviepy - Writing video /tmp/openpose_result.mp4 t: 0%| | 0/65 [00:00<?, ?it/s, now=None] t: 34%|███▍ | 22/65 [00:00<00:00, 217.51it/s, now=None] t: 72%|███████▏ | 47/65 [00:00<00:00, 233.20it/s, now=None] Moviepy - Done ! Moviepy - video ready /tmp/openpose_result.mp4 output video: /tmp/openpose_result.mp4
Prediction
lucataco/vid2openpose:5ec45ee5IDxzte3wzb3r35so22b647c4owmyStatusSucceededSourceWebHardwareT4Total durationCreatedInput
- video
{ "video": "https://replicate.delivery/pbxt/K0vgq2SZM04FFLEdo4nCTNGd8mINVxkvo53FuFQc0NFEttNv/hiphop1.mp4" }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/vid2openpose using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/vid2openpose:5ec45ee53f41d21bf9062e0dc3be9f75c201f69a35824177d09e47c619bb90e2", { input: { video: "https://replicate.delivery/pbxt/K0vgq2SZM04FFLEdo4nCTNGd8mINVxkvo53FuFQc0NFEttNv/hiphop1.mp4" } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run lucataco/vid2openpose using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/vid2openpose:5ec45ee53f41d21bf9062e0dc3be9f75c201f69a35824177d09e47c619bb90e2", input={ "video": "https://replicate.delivery/pbxt/K0vgq2SZM04FFLEdo4nCTNGd8mINVxkvo53FuFQc0NFEttNv/hiphop1.mp4" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run lucataco/vid2openpose 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": "5ec45ee53f41d21bf9062e0dc3be9f75c201f69a35824177d09e47c619bb90e2", "input": { "video": "https://replicate.delivery/pbxt/K0vgq2SZM04FFLEdo4nCTNGd8mINVxkvo53FuFQc0NFEttNv/hiphop1.mp4" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog: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/lucataco/vid2openpose@sha256:5ec45ee53f41d21bf9062e0dc3be9f75c201f69a35824177d09e47c619bb90e2 \ -i 'video="https://replicate.delivery/pbxt/K0vgq2SZM04FFLEdo4nCTNGd8mINVxkvo53FuFQc0NFEttNv/hiphop1.mp4"'
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/lucataco/vid2openpose@sha256:5ec45ee53f41d21bf9062e0dc3be9f75c201f69a35824177d09e47c619bb90e2
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "video": "https://replicate.delivery/pbxt/K0vgq2SZM04FFLEdo4nCTNGd8mINVxkvo53FuFQc0NFEttNv/hiphop1.mp4" } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2023-12-08T17:10:22.140457Z", "created_at": "2023-12-08T17:06:18.648537Z", "data_removed": false, "error": null, "id": "xzte3wzb3r35so22b647c4owmy", "input": { "video": "https://replicate.delivery/pbxt/K0vgq2SZM04FFLEdo4nCTNGd8mINVxkvo53FuFQc0NFEttNv/hiphop1.mp4" }, "logs": "video rate is OK\nMoviepy - Building video video_resized.mp4.\nMoviePy - Writing audio in video_resizedTEMP_MPY_wvf_snd.mp3\nchunk: 0%| | 0/131 [00:00<?, ?it/s, now=None]\nchunk: 48%|████▊ | 63/131 [00:00<00:00, 629.87it/s, now=None]\nMoviePy - Done.\nMoviepy - Writing video video_resized.mp4\nt: 0%| | 0/148 [00:00<?, ?it/s, now=None]\nt: 8%|▊ | 12/148 [00:00<00:01, 112.23it/s, now=None]\nt: 16%|█▌ | 24/148 [00:00<00:01, 113.19it/s, now=None]\nt: 24%|██▍ | 36/148 [00:00<00:00, 113.35it/s, now=None]\nt: 33%|███▎ | 49/148 [00:00<00:00, 111.51it/s, now=None]\nt: 41%|████ | 61/148 [00:00<00:00, 105.95it/s, now=None]\nt: 49%|████▊ | 72/148 [00:00<00:00, 98.49it/s, now=None] \nt: 55%|█████▌ | 82/148 [00:00<00:00, 90.60it/s, now=None]\nt: 62%|██████▏ | 92/148 [00:00<00:00, 90.11it/s, now=None]\nt: 69%|██████▉ | 102/148 [00:01<00:00, 84.43it/s, now=None]\nt: 75%|███████▌ | 111/148 [00:01<00:00, 84.22it/s, now=None]\nt: 81%|████████ | 120/148 [00:01<00:00, 84.65it/s, now=None]\nt: 87%|████████▋ | 129/148 [00:01<00:00, 84.16it/s, now=None]\nt: 93%|█████████▎| 138/148 [00:01<00:00, 84.15it/s, now=None]\nt: 99%|█████████▉| 147/148 [00:01<00:00, 81.02it/s, now=None]\nMoviepy - Done !\nMoviepy - video ready video_resized.mp4\nvideo resized to 512 height\nvideo fps: 25.0\nbroke the video into frames\nvideo is shorter than the cut value\nset stop frames to: 148\nframe /tmp/kang0.jpg/148: done;\nframe /tmp/kang1.jpg/148: done;\nframe /tmp/kang2.jpg/148: done;\nframe /tmp/kang3.jpg/148: done;\nframe /tmp/kang4.jpg/148: done;\nframe /tmp/kang5.jpg/148: done;\nframe /tmp/kang6.jpg/148: done;\nframe /tmp/kang7.jpg/148: done;\nframe /tmp/kang8.jpg/148: done;\nframe /tmp/kang9.jpg/148: done;\nframe /tmp/kang10.jpg/148: done;\nframe /tmp/kang11.jpg/148: done;\nframe /tmp/kang12.jpg/148: done;\nframe /tmp/kang13.jpg/148: done;\nframe /tmp/kang14.jpg/148: done;\nframe /tmp/kang15.jpg/148: done;\nframe /tmp/kang16.jpg/148: done;\nframe /tmp/kang17.jpg/148: done;\nframe /tmp/kang18.jpg/148: done;\nframe /tmp/kang19.jpg/148: done;\nframe /tmp/kang20.jpg/148: done;\nframe /tmp/kang21.jpg/148: done;\nframe /tmp/kang22.jpg/148: done;\nframe /tmp/kang23.jpg/148: done;\nframe /tmp/kang24.jpg/148: done;\nframe /tmp/kang25.jpg/148: done;\nframe /tmp/kang26.jpg/148: done;\nframe /tmp/kang27.jpg/148: done;\nframe /tmp/kang28.jpg/148: done;\nframe /tmp/kang29.jpg/148: done;\nframe /tmp/kang30.jpg/148: done;\nframe /tmp/kang31.jpg/148: done;\nframe /tmp/kang32.jpg/148: done;\nframe /tmp/kang33.jpg/148: done;\nframe /tmp/kang34.jpg/148: done;\nframe /tmp/kang35.jpg/148: done;\nframe /tmp/kang36.jpg/148: done;\nframe /tmp/kang37.jpg/148: done;\nframe /tmp/kang38.jpg/148: done;\nframe /tmp/kang39.jpg/148: done;\nframe /tmp/kang40.jpg/148: done;\nframe /tmp/kang41.jpg/148: done;\nframe /tmp/kang42.jpg/148: done;\nframe /tmp/kang43.jpg/148: done;\nframe /tmp/kang44.jpg/148: done;\nframe /tmp/kang45.jpg/148: done;\nframe /tmp/kang46.jpg/148: done;\nframe /tmp/kang47.jpg/148: done;\nframe /tmp/kang48.jpg/148: done;\nframe /tmp/kang49.jpg/148: done;\nframe /tmp/kang50.jpg/148: done;\nframe /tmp/kang51.jpg/148: done;\nframe /tmp/kang52.jpg/148: done;\nframe /tmp/kang53.jpg/148: done;\nframe /tmp/kang54.jpg/148: done;\nframe /tmp/kang55.jpg/148: done;\nframe /tmp/kang56.jpg/148: done;\nframe /tmp/kang57.jpg/148: done;\nframe /tmp/kang58.jpg/148: done;\nframe /tmp/kang59.jpg/148: done;\nframe /tmp/kang60.jpg/148: done;\nframe /tmp/kang61.jpg/148: done;\nframe /tmp/kang62.jpg/148: done;\nframe /tmp/kang63.jpg/148: done;\nframe /tmp/kang64.jpg/148: done;\nframe /tmp/kang65.jpg/148: done;\nframe /tmp/kang66.jpg/148: done;\nframe /tmp/kang67.jpg/148: done;\nframe /tmp/kang68.jpg/148: done;\nframe /tmp/kang69.jpg/148: done;\nframe /tmp/kang70.jpg/148: done;\nframe /tmp/kang71.jpg/148: done;\nframe /tmp/kang72.jpg/148: done;\nframe /tmp/kang73.jpg/148: done;\nframe /tmp/kang74.jpg/148: done;\nframe /tmp/kang75.jpg/148: done;\nframe /tmp/kang76.jpg/148: done;\nframe /tmp/kang77.jpg/148: done;\nframe /tmp/kang78.jpg/148: done;\nframe /tmp/kang79.jpg/148: done;\nframe /tmp/kang80.jpg/148: done;\nframe /tmp/kang81.jpg/148: done;\nframe /tmp/kang82.jpg/148: done;\nframe /tmp/kang83.jpg/148: done;\nframe /tmp/kang84.jpg/148: done;\nframe /tmp/kang85.jpg/148: done;\nframe /tmp/kang86.jpg/148: done;\nframe /tmp/kang87.jpg/148: done;\nframe /tmp/kang88.jpg/148: done;\nframe /tmp/kang89.jpg/148: done;\nframe /tmp/kang90.jpg/148: done;\nframe /tmp/kang91.jpg/148: done;\nframe /tmp/kang92.jpg/148: done;\nframe /tmp/kang93.jpg/148: done;\nframe /tmp/kang94.jpg/148: done;\nframe /tmp/kang95.jpg/148: done;\nframe /tmp/kang96.jpg/148: done;\nframe /tmp/kang97.jpg/148: done;\nframe /tmp/kang98.jpg/148: done;\nframe /tmp/kang99.jpg/148: done;\nframe /tmp/kang100.jpg/148: done;\nframe /tmp/kang101.jpg/148: done;\nframe /tmp/kang102.jpg/148: done;\nframe /tmp/kang103.jpg/148: done;\nframe /tmp/kang104.jpg/148: done;\nframe /tmp/kang105.jpg/148: done;\nframe /tmp/kang106.jpg/148: done;\nframe /tmp/kang107.jpg/148: done;\nframe /tmp/kang108.jpg/148: done;\nframe /tmp/kang109.jpg/148: done;\nframe /tmp/kang110.jpg/148: done;\nframe /tmp/kang111.jpg/148: done;\nframe /tmp/kang112.jpg/148: done;\nframe /tmp/kang113.jpg/148: done;\nframe /tmp/kang114.jpg/148: done;\nframe /tmp/kang115.jpg/148: done;\nframe /tmp/kang116.jpg/148: done;\nframe /tmp/kang117.jpg/148: done;\nframe /tmp/kang118.jpg/148: done;\nframe /tmp/kang119.jpg/148: done;\nframe /tmp/kang120.jpg/148: done;\nframe /tmp/kang121.jpg/148: done;\nframe /tmp/kang122.jpg/148: done;\nframe /tmp/kang123.jpg/148: done;\nframe /tmp/kang124.jpg/148: done;\nframe /tmp/kang125.jpg/148: done;\nframe /tmp/kang126.jpg/148: done;\nframe /tmp/kang127.jpg/148: done;\nframe /tmp/kang128.jpg/148: done;\nframe /tmp/kang129.jpg/148: done;\nframe /tmp/kang130.jpg/148: done;\nframe /tmp/kang131.jpg/148: done;\nframe /tmp/kang132.jpg/148: done;\nframe /tmp/kang133.jpg/148: done;\nframe /tmp/kang134.jpg/148: done;\nframe /tmp/kang135.jpg/148: done;\nframe /tmp/kang136.jpg/148: done;\nframe /tmp/kang137.jpg/148: done;\nframe /tmp/kang138.jpg/148: done;\nframe /tmp/kang139.jpg/148: done;\nframe /tmp/kang140.jpg/148: done;\nframe /tmp/kang141.jpg/148: done;\nframe /tmp/kang142.jpg/148: done;\nframe /tmp/kang143.jpg/148: done;\nframe /tmp/kang144.jpg/148: done;\nframe /tmp/kang145.jpg/148: done;\nframe /tmp/kang146.jpg/148: done;\nframe /tmp/kang147.jpg/148: done;\nbuilding video result\nMoviepy - Building video /tmp/openpose_result.mp4.\nMoviepy - Writing video /tmp/openpose_result.mp4\nt: 0%| | 0/149 [00:00<?, ?it/s, now=None]\nt: 16%|█▌ | 24/149 [00:00<00:00, 237.72it/s, now=None]\nt: 32%|███▏ | 48/149 [00:00<00:00, 177.23it/s, now=None]\nt: 46%|████▋ | 69/149 [00:00<00:00, 187.39it/s, now=None]\nt: 60%|██████ | 90/149 [00:00<00:00, 194.26it/s, now=None]\nt: 75%|███████▌ | 112/149 [00:00<00:00, 200.78it/s, now=None]\nt: 89%|████████▉ | 133/149 [00:00<00:00, 199.59it/s, now=None]\n \nMoviepy - Done !\nMoviepy - video ready /tmp/openpose_result.mp4\noutput video: /tmp/openpose_result.mp4", "metrics": { "predict_time": 243.472558, "total_time": 243.49192 }, "output": "https://replicate.delivery/pbxt/dUcgM9DTb0p3EFr26hze93XbRaKywYdDZpDffeeVSbcrffHAJA/openpose_result.mp4", "started_at": "2023-12-08T17:06:18.667899Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/xzte3wzb3r35so22b647c4owmy", "cancel": "https://api.replicate.com/v1/predictions/xzte3wzb3r35so22b647c4owmy/cancel" }, "version": "5ec45ee53f41d21bf9062e0dc3be9f75c201f69a35824177d09e47c619bb90e2" }
Generated invideo rate is OK Moviepy - Building video video_resized.mp4. MoviePy - Writing audio in video_resizedTEMP_MPY_wvf_snd.mp3 chunk: 0%| | 0/131 [00:00<?, ?it/s, now=None] chunk: 48%|████▊ | 63/131 [00:00<00:00, 629.87it/s, now=None] MoviePy - Done. Moviepy - Writing video video_resized.mp4 t: 0%| | 0/148 [00:00<?, ?it/s, now=None] t: 8%|▊ | 12/148 [00:00<00:01, 112.23it/s, now=None] t: 16%|█▌ | 24/148 [00:00<00:01, 113.19it/s, now=None] t: 24%|██▍ | 36/148 [00:00<00:00, 113.35it/s, now=None] t: 33%|███▎ | 49/148 [00:00<00:00, 111.51it/s, now=None] t: 41%|████ | 61/148 [00:00<00:00, 105.95it/s, now=None] t: 49%|████▊ | 72/148 [00:00<00:00, 98.49it/s, now=None] t: 55%|█████▌ | 82/148 [00:00<00:00, 90.60it/s, now=None] t: 62%|██████▏ | 92/148 [00:00<00:00, 90.11it/s, now=None] t: 69%|██████▉ | 102/148 [00:01<00:00, 84.43it/s, now=None] t: 75%|███████▌ | 111/148 [00:01<00:00, 84.22it/s, now=None] t: 81%|████████ | 120/148 [00:01<00:00, 84.65it/s, now=None] t: 87%|████████▋ | 129/148 [00:01<00:00, 84.16it/s, now=None] t: 93%|█████████▎| 138/148 [00:01<00:00, 84.15it/s, now=None] t: 99%|█████████▉| 147/148 [00:01<00:00, 81.02it/s, now=None] Moviepy - Done ! Moviepy - video ready video_resized.mp4 video resized to 512 height video fps: 25.0 broke the video into frames video is shorter than the cut value set stop frames to: 148 frame /tmp/kang0.jpg/148: done; frame /tmp/kang1.jpg/148: done; frame /tmp/kang2.jpg/148: done; frame /tmp/kang3.jpg/148: done; frame /tmp/kang4.jpg/148: done; frame /tmp/kang5.jpg/148: done; frame /tmp/kang6.jpg/148: done; frame /tmp/kang7.jpg/148: done; frame /tmp/kang8.jpg/148: done; frame /tmp/kang9.jpg/148: done; frame /tmp/kang10.jpg/148: done; frame /tmp/kang11.jpg/148: done; frame /tmp/kang12.jpg/148: done; frame /tmp/kang13.jpg/148: done; frame /tmp/kang14.jpg/148: done; frame /tmp/kang15.jpg/148: done; frame /tmp/kang16.jpg/148: done; frame /tmp/kang17.jpg/148: done; frame /tmp/kang18.jpg/148: done; frame /tmp/kang19.jpg/148: done; frame /tmp/kang20.jpg/148: done; frame /tmp/kang21.jpg/148: done; frame /tmp/kang22.jpg/148: done; frame /tmp/kang23.jpg/148: done; frame /tmp/kang24.jpg/148: done; frame /tmp/kang25.jpg/148: done; frame /tmp/kang26.jpg/148: done; frame /tmp/kang27.jpg/148: done; frame /tmp/kang28.jpg/148: done; frame /tmp/kang29.jpg/148: done; frame /tmp/kang30.jpg/148: done; frame /tmp/kang31.jpg/148: done; frame /tmp/kang32.jpg/148: done; frame /tmp/kang33.jpg/148: done; frame /tmp/kang34.jpg/148: done; frame /tmp/kang35.jpg/148: done; frame /tmp/kang36.jpg/148: done; frame /tmp/kang37.jpg/148: done; frame /tmp/kang38.jpg/148: done; frame /tmp/kang39.jpg/148: done; frame /tmp/kang40.jpg/148: done; frame /tmp/kang41.jpg/148: done; frame /tmp/kang42.jpg/148: done; frame /tmp/kang43.jpg/148: done; frame /tmp/kang44.jpg/148: done; frame /tmp/kang45.jpg/148: done; frame /tmp/kang46.jpg/148: done; frame /tmp/kang47.jpg/148: done; frame /tmp/kang48.jpg/148: done; frame /tmp/kang49.jpg/148: done; frame /tmp/kang50.jpg/148: done; frame /tmp/kang51.jpg/148: done; frame /tmp/kang52.jpg/148: done; frame /tmp/kang53.jpg/148: done; frame /tmp/kang54.jpg/148: done; frame /tmp/kang55.jpg/148: done; frame /tmp/kang56.jpg/148: done; frame /tmp/kang57.jpg/148: done; frame /tmp/kang58.jpg/148: done; frame /tmp/kang59.jpg/148: done; frame /tmp/kang60.jpg/148: done; frame /tmp/kang61.jpg/148: done; frame /tmp/kang62.jpg/148: done; frame /tmp/kang63.jpg/148: done; frame /tmp/kang64.jpg/148: done; frame /tmp/kang65.jpg/148: done; frame /tmp/kang66.jpg/148: done; frame /tmp/kang67.jpg/148: done; frame /tmp/kang68.jpg/148: done; frame /tmp/kang69.jpg/148: done; frame /tmp/kang70.jpg/148: done; frame /tmp/kang71.jpg/148: done; frame /tmp/kang72.jpg/148: done; frame /tmp/kang73.jpg/148: done; frame /tmp/kang74.jpg/148: done; frame /tmp/kang75.jpg/148: done; frame /tmp/kang76.jpg/148: done; frame /tmp/kang77.jpg/148: done; frame /tmp/kang78.jpg/148: done; frame /tmp/kang79.jpg/148: done; frame /tmp/kang80.jpg/148: done; frame /tmp/kang81.jpg/148: done; frame /tmp/kang82.jpg/148: done; frame /tmp/kang83.jpg/148: done; frame /tmp/kang84.jpg/148: done; frame /tmp/kang85.jpg/148: done; frame /tmp/kang86.jpg/148: done; frame /tmp/kang87.jpg/148: done; frame /tmp/kang88.jpg/148: done; frame /tmp/kang89.jpg/148: done; frame /tmp/kang90.jpg/148: done; frame /tmp/kang91.jpg/148: done; frame /tmp/kang92.jpg/148: done; frame /tmp/kang93.jpg/148: done; frame /tmp/kang94.jpg/148: done; frame /tmp/kang95.jpg/148: done; frame /tmp/kang96.jpg/148: done; frame /tmp/kang97.jpg/148: done; frame /tmp/kang98.jpg/148: done; frame /tmp/kang99.jpg/148: done; frame /tmp/kang100.jpg/148: done; frame /tmp/kang101.jpg/148: done; frame /tmp/kang102.jpg/148: done; frame /tmp/kang103.jpg/148: done; frame /tmp/kang104.jpg/148: done; frame /tmp/kang105.jpg/148: done; frame /tmp/kang106.jpg/148: done; frame /tmp/kang107.jpg/148: done; frame /tmp/kang108.jpg/148: done; frame /tmp/kang109.jpg/148: done; frame /tmp/kang110.jpg/148: done; frame /tmp/kang111.jpg/148: done; frame /tmp/kang112.jpg/148: done; frame /tmp/kang113.jpg/148: done; frame /tmp/kang114.jpg/148: done; frame /tmp/kang115.jpg/148: done; frame /tmp/kang116.jpg/148: done; frame /tmp/kang117.jpg/148: done; frame /tmp/kang118.jpg/148: done; frame /tmp/kang119.jpg/148: done; frame /tmp/kang120.jpg/148: done; frame /tmp/kang121.jpg/148: done; frame /tmp/kang122.jpg/148: done; frame /tmp/kang123.jpg/148: done; frame /tmp/kang124.jpg/148: done; frame /tmp/kang125.jpg/148: done; frame /tmp/kang126.jpg/148: done; frame /tmp/kang127.jpg/148: done; frame /tmp/kang128.jpg/148: done; frame /tmp/kang129.jpg/148: done; frame /tmp/kang130.jpg/148: done; frame /tmp/kang131.jpg/148: done; frame /tmp/kang132.jpg/148: done; frame /tmp/kang133.jpg/148: done; frame /tmp/kang134.jpg/148: done; frame /tmp/kang135.jpg/148: done; frame /tmp/kang136.jpg/148: done; frame /tmp/kang137.jpg/148: done; frame /tmp/kang138.jpg/148: done; frame /tmp/kang139.jpg/148: done; frame /tmp/kang140.jpg/148: done; frame /tmp/kang141.jpg/148: done; frame /tmp/kang142.jpg/148: done; frame /tmp/kang143.jpg/148: done; frame /tmp/kang144.jpg/148: done; frame /tmp/kang145.jpg/148: done; frame /tmp/kang146.jpg/148: done; frame /tmp/kang147.jpg/148: done; building video result Moviepy - Building video /tmp/openpose_result.mp4. Moviepy - Writing video /tmp/openpose_result.mp4 t: 0%| | 0/149 [00:00<?, ?it/s, now=None] t: 16%|█▌ | 24/149 [00:00<00:00, 237.72it/s, now=None] t: 32%|███▏ | 48/149 [00:00<00:00, 177.23it/s, now=None] t: 46%|████▋ | 69/149 [00:00<00:00, 187.39it/s, now=None] t: 60%|██████ | 90/149 [00:00<00:00, 194.26it/s, now=None] t: 75%|███████▌ | 112/149 [00:00<00:00, 200.78it/s, now=None] t: 89%|████████▉ | 133/149 [00:00<00:00, 199.59it/s, now=None] Moviepy - Done ! Moviepy - video ready /tmp/openpose_result.mp4 output video: /tmp/openpose_result.mp4
Want to make some of these yourself?
Run this model