chamuditha4 / vidx
(Updated 10 months ago)
- Public
- 65 runs
-
L40S
Prediction
chamuditha4/vidx:e8b1309ec9613f633bb2dbc346fbccfbd058c0166aea8d37f90233548b9b4a06IDqge2ftkxfxrgm0chbcq945yn3mStatusSucceededSourceWebHardwareA40Total durationCreatedInput
- prompt
- panda playing a guitar
- input_video
- guidance_scale
- 2.5
- negative_prompt
- bad quality, worse quality
- num_inference_steps
- 20
{ "prompt": "panda playing a guitar", "input_video": "https://replicate.delivery/pbxt/LSJN0aPwz6gSbi6CFkUDtwxEmc7SHkd5a15ndidkzzWxg4by/animatediff-vid2vid-input-1.mp4", "guidance_scale": 2.5, "negative_prompt": "bad quality, worse quality", "num_inference_steps": 20 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run chamuditha4/vidx using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "chamuditha4/vidx:e8b1309ec9613f633bb2dbc346fbccfbd058c0166aea8d37f90233548b9b4a06", { input: { prompt: "panda playing a guitar", input_video: "https://replicate.delivery/pbxt/LSJN0aPwz6gSbi6CFkUDtwxEmc7SHkd5a15ndidkzzWxg4by/animatediff-vid2vid-input-1.mp4", guidance_scale: 2.5, negative_prompt: "bad quality, worse quality", num_inference_steps: 20 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run chamuditha4/vidx using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "chamuditha4/vidx:e8b1309ec9613f633bb2dbc346fbccfbd058c0166aea8d37f90233548b9b4a06", input={ "prompt": "panda playing a guitar", "input_video": "https://replicate.delivery/pbxt/LSJN0aPwz6gSbi6CFkUDtwxEmc7SHkd5a15ndidkzzWxg4by/animatediff-vid2vid-input-1.mp4", "guidance_scale": 2.5, "negative_prompt": "bad quality, worse quality", "num_inference_steps": 20 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run chamuditha4/vidx 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": "chamuditha4/vidx:e8b1309ec9613f633bb2dbc346fbccfbd058c0166aea8d37f90233548b9b4a06", "input": { "prompt": "panda playing a guitar", "input_video": "https://replicate.delivery/pbxt/LSJN0aPwz6gSbi6CFkUDtwxEmc7SHkd5a15ndidkzzWxg4by/animatediff-vid2vid-input-1.mp4", "guidance_scale": 2.5, "negative_prompt": "bad quality, worse quality", "num_inference_steps": 20 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-08-16T12:35:26.606323Z", "created_at": "2024-08-16T12:34:19.135000Z", "data_removed": false, "error": null, "id": "qge2ftkxfxrgm0chbcq945yn3m", "input": { "prompt": "panda playing a guitar", "input_video": "https://replicate.delivery/pbxt/LSJN0aPwz6gSbi6CFkUDtwxEmc7SHkd5a15ndidkzzWxg4by/animatediff-vid2vid-input-1.mp4", "guidance_scale": 2.5, "negative_prompt": "bad quality, worse quality", "num_inference_steps": 20 }, "logs": "/root/.pyenv/versions/3.10.14/lib/python3.10/site-packages/torch/functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3483.)\nreturn _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]\nLoading video: /tmp/tmpm6yfx8smanimatediff-vid2vid-input-1.mp4\nInput video FPS: 10.0\n 0%| | 0/24 [00:00<?, ?it/s]\n 4%|▍ | 1/24 [00:01<00:29, 1.30s/it]\n 8%|▊ | 2/24 [00:01<00:15, 1.46it/s]\n 12%|█▎ | 3/24 [00:01<00:10, 2.05it/s]\n 17%|█▋ | 4/24 [00:02<00:07, 2.52it/s]\n 21%|██ | 5/24 [00:02<00:06, 2.90it/s]\n 25%|██▌ | 6/24 [00:02<00:05, 3.17it/s]\n 29%|██▉ | 7/24 [00:02<00:05, 3.37it/s]\n 33%|███▎ | 8/24 [00:03<00:04, 3.52it/s]\n 38%|███▊ | 9/24 [00:03<00:04, 3.62it/s]\n 42%|████▏ | 10/24 [00:03<00:03, 3.70it/s]\n 46%|████▌ | 11/24 [00:03<00:03, 3.75it/s]\n 50%|█████ | 12/24 [00:04<00:03, 3.79it/s]\n 54%|█████▍ | 13/24 [00:04<00:02, 3.83it/s]\n 58%|█████▊ | 14/24 [00:04<00:02, 3.85it/s]\n 62%|██████▎ | 15/24 [00:04<00:02, 3.85it/s]\n 67%|██████▋ | 16/24 [00:05<00:02, 3.86it/s]\n 71%|███████ | 17/24 [00:05<00:01, 3.88it/s]\n 75%|███████▌ | 18/24 [00:05<00:01, 3.89it/s]\n 79%|███████▉ | 19/24 [00:05<00:01, 3.89it/s]\n 83%|████████▎ | 20/24 [00:06<00:01, 3.86it/s]\n 88%|████████▊ | 21/24 [00:06<00:00, 3.87it/s]\n 92%|█████████▏| 22/24 [00:06<00:00, 3.88it/s]\n 96%|█████████▌| 23/24 [00:06<00:00, 3.89it/s]\n100%|██████████| 24/24 [00:07<00:00, 3.90it/s]\n100%|██████████| 24/24 [00:07<00:00, 3.33it/s]\nDepth extracted: 24 frames\n 0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:01<00:20, 1.09s/it]\n 10%|█ | 2/20 [00:02<00:19, 1.07s/it]\n 15%|█▌ | 3/20 [00:03<00:17, 1.06s/it]\n 20%|██ | 4/20 [00:04<00:16, 1.05s/it]\n 25%|██▌ | 5/20 [00:05<00:15, 1.05s/it]\n 30%|███ | 6/20 [00:06<00:14, 1.05s/it]\n 35%|███▌ | 7/20 [00:07<00:13, 1.05s/it]\n 40%|████ | 8/20 [00:08<00:12, 1.05s/it]\n 45%|████▌ | 9/20 [00:09<00:11, 1.05s/it]\n 50%|█████ | 10/20 [00:10<00:10, 1.05s/it]\n 55%|█████▌ | 11/20 [00:11<00:09, 1.05s/it]\n 60%|██████ | 12/20 [00:12<00:08, 1.05s/it]\n 65%|██████▌ | 13/20 [00:13<00:07, 1.05s/it]\n 70%|███████ | 14/20 [00:14<00:06, 1.05s/it]\n 75%|███████▌ | 15/20 [00:15<00:05, 1.06s/it]\n 80%|████████ | 16/20 [00:16<00:04, 1.06s/it]\n 85%|████████▌ | 17/20 [00:17<00:03, 1.06s/it]\n 90%|█████████ | 18/20 [00:18<00:02, 1.06s/it]\n 95%|█████████▌| 19/20 [00:20<00:01, 1.06s/it]\n100%|██████████| 20/20 [00:21<00:00, 1.06s/it]\n100%|██████████| 20/20 [00:21<00:00, 1.06s/it]", "metrics": { "predict_time": 35.786176106, "total_time": 67.471323 }, "output": "https://replicate.delivery/pbxt/sG4j3HPDmr4CPJpo4fBkVq7CPoHxK7ULaicM6P6kipyGznpJA/output.mp4", "started_at": "2024-08-16T12:34:50.820147Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/qge2ftkxfxrgm0chbcq945yn3m", "cancel": "https://api.replicate.com/v1/predictions/qge2ftkxfxrgm0chbcq945yn3m/cancel" }, "version": "e8b1309ec9613f633bb2dbc346fbccfbd058c0166aea8d37f90233548b9b4a06" }
Generated in/root/.pyenv/versions/3.10.14/lib/python3.10/site-packages/torch/functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3483.) return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined] Loading video: /tmp/tmpm6yfx8smanimatediff-vid2vid-input-1.mp4 Input video FPS: 10.0 0%| | 0/24 [00:00<?, ?it/s] 4%|▍ | 1/24 [00:01<00:29, 1.30s/it] 8%|▊ | 2/24 [00:01<00:15, 1.46it/s] 12%|█▎ | 3/24 [00:01<00:10, 2.05it/s] 17%|█▋ | 4/24 [00:02<00:07, 2.52it/s] 21%|██ | 5/24 [00:02<00:06, 2.90it/s] 25%|██▌ | 6/24 [00:02<00:05, 3.17it/s] 29%|██▉ | 7/24 [00:02<00:05, 3.37it/s] 33%|███▎ | 8/24 [00:03<00:04, 3.52it/s] 38%|███▊ | 9/24 [00:03<00:04, 3.62it/s] 42%|████▏ | 10/24 [00:03<00:03, 3.70it/s] 46%|████▌ | 11/24 [00:03<00:03, 3.75it/s] 50%|█████ | 12/24 [00:04<00:03, 3.79it/s] 54%|█████▍ | 13/24 [00:04<00:02, 3.83it/s] 58%|█████▊ | 14/24 [00:04<00:02, 3.85it/s] 62%|██████▎ | 15/24 [00:04<00:02, 3.85it/s] 67%|██████▋ | 16/24 [00:05<00:02, 3.86it/s] 71%|███████ | 17/24 [00:05<00:01, 3.88it/s] 75%|███████▌ | 18/24 [00:05<00:01, 3.89it/s] 79%|███████▉ | 19/24 [00:05<00:01, 3.89it/s] 83%|████████▎ | 20/24 [00:06<00:01, 3.86it/s] 88%|████████▊ | 21/24 [00:06<00:00, 3.87it/s] 92%|█████████▏| 22/24 [00:06<00:00, 3.88it/s] 96%|█████████▌| 23/24 [00:06<00:00, 3.89it/s] 100%|██████████| 24/24 [00:07<00:00, 3.90it/s] 100%|██████████| 24/24 [00:07<00:00, 3.33it/s] Depth extracted: 24 frames 0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:01<00:20, 1.09s/it] 10%|█ | 2/20 [00:02<00:19, 1.07s/it] 15%|█▌ | 3/20 [00:03<00:17, 1.06s/it] 20%|██ | 4/20 [00:04<00:16, 1.05s/it] 25%|██▌ | 5/20 [00:05<00:15, 1.05s/it] 30%|███ | 6/20 [00:06<00:14, 1.05s/it] 35%|███▌ | 7/20 [00:07<00:13, 1.05s/it] 40%|████ | 8/20 [00:08<00:12, 1.05s/it] 45%|████▌ | 9/20 [00:09<00:11, 1.05s/it] 50%|█████ | 10/20 [00:10<00:10, 1.05s/it] 55%|█████▌ | 11/20 [00:11<00:09, 1.05s/it] 60%|██████ | 12/20 [00:12<00:08, 1.05s/it] 65%|██████▌ | 13/20 [00:13<00:07, 1.05s/it] 70%|███████ | 14/20 [00:14<00:06, 1.05s/it] 75%|███████▌ | 15/20 [00:15<00:05, 1.06s/it] 80%|████████ | 16/20 [00:16<00:04, 1.06s/it] 85%|████████▌ | 17/20 [00:17<00:03, 1.06s/it] 90%|█████████ | 18/20 [00:18<00:02, 1.06s/it] 95%|█████████▌| 19/20 [00:20<00:01, 1.06s/it] 100%|██████████| 20/20 [00:21<00:00, 1.06s/it] 100%|██████████| 20/20 [00:21<00:00, 1.06s/it]
Prediction
chamuditha4/vidx:59a6f7db95c65e4c30890f5fbe3418f837daa673d1ce57eb965118d904eae7abIDhem6er9dhdrgm0chbed95n8etrStatusSucceededSourceWebHardwareA40Total durationCreatedInput
- prompt
- panda playing a guitar, high quality
- input_video
- guidance_scale
- 1.56
- negative_prompt
- bad quality, worse quality, blur
- num_inference_steps
- 10
{ "prompt": "panda playing a guitar, high quality", "input_video": "https://replicate.delivery/pbxt/LSJN0aPwz6gSbi6CFkUDtwxEmc7SHkd5a15ndidkzzWxg4by/animatediff-vid2vid-input-1.mp4", "guidance_scale": 1.56, "negative_prompt": "bad quality, worse quality, blur", "num_inference_steps": 10 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run chamuditha4/vidx using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "chamuditha4/vidx:59a6f7db95c65e4c30890f5fbe3418f837daa673d1ce57eb965118d904eae7ab", { input: { prompt: "panda playing a guitar, high quality", input_video: "https://replicate.delivery/pbxt/LSJN0aPwz6gSbi6CFkUDtwxEmc7SHkd5a15ndidkzzWxg4by/animatediff-vid2vid-input-1.mp4", guidance_scale: 1.56, negative_prompt: "bad quality, worse quality, blur", num_inference_steps: 10 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run chamuditha4/vidx using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "chamuditha4/vidx:59a6f7db95c65e4c30890f5fbe3418f837daa673d1ce57eb965118d904eae7ab", input={ "prompt": "panda playing a guitar, high quality", "input_video": "https://replicate.delivery/pbxt/LSJN0aPwz6gSbi6CFkUDtwxEmc7SHkd5a15ndidkzzWxg4by/animatediff-vid2vid-input-1.mp4", "guidance_scale": 1.56, "negative_prompt": "bad quality, worse quality, blur", "num_inference_steps": 10 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run chamuditha4/vidx 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": "chamuditha4/vidx:59a6f7db95c65e4c30890f5fbe3418f837daa673d1ce57eb965118d904eae7ab", "input": { "prompt": "panda playing a guitar, high quality", "input_video": "https://replicate.delivery/pbxt/LSJN0aPwz6gSbi6CFkUDtwxEmc7SHkd5a15ndidkzzWxg4by/animatediff-vid2vid-input-1.mp4", "guidance_scale": 1.56, "negative_prompt": "bad quality, worse quality, blur", "num_inference_steps": 10 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-08-16T14:32:21.769634Z", "created_at": "2024-08-16T14:31:56.555000Z", "data_removed": false, "error": null, "id": "hem6er9dhdrgm0chbed95n8etr", "input": { "prompt": "panda playing a guitar, high quality", "input_video": "https://replicate.delivery/pbxt/LSJN0aPwz6gSbi6CFkUDtwxEmc7SHkd5a15ndidkzzWxg4by/animatediff-vid2vid-input-1.mp4", "guidance_scale": 1.56, "negative_prompt": "bad quality, worse quality, blur", "num_inference_steps": 10 }, "logs": "Loading video: /tmp/tmp04gzipp3animatediff-vid2vid-input-1.mp4\nInput video FPS: 10.0\n 0%| | 0/24 [00:00<?, ?it/s]\n 4%|▍ | 1/24 [00:00<00:07, 3.11it/s]\n 8%|▊ | 2/24 [00:00<00:06, 3.55it/s]\n 12%|█▎ | 3/24 [00:00<00:05, 3.76it/s]\n 17%|█▋ | 4/24 [00:01<00:05, 3.88it/s]\n 21%|██ | 5/24 [00:01<00:04, 3.94it/s]\n 25%|██▌ | 6/24 [00:01<00:04, 3.95it/s]\n 29%|██▉ | 7/24 [00:01<00:04, 3.96it/s]\n 33%|███▎ | 8/24 [00:02<00:04, 3.96it/s]\n 38%|███▊ | 9/24 [00:02<00:03, 3.96it/s]\n 42%|████▏ | 10/24 [00:02<00:03, 3.96it/s]\n 46%|████▌ | 11/24 [00:02<00:03, 3.97it/s]\n 50%|█████ | 12/24 [00:03<00:03, 3.99it/s]\n 54%|█████▍ | 13/24 [00:03<00:02, 4.00it/s]\n 58%|█████▊ | 14/24 [00:03<00:02, 4.02it/s]\n 62%|██████▎ | 15/24 [00:03<00:02, 4.01it/s]\n 67%|██████▋ | 16/24 [00:04<00:02, 4.00it/s]\n 71%|███████ | 17/24 [00:04<00:01, 4.01it/s]\n 75%|███████▌ | 18/24 [00:04<00:01, 4.03it/s]\n 79%|███████▉ | 19/24 [00:04<00:01, 4.01it/s]\n 83%|████████▎ | 20/24 [00:05<00:01, 4.00it/s]\n 88%|████████▊ | 21/24 [00:05<00:00, 4.02it/s]\n 92%|█████████▏| 22/24 [00:05<00:00, 4.00it/s]\n 96%|█████████▌| 23/24 [00:05<00:00, 4.00it/s]\n100%|██████████| 24/24 [00:06<00:00, 3.99it/s]\n100%|██████████| 24/24 [00:06<00:00, 3.95it/s]\nDepth extracted: 24 frames\n 0%| | 0/10 [00:00<?, ?it/s]\n 10%|█ | 1/10 [00:01<00:09, 1.05s/it]\n 20%|██ | 2/10 [00:02<00:08, 1.05s/it]\n 30%|███ | 3/10 [00:03<00:07, 1.06s/it]\n 40%|████ | 4/10 [00:04<00:06, 1.06s/it]\n 50%|█████ | 5/10 [00:05<00:05, 1.06s/it]\n 60%|██████ | 6/10 [00:06<00:04, 1.06s/it]\n 70%|███████ | 7/10 [00:07<00:03, 1.06s/it]\n 80%|████████ | 8/10 [00:08<00:02, 1.06s/it]\n 90%|█████████ | 9/10 [00:09<00:01, 1.06s/it]\n100%|██████████| 10/10 [00:10<00:00, 1.06s/it]\n100%|██████████| 10/10 [00:10<00:00, 1.06s/it]", "metrics": { "predict_time": 25.112859975, "total_time": 25.214634 }, "output": "https://replicate.delivery/pbxt/GASo4QT3wu5jPhPXZTyGgJ6veyc5Z3UM2zwjWW1lSpc6popJA/output.mp4", "started_at": "2024-08-16T14:31:56.656774Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/hem6er9dhdrgm0chbed95n8etr", "cancel": "https://api.replicate.com/v1/predictions/hem6er9dhdrgm0chbed95n8etr/cancel" }, "version": "59a6f7db95c65e4c30890f5fbe3418f837daa673d1ce57eb965118d904eae7ab" }
Generated inLoading video: /tmp/tmp04gzipp3animatediff-vid2vid-input-1.mp4 Input video FPS: 10.0 0%| | 0/24 [00:00<?, ?it/s] 4%|▍ | 1/24 [00:00<00:07, 3.11it/s] 8%|▊ | 2/24 [00:00<00:06, 3.55it/s] 12%|█▎ | 3/24 [00:00<00:05, 3.76it/s] 17%|█▋ | 4/24 [00:01<00:05, 3.88it/s] 21%|██ | 5/24 [00:01<00:04, 3.94it/s] 25%|██▌ | 6/24 [00:01<00:04, 3.95it/s] 29%|██▉ | 7/24 [00:01<00:04, 3.96it/s] 33%|███▎ | 8/24 [00:02<00:04, 3.96it/s] 38%|███▊ | 9/24 [00:02<00:03, 3.96it/s] 42%|████▏ | 10/24 [00:02<00:03, 3.96it/s] 46%|████▌ | 11/24 [00:02<00:03, 3.97it/s] 50%|█████ | 12/24 [00:03<00:03, 3.99it/s] 54%|█████▍ | 13/24 [00:03<00:02, 4.00it/s] 58%|█████▊ | 14/24 [00:03<00:02, 4.02it/s] 62%|██████▎ | 15/24 [00:03<00:02, 4.01it/s] 67%|██████▋ | 16/24 [00:04<00:02, 4.00it/s] 71%|███████ | 17/24 [00:04<00:01, 4.01it/s] 75%|███████▌ | 18/24 [00:04<00:01, 4.03it/s] 79%|███████▉ | 19/24 [00:04<00:01, 4.01it/s] 83%|████████▎ | 20/24 [00:05<00:01, 4.00it/s] 88%|████████▊ | 21/24 [00:05<00:00, 4.02it/s] 92%|█████████▏| 22/24 [00:05<00:00, 4.00it/s] 96%|█████████▌| 23/24 [00:05<00:00, 4.00it/s] 100%|██████████| 24/24 [00:06<00:00, 3.99it/s] 100%|██████████| 24/24 [00:06<00:00, 3.95it/s] Depth extracted: 24 frames 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:01<00:09, 1.05s/it] 20%|██ | 2/10 [00:02<00:08, 1.05s/it] 30%|███ | 3/10 [00:03<00:07, 1.06s/it] 40%|████ | 4/10 [00:04<00:06, 1.06s/it] 50%|█████ | 5/10 [00:05<00:05, 1.06s/it] 60%|██████ | 6/10 [00:06<00:04, 1.06s/it] 70%|███████ | 7/10 [00:07<00:03, 1.06s/it] 80%|████████ | 8/10 [00:08<00:02, 1.06s/it] 90%|█████████ | 9/10 [00:09<00:01, 1.06s/it] 100%|██████████| 10/10 [00:10<00:00, 1.06s/it] 100%|██████████| 10/10 [00:10<00:00, 1.06s/it]
Prediction
chamuditha4/vidx:6165f47a0797b97fb0655b4316e8c21d4ebe781d827588d13fcfc964ebc4ed35IDansbnxxgc9rgm0chbhgb00dyx4StatusSucceededSourceWebHardwareA40Total durationCreatedInput
- prompt
- dog on ice
- input_video
- guidance_scale
- 7.5
- negative_prompt
- (deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, UnrealisticDream
- num_inference_steps
- 20
{ "prompt": "dog on ice", "input_video": "https://replicate.delivery/pbxt/LSOTtdB4F2NiU6XS1rJswsf8mLe0y3Q0apXHDH1MIOAzk7EI/raccoon_looking_at_the_camera_seed1671809463513170.mp4", "guidance_scale": 7.5, "negative_prompt": "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, UnrealisticDream", "num_inference_steps": 20 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run chamuditha4/vidx using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "chamuditha4/vidx:6165f47a0797b97fb0655b4316e8c21d4ebe781d827588d13fcfc964ebc4ed35", { input: { prompt: "dog on ice", input_video: "https://replicate.delivery/pbxt/LSOTtdB4F2NiU6XS1rJswsf8mLe0y3Q0apXHDH1MIOAzk7EI/raccoon_looking_at_the_camera_seed1671809463513170.mp4", guidance_scale: 7.5, negative_prompt: "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, UnrealisticDream", num_inference_steps: 20 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run chamuditha4/vidx using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "chamuditha4/vidx:6165f47a0797b97fb0655b4316e8c21d4ebe781d827588d13fcfc964ebc4ed35", input={ "prompt": "dog on ice", "input_video": "https://replicate.delivery/pbxt/LSOTtdB4F2NiU6XS1rJswsf8mLe0y3Q0apXHDH1MIOAzk7EI/raccoon_looking_at_the_camera_seed1671809463513170.mp4", "guidance_scale": 7.5, "negative_prompt": "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, UnrealisticDream", "num_inference_steps": 20 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run chamuditha4/vidx 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": "chamuditha4/vidx:6165f47a0797b97fb0655b4316e8c21d4ebe781d827588d13fcfc964ebc4ed35", "input": { "prompt": "dog on ice", "input_video": "https://replicate.delivery/pbxt/LSOTtdB4F2NiU6XS1rJswsf8mLe0y3Q0apXHDH1MIOAzk7EI/raccoon_looking_at_the_camera_seed1671809463513170.mp4", "guidance_scale": 7.5, "negative_prompt": "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, UnrealisticDream", "num_inference_steps": 20 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-08-16T18:09:49.823109Z", "created_at": "2024-08-16T18:08:46.178000Z", "data_removed": false, "error": null, "id": "ansbnxxgc9rgm0chbhgb00dyx4", "input": { "prompt": "dog on ice", "input_video": "https://replicate.delivery/pbxt/LSOTtdB4F2NiU6XS1rJswsf8mLe0y3Q0apXHDH1MIOAzk7EI/raccoon_looking_at_the_camera_seed1671809463513170.mp4", "guidance_scale": 7.5, "negative_prompt": "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, UnrealisticDream", "num_inference_steps": 20 }, "logs": "0%| | 0/10 [00:00<?, ?it/s]\n 10%|█ | 1/10 [00:05<00:52, 5.85s/it]\n 20%|██ | 2/10 [00:10<00:41, 5.22s/it]\n 30%|███ | 3/10 [00:15<00:35, 5.02s/it]\n 40%|████ | 4/10 [00:20<00:29, 4.94s/it]\n 50%|█████ | 5/10 [00:25<00:24, 4.89s/it]\n 60%|██████ | 6/10 [00:29<00:19, 4.86s/it]\n 70%|███████ | 7/10 [00:34<00:14, 4.85s/it]\n 80%|████████ | 8/10 [00:39<00:09, 4.84s/it]\n 90%|█████████ | 9/10 [00:44<00:04, 4.83s/it]\n100%|██████████| 10/10 [00:49<00:00, 4.83s/it]\n100%|██████████| 10/10 [00:49<00:00, 4.91s/it]", "metrics": { "predict_time": 63.534549202, "total_time": 63.645109 }, "output": "https://replicate.delivery/pbxt/mh4GGIvGlyq7FV9gr4fZ5UGTqVr4XuJa07aekhsCsXOsfommA/output.mp4", "started_at": "2024-08-16T18:08:46.288560Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ansbnxxgc9rgm0chbhgb00dyx4", "cancel": "https://api.replicate.com/v1/predictions/ansbnxxgc9rgm0chbhgb00dyx4/cancel" }, "version": "6165f47a0797b97fb0655b4316e8c21d4ebe781d827588d13fcfc964ebc4ed35" }
Generated in0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:05<00:52, 5.85s/it] 20%|██ | 2/10 [00:10<00:41, 5.22s/it] 30%|███ | 3/10 [00:15<00:35, 5.02s/it] 40%|████ | 4/10 [00:20<00:29, 4.94s/it] 50%|█████ | 5/10 [00:25<00:24, 4.89s/it] 60%|██████ | 6/10 [00:29<00:19, 4.86s/it] 70%|███████ | 7/10 [00:34<00:14, 4.85s/it] 80%|████████ | 8/10 [00:39<00:09, 4.84s/it] 90%|█████████ | 9/10 [00:44<00:04, 4.83s/it] 100%|██████████| 10/10 [00:49<00:00, 4.83s/it] 100%|██████████| 10/10 [00:49<00:00, 4.91s/it]
Want to make some of these yourself?
Run this model