zsxkib / framepack
🕹️FramePack: video diffusion that feels like image diffusion🎥
Prediction
zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409fIDh5efyzw6w9rj40cpsyrv7wkh80StatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- steps
- 25
- prompt
- Breakdancing
- mp4_crf
- 23
- cfg_scale
- 1
- cfg_rescale
- 0
- input_image
- NWE4MWNmNGEtY2EzZi00YTQwLWE5MjctYmIzNjM1NTA2NmYx
- use_teacache
- negative_prompt
- latent_window_size
- 9
- distilled_cfg_scale
- 10
- total_video_length_seconds
- 3
{ "steps": 25, "prompt": "Breakdancing", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://api.replicate.com/v1/files/NWE4MWNmNGEtY2EzZi00YTQwLWE5MjctYmIzNjM1NTA2NmYx", "use_teacache": true, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 3 }
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 zsxkib/framepack using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f", { input: { steps: 25, prompt: "Breakdancing", mp4_crf: 23, cfg_scale: 1, cfg_rescale: 0, input_image: "https://api.replicate.com/v1/files/NWE4MWNmNGEtY2EzZi00YTQwLWE5MjctYmIzNjM1NTA2NmYx", use_teacache: true, negative_prompt: "", latent_window_size: 9, distilled_cfg_scale: 10, total_video_length_seconds: 3 } } ); // 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 zsxkib/framepack using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f", input={ "steps": 25, "prompt": "Breakdancing", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://api.replicate.com/v1/files/NWE4MWNmNGEtY2EzZi00YTQwLWE5MjctYmIzNjM1NTA2NmYx", "use_teacache": True, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 3 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run zsxkib/framepack 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": "zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f", "input": { "steps": 25, "prompt": "Breakdancing", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://api.replicate.com/v1/files/NWE4MWNmNGEtY2EzZi00YTQwLWE5MjctYmIzNjM1NTA2NmYx", "use_teacache": true, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 3 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-05-14T16:50:04.552738Z", "created_at": "2025-05-14T16:47:20.290000Z", "data_removed": false, "error": null, "id": "h5efyzw6w9rj40cpsyrv7wkh80", "input": { "steps": 25, "prompt": "Breakdancing", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://api.replicate.com/v1/files/NWE4MWNmNGEtY2EzZi00YTQwLWE5MjctYmIzNjM1NTA2NmYx", "use_teacache": true, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 3 }, "logs": "Using random seed: 454900331\nEncoding text prompts...\nProcessing input image...\nEncoding initial image with VAE...\nEncoding image with CLIP Vision model...\nStarting video generation loop...\nProcessing section 1/2 (padding: 1), is_last_section_logic: False\nSampling step 1/25 for section 1\n 0%| | 0/25 [00:00<?, ?it/s]\nSampling step 2/25 for section 1\n 4%|▍ | 1/25 [00:02<00:49, 2.07s/it]\nSampling step 3/25 for section 1\n 8%|▊ | 2/25 [00:05<01:00, 2.63s/it]\nSampling step 4/25 for section 1\n 12%|█▏ | 3/25 [00:08<01:01, 2.81s/it]\nSampling step 5/25 for section 1\n 16%|█▌ | 4/25 [00:09<00:43, 2.08s/it]\nSampling step 6/25 for section 1\n 20%|██ | 5/25 [00:11<00:41, 2.08s/it]\nSampling step 7/25 for section 1\nSampling step 8/25 for section 1\n 24%|██▍ | 6/25 [00:12<00:32, 1.70s/it]\nSampling step 9/25 for section 1\n 32%|███▏ | 8/25 [00:14<00:23, 1.38s/it]\nSampling step 10/25 for section 1\nSampling step 11/25 for section 1\n 36%|███▌ | 9/25 [00:15<00:20, 1.27s/it]\nSampling step 12/25 for section 1\n 44%|████▍ | 11/25 [00:17<00:16, 1.17s/it]\nSampling step 13/25 for section 1\nSampling step 14/25 for section 1\n 48%|████▊ | 12/25 [00:18<00:14, 1.12s/it]\nSampling step 15/25 for section 1\n 56%|█████▌ | 14/25 [00:20<00:12, 1.09s/it]\nSampling step 16/25 for section 1\nSampling step 17/25 for section 1\n 60%|██████ | 15/25 [00:21<00:10, 1.06s/it]\nSampling step 18/25 for section 1\n 68%|██████▊ | 17/25 [00:23<00:08, 1.05s/it]\nSampling step 19/25 for section 1\n 72%|███████▏ | 18/25 [00:24<00:07, 1.03s/it]\nSampling step 20/25 for section 1\n 76%|███████▌ | 19/25 [00:26<00:07, 1.28s/it]\nSampling step 21/25 for section 1\n 80%|████████ | 20/25 [00:27<00:05, 1.20s/it]\nSampling step 22/25 for section 1\n 84%|████████▍ | 21/25 [00:29<00:05, 1.43s/it]\nSampling step 23/25 for section 1\n 88%|████████▊ | 22/25 [00:30<00:03, 1.30s/it]\nSampling step 24/25 for section 1\n 92%|█████████▏| 23/25 [00:32<00:03, 1.52s/it]\nSampling step 25/25 for section 1\n 96%|█████████▌| 24/25 [00:33<00:01, 1.36s/it]\n100%|██████████| 25/25 [00:35<00:00, 1.57s/it]\n100%|██████████| 25/25 [00:35<00:00, 1.42s/it]\nUpdated video saved: /tmp/tmp_9haunem/250514_164835_843_6020_video.mp4, total pixel frames: 33\nProcessing section 2/2 (padding: 0), is_last_section_logic: True\nSampling step 1/25 for section 2\n 0%| | 0/25 [00:00<?, ?it/s]\nSampling step 2/25 for section 2\n 4%|▍ | 1/25 [00:02<00:49, 2.08s/it]\nSampling step 3/25 for section 2\n 8%|▊ | 2/25 [00:05<01:00, 2.64s/it]\nSampling step 4/25 for section 2\n 12%|█▏ | 3/25 [00:08<01:02, 2.82s/it]\nSampling step 5/25 for section 2\n 16%|█▌ | 4/25 [00:09<00:43, 2.08s/it]\nSampling step 6/25 for section 2\n 20%|██ | 5/25 [00:11<00:41, 2.08s/it]\nSampling step 7/25 for section 2\nSampling step 8/25 for section 2\n 24%|██▍ | 6/25 [00:12<00:32, 1.70s/it]\nSampling step 9/25 for section 2\n 32%|███▏ | 8/25 [00:14<00:23, 1.38s/it]\nSampling step 10/25 for section 2\nSampling step 11/25 for section 2\n 36%|███▌ | 9/25 [00:15<00:20, 1.27s/it]\nSampling step 12/25 for section 2\n 44%|████▍ | 11/25 [00:17<00:16, 1.17s/it]\nSampling step 13/25 for section 2\nSampling step 14/25 for section 2\n 48%|████▊ | 12/25 [00:18<00:14, 1.12s/it]\nSampling step 15/25 for section 2\n 56%|█████▌ | 14/25 [00:20<00:12, 1.09s/it]\nSampling step 16/25 for section 2\nSampling step 17/25 for section 2\n 60%|██████ | 15/25 [00:21<00:10, 1.06s/it]\nSampling step 18/25 for section 2\n 68%|██████▊ | 17/25 [00:23<00:08, 1.06s/it]\nSampling step 19/25 for section 2\n 72%|███████▏ | 18/25 [00:24<00:07, 1.03s/it]\nSampling step 20/25 for section 2\n 76%|███████▌ | 19/25 [00:26<00:07, 1.28s/it]\nSampling step 21/25 for section 2\n 80%|████████ | 20/25 [00:27<00:05, 1.20s/it]\nSampling step 22/25 for section 2\n 84%|████████▍ | 21/25 [00:29<00:05, 1.44s/it]\nSampling step 23/25 for section 2\n 88%|████████▊ | 22/25 [00:32<00:05, 1.87s/it]\nSampling step 24/25 for section 2\n 92%|█████████▏| 23/25 [00:35<00:04, 2.20s/it]\nSampling step 25/25 for section 2\n 96%|█████████▌| 24/25 [00:36<00:01, 1.84s/it]\n100%|██████████| 25/25 [00:38<00:00, 1.91s/it]\n100%|██████████| 25/25 [00:38<00:00, 1.54s/it]\nUpdated video saved: /tmp/tmp_9haunem/250514_164835_843_6020_video.mp4, total pixel frames: 73", "metrics": { "predict_time": 89.490927584, "total_time": 164.262738 }, "output": "https://replicate.delivery/yhqm/GQqu5Z3vHyI2GtQpvdw0y2EeVUVP3ecT4yxcQFinKRT8unsUA/250514_164835_843_6020_video.mp4", "started_at": "2025-05-14T16:48:35.061811Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/qoxq-i3mtam6lmilcdimjbsadqhal7mgdn6hxns2asoj6fgsfzlw5h5zq", "get": "https://api.replicate.com/v1/predictions/h5efyzw6w9rj40cpsyrv7wkh80", "cancel": "https://api.replicate.com/v1/predictions/h5efyzw6w9rj40cpsyrv7wkh80/cancel" }, "version": "b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f" }
Generated inUsing random seed: 454900331 Encoding text prompts... Processing input image... Encoding initial image with VAE... Encoding image with CLIP Vision model... Starting video generation loop... Processing section 1/2 (padding: 1), is_last_section_logic: False Sampling step 1/25 for section 1 0%| | 0/25 [00:00<?, ?it/s] Sampling step 2/25 for section 1 4%|▍ | 1/25 [00:02<00:49, 2.07s/it] Sampling step 3/25 for section 1 8%|▊ | 2/25 [00:05<01:00, 2.63s/it] Sampling step 4/25 for section 1 12%|█▏ | 3/25 [00:08<01:01, 2.81s/it] Sampling step 5/25 for section 1 16%|█▌ | 4/25 [00:09<00:43, 2.08s/it] Sampling step 6/25 for section 1 20%|██ | 5/25 [00:11<00:41, 2.08s/it] Sampling step 7/25 for section 1 Sampling step 8/25 for section 1 24%|██▍ | 6/25 [00:12<00:32, 1.70s/it] Sampling step 9/25 for section 1 32%|███▏ | 8/25 [00:14<00:23, 1.38s/it] Sampling step 10/25 for section 1 Sampling step 11/25 for section 1 36%|███▌ | 9/25 [00:15<00:20, 1.27s/it] Sampling step 12/25 for section 1 44%|████▍ | 11/25 [00:17<00:16, 1.17s/it] Sampling step 13/25 for section 1 Sampling step 14/25 for section 1 48%|████▊ | 12/25 [00:18<00:14, 1.12s/it] Sampling step 15/25 for section 1 56%|█████▌ | 14/25 [00:20<00:12, 1.09s/it] Sampling step 16/25 for section 1 Sampling step 17/25 for section 1 60%|██████ | 15/25 [00:21<00:10, 1.06s/it] Sampling step 18/25 for section 1 68%|██████▊ | 17/25 [00:23<00:08, 1.05s/it] Sampling step 19/25 for section 1 72%|███████▏ | 18/25 [00:24<00:07, 1.03s/it] Sampling step 20/25 for section 1 76%|███████▌ | 19/25 [00:26<00:07, 1.28s/it] Sampling step 21/25 for section 1 80%|████████ | 20/25 [00:27<00:05, 1.20s/it] Sampling step 22/25 for section 1 84%|████████▍ | 21/25 [00:29<00:05, 1.43s/it] Sampling step 23/25 for section 1 88%|████████▊ | 22/25 [00:30<00:03, 1.30s/it] Sampling step 24/25 for section 1 92%|█████████▏| 23/25 [00:32<00:03, 1.52s/it] Sampling step 25/25 for section 1 96%|█████████▌| 24/25 [00:33<00:01, 1.36s/it] 100%|██████████| 25/25 [00:35<00:00, 1.57s/it] 100%|██████████| 25/25 [00:35<00:00, 1.42s/it] Updated video saved: /tmp/tmp_9haunem/250514_164835_843_6020_video.mp4, total pixel frames: 33 Processing section 2/2 (padding: 0), is_last_section_logic: True Sampling step 1/25 for section 2 0%| | 0/25 [00:00<?, ?it/s] Sampling step 2/25 for section 2 4%|▍ | 1/25 [00:02<00:49, 2.08s/it] Sampling step 3/25 for section 2 8%|▊ | 2/25 [00:05<01:00, 2.64s/it] Sampling step 4/25 for section 2 12%|█▏ | 3/25 [00:08<01:02, 2.82s/it] Sampling step 5/25 for section 2 16%|█▌ | 4/25 [00:09<00:43, 2.08s/it] Sampling step 6/25 for section 2 20%|██ | 5/25 [00:11<00:41, 2.08s/it] Sampling step 7/25 for section 2 Sampling step 8/25 for section 2 24%|██▍ | 6/25 [00:12<00:32, 1.70s/it] Sampling step 9/25 for section 2 32%|███▏ | 8/25 [00:14<00:23, 1.38s/it] Sampling step 10/25 for section 2 Sampling step 11/25 for section 2 36%|███▌ | 9/25 [00:15<00:20, 1.27s/it] Sampling step 12/25 for section 2 44%|████▍ | 11/25 [00:17<00:16, 1.17s/it] Sampling step 13/25 for section 2 Sampling step 14/25 for section 2 48%|████▊ | 12/25 [00:18<00:14, 1.12s/it] Sampling step 15/25 for section 2 56%|█████▌ | 14/25 [00:20<00:12, 1.09s/it] Sampling step 16/25 for section 2 Sampling step 17/25 for section 2 60%|██████ | 15/25 [00:21<00:10, 1.06s/it] Sampling step 18/25 for section 2 68%|██████▊ | 17/25 [00:23<00:08, 1.06s/it] Sampling step 19/25 for section 2 72%|███████▏ | 18/25 [00:24<00:07, 1.03s/it] Sampling step 20/25 for section 2 76%|███████▌ | 19/25 [00:26<00:07, 1.28s/it] Sampling step 21/25 for section 2 80%|████████ | 20/25 [00:27<00:05, 1.20s/it] Sampling step 22/25 for section 2 84%|████████▍ | 21/25 [00:29<00:05, 1.44s/it] Sampling step 23/25 for section 2 88%|████████▊ | 22/25 [00:32<00:05, 1.87s/it] Sampling step 24/25 for section 2 92%|█████████▏| 23/25 [00:35<00:04, 2.20s/it] Sampling step 25/25 for section 2 96%|█████████▌| 24/25 [00:36<00:01, 1.84s/it] 100%|██████████| 25/25 [00:38<00:00, 1.91s/it] 100%|██████████| 25/25 [00:38<00:00, 1.54s/it] Updated video saved: /tmp/tmp_9haunem/250514_164835_843_6020_video.mp4, total pixel frames: 73
Prediction
zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409fIDda1199e6mdrj40cpsyrvshyrbcStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- steps
- 25
- prompt
- Dancing
- mp4_crf
- 23
- cfg_scale
- 1
- cfg_rescale
- 0
- input_image
- ZTUxZGQ3Y2QtMzU4Ny00MDA2LTg0ZjktNDkxODI3MTg0ZDli
- use_teacache
- negative_prompt
- latent_window_size
- 9
- distilled_cfg_scale
- 10
- total_video_length_seconds
- 3
{ "steps": 25, "prompt": "Dancing", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://api.replicate.com/v1/files/ZTUxZGQ3Y2QtMzU4Ny00MDA2LTg0ZjktNDkxODI3MTg0ZDli", "use_teacache": true, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 3 }
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 zsxkib/framepack using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f", { input: { steps: 25, prompt: "Dancing", mp4_crf: 23, cfg_scale: 1, cfg_rescale: 0, input_image: "https://api.replicate.com/v1/files/ZTUxZGQ3Y2QtMzU4Ny00MDA2LTg0ZjktNDkxODI3MTg0ZDli", use_teacache: true, negative_prompt: "", latent_window_size: 9, distilled_cfg_scale: 10, total_video_length_seconds: 3 } } ); // 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 zsxkib/framepack using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f", input={ "steps": 25, "prompt": "Dancing", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://api.replicate.com/v1/files/ZTUxZGQ3Y2QtMzU4Ny00MDA2LTg0ZjktNDkxODI3MTg0ZDli", "use_teacache": True, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 3 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run zsxkib/framepack 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": "zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f", "input": { "steps": 25, "prompt": "Dancing", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://api.replicate.com/v1/files/ZTUxZGQ3Y2QtMzU4Ny00MDA2LTg0ZjktNDkxODI3MTg0ZDli", "use_teacache": true, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 3 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-05-14T16:52:07.676480Z", "created_at": "2025-05-14T16:47:36.611000Z", "data_removed": false, "error": null, "id": "da1199e6mdrj40cpsyrvshyrbc", "input": { "steps": 25, "prompt": "Dancing", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://api.replicate.com/v1/files/ZTUxZGQ3Y2QtMzU4Ny00MDA2LTg0ZjktNDkxODI3MTg0ZDli", "use_teacache": true, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 3 }, "logs": "Using random seed: 1466804467\nEncoding text prompts...\nProcessing input image...\nEncoding initial image with VAE...\nEncoding image with CLIP Vision model...\nStarting video generation loop...\nProcessing section 1/2 (padding: 1), is_last_section_logic: False\nSampling step 1/25 for section 1\n 0%| | 0/25 [00:00<?, ?it/s]\nSampling step 2/25 for section 1\n 4%|▍ | 1/25 [00:03<01:14, 3.10s/it]\nSampling step 3/25 for section 1\n 8%|▊ | 2/25 [00:05<00:57, 2.51s/it]\nSampling step 4/25 for section 1\n 12%|█▏ | 3/25 [00:08<01:00, 2.75s/it]\nSampling step 5/25 for section 1\n 16%|█▌ | 4/25 [00:09<00:42, 2.04s/it]\nSampling step 6/25 for section 1\n 20%|██ | 5/25 [00:11<00:41, 2.06s/it]\nSampling step 7/25 for section 1\nSampling step 8/25 for section 1\n 24%|██▍ | 6/25 [00:12<00:31, 1.68s/it]\nSampling step 9/25 for section 1\n 32%|███▏ | 8/25 [00:14<00:23, 1.37s/it]\nSampling step 10/25 for section 1\nSampling step 11/25 for section 1\n 36%|███▌ | 9/25 [00:15<00:20, 1.26s/it]\nSampling step 12/25 for section 1\n 44%|████▍ | 11/25 [00:17<00:16, 1.17s/it]\nSampling step 13/25 for section 1\nSampling step 14/25 for section 1\n 48%|████▊ | 12/25 [00:18<00:14, 1.12s/it]\nSampling step 15/25 for section 1\n 56%|█████▌ | 14/25 [00:20<00:12, 1.09s/it]\nSampling step 16/25 for section 1\nSampling step 17/25 for section 1\n 60%|██████ | 15/25 [00:21<00:10, 1.06s/it]\nSampling step 18/25 for section 1\n 68%|██████▊ | 17/25 [00:23<00:08, 1.06s/it]\nSampling step 19/25 for section 1\n 72%|███████▏ | 18/25 [00:24<00:07, 1.04s/it]\nSampling step 20/25 for section 1\n 76%|███████▌ | 19/25 [00:26<00:07, 1.29s/it]\nSampling step 21/25 for section 1\n 80%|████████ | 20/25 [00:27<00:06, 1.20s/it]\nSampling step 22/25 for section 1\n 84%|████████▍ | 21/25 [00:29<00:05, 1.44s/it]\nSampling step 23/25 for section 1\n 88%|████████▊ | 22/25 [00:32<00:05, 1.88s/it]\nSampling step 24/25 for section 1\n 92%|█████████▏| 23/25 [00:35<00:04, 2.21s/it]\nSampling step 25/25 for section 1\n 96%|█████████▌| 24/25 [00:36<00:01, 1.85s/it]\n100%|██████████| 25/25 [00:38<00:00, 1.92s/it]\n100%|██████████| 25/25 [00:38<00:00, 1.55s/it]\n/root/.pyenv/versions/3.11.10/lib/python3.11/site-packages/torchvision/io/_video_deprecation_warning.py:5: UserWarning: The video decoding and encoding capabilities of torchvision are deprecated from version 0.22 and will be removed in version 0.24. We recommend that you migrate to TorchCodec, where we'll consolidate the future decoding/encoding capabilities of PyTorch: https://github.com/pytorch/torchcodec\nwarnings.warn(\nUpdated video saved: /tmp/tmpj6dtnziv/250514_165034_793_432_video.mp4, total pixel frames: 33\nProcessing section 2/2 (padding: 0), is_last_section_logic: True\nSampling step 1/25 for section 2\n 0%| | 0/25 [00:00<?, ?it/s]\nSampling step 2/25 for section 2\n 4%|▍ | 1/25 [00:02<00:50, 2.09s/it]\nSampling step 3/25 for section 2\n 8%|▊ | 2/25 [00:05<01:01, 2.65s/it]\nSampling step 4/25 for section 2\n 12%|█▏ | 3/25 [00:08<01:02, 2.83s/it]\nSampling step 5/25 for section 2\n 16%|█▌ | 4/25 [00:09<00:43, 2.09s/it]\nSampling step 6/25 for section 2\n 20%|██ | 5/25 [00:11<00:41, 2.10s/it]\nSampling step 7/25 for section 2\nSampling step 8/25 for section 2\n 24%|██▍ | 6/25 [00:12<00:32, 1.71s/it]\nSampling step 9/25 for section 2\n 32%|███▏ | 8/25 [00:14<00:23, 1.39s/it]\nSampling step 10/25 for section 2\nSampling step 11/25 for section 2\n 36%|███▌ | 9/25 [00:15<00:20, 1.27s/it]\nSampling step 12/25 for section 2\n 44%|████▍ | 11/25 [00:17<00:16, 1.18s/it]\nSampling step 13/25 for section 2\nSampling step 14/25 for section 2\n 48%|████▊ | 12/25 [00:18<00:14, 1.13s/it]\nSampling step 15/25 for section 2\n 56%|█████▌ | 14/25 [00:20<00:12, 1.10s/it]\nSampling step 16/25 for section 2\nSampling step 17/25 for section 2\n 60%|██████ | 15/25 [00:21<00:10, 1.07s/it]\nSampling step 18/25 for section 2\n 68%|██████▊ | 17/25 [00:23<00:08, 1.06s/it]\nSampling step 19/25 for section 2\n 72%|███████▏ | 18/25 [00:24<00:07, 1.04s/it]\nSampling step 20/25 for section 2\n 76%|███████▌ | 19/25 [00:26<00:07, 1.29s/it]\nSampling step 21/25 for section 2\n 80%|████████ | 20/25 [00:27<00:06, 1.21s/it]\nSampling step 22/25 for section 2\n 84%|████████▍ | 21/25 [00:29<00:05, 1.44s/it]\nSampling step 23/25 for section 2\n 88%|████████▊ | 22/25 [00:32<00:05, 1.88s/it]\nSampling step 24/25 for section 2\n 92%|█████████▏| 23/25 [00:35<00:04, 2.21s/it]\nSampling step 25/25 for section 2\n 96%|█████████▌| 24/25 [00:36<00:01, 1.85s/it]\n100%|██████████| 25/25 [00:38<00:00, 1.92s/it]\n100%|██████████| 25/25 [00:38<00:00, 1.55s/it]\nUpdated video saved: /tmp/tmpj6dtnziv/250514_165034_793_432_video.mp4, total pixel frames: 73", "metrics": { "predict_time": 93.491943614, "total_time": 271.06548 }, "output": "https://replicate.delivery/yhqm/jl6RgeNXqTwOPy7OvjtcPLBgh7vBC2rDDWRwezeYgZluhPZpA/250514_165034_793_432_video.mp4", "started_at": "2025-05-14T16:50:34.184537Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/qoxq-rodj6xkxxufcey26664qz5q7xd42sbshad2jfnlemxek4fapddha", "get": "https://api.replicate.com/v1/predictions/da1199e6mdrj40cpsyrvshyrbc", "cancel": "https://api.replicate.com/v1/predictions/da1199e6mdrj40cpsyrvshyrbc/cancel" }, "version": "b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f" }
Generated inUsing random seed: 1466804467 Encoding text prompts... Processing input image... Encoding initial image with VAE... Encoding image with CLIP Vision model... Starting video generation loop... Processing section 1/2 (padding: 1), is_last_section_logic: False Sampling step 1/25 for section 1 0%| | 0/25 [00:00<?, ?it/s] Sampling step 2/25 for section 1 4%|▍ | 1/25 [00:03<01:14, 3.10s/it] Sampling step 3/25 for section 1 8%|▊ | 2/25 [00:05<00:57, 2.51s/it] Sampling step 4/25 for section 1 12%|█▏ | 3/25 [00:08<01:00, 2.75s/it] Sampling step 5/25 for section 1 16%|█▌ | 4/25 [00:09<00:42, 2.04s/it] Sampling step 6/25 for section 1 20%|██ | 5/25 [00:11<00:41, 2.06s/it] Sampling step 7/25 for section 1 Sampling step 8/25 for section 1 24%|██▍ | 6/25 [00:12<00:31, 1.68s/it] Sampling step 9/25 for section 1 32%|███▏ | 8/25 [00:14<00:23, 1.37s/it] Sampling step 10/25 for section 1 Sampling step 11/25 for section 1 36%|███▌ | 9/25 [00:15<00:20, 1.26s/it] Sampling step 12/25 for section 1 44%|████▍ | 11/25 [00:17<00:16, 1.17s/it] Sampling step 13/25 for section 1 Sampling step 14/25 for section 1 48%|████▊ | 12/25 [00:18<00:14, 1.12s/it] Sampling step 15/25 for section 1 56%|█████▌ | 14/25 [00:20<00:12, 1.09s/it] Sampling step 16/25 for section 1 Sampling step 17/25 for section 1 60%|██████ | 15/25 [00:21<00:10, 1.06s/it] Sampling step 18/25 for section 1 68%|██████▊ | 17/25 [00:23<00:08, 1.06s/it] Sampling step 19/25 for section 1 72%|███████▏ | 18/25 [00:24<00:07, 1.04s/it] Sampling step 20/25 for section 1 76%|███████▌ | 19/25 [00:26<00:07, 1.29s/it] Sampling step 21/25 for section 1 80%|████████ | 20/25 [00:27<00:06, 1.20s/it] Sampling step 22/25 for section 1 84%|████████▍ | 21/25 [00:29<00:05, 1.44s/it] Sampling step 23/25 for section 1 88%|████████▊ | 22/25 [00:32<00:05, 1.88s/it] Sampling step 24/25 for section 1 92%|█████████▏| 23/25 [00:35<00:04, 2.21s/it] Sampling step 25/25 for section 1 96%|█████████▌| 24/25 [00:36<00:01, 1.85s/it] 100%|██████████| 25/25 [00:38<00:00, 1.92s/it] 100%|██████████| 25/25 [00:38<00:00, 1.55s/it] /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages/torchvision/io/_video_deprecation_warning.py:5: UserWarning: The video decoding and encoding capabilities of torchvision are deprecated from version 0.22 and will be removed in version 0.24. We recommend that you migrate to TorchCodec, where we'll consolidate the future decoding/encoding capabilities of PyTorch: https://github.com/pytorch/torchcodec warnings.warn( Updated video saved: /tmp/tmpj6dtnziv/250514_165034_793_432_video.mp4, total pixel frames: 33 Processing section 2/2 (padding: 0), is_last_section_logic: True Sampling step 1/25 for section 2 0%| | 0/25 [00:00<?, ?it/s] Sampling step 2/25 for section 2 4%|▍ | 1/25 [00:02<00:50, 2.09s/it] Sampling step 3/25 for section 2 8%|▊ | 2/25 [00:05<01:01, 2.65s/it] Sampling step 4/25 for section 2 12%|█▏ | 3/25 [00:08<01:02, 2.83s/it] Sampling step 5/25 for section 2 16%|█▌ | 4/25 [00:09<00:43, 2.09s/it] Sampling step 6/25 for section 2 20%|██ | 5/25 [00:11<00:41, 2.10s/it] Sampling step 7/25 for section 2 Sampling step 8/25 for section 2 24%|██▍ | 6/25 [00:12<00:32, 1.71s/it] Sampling step 9/25 for section 2 32%|███▏ | 8/25 [00:14<00:23, 1.39s/it] Sampling step 10/25 for section 2 Sampling step 11/25 for section 2 36%|███▌ | 9/25 [00:15<00:20, 1.27s/it] Sampling step 12/25 for section 2 44%|████▍ | 11/25 [00:17<00:16, 1.18s/it] Sampling step 13/25 for section 2 Sampling step 14/25 for section 2 48%|████▊ | 12/25 [00:18<00:14, 1.13s/it] Sampling step 15/25 for section 2 56%|█████▌ | 14/25 [00:20<00:12, 1.10s/it] Sampling step 16/25 for section 2 Sampling step 17/25 for section 2 60%|██████ | 15/25 [00:21<00:10, 1.07s/it] Sampling step 18/25 for section 2 68%|██████▊ | 17/25 [00:23<00:08, 1.06s/it] Sampling step 19/25 for section 2 72%|███████▏ | 18/25 [00:24<00:07, 1.04s/it] Sampling step 20/25 for section 2 76%|███████▌ | 19/25 [00:26<00:07, 1.29s/it] Sampling step 21/25 for section 2 80%|████████ | 20/25 [00:27<00:06, 1.21s/it] Sampling step 22/25 for section 2 84%|████████▍ | 21/25 [00:29<00:05, 1.44s/it] Sampling step 23/25 for section 2 88%|████████▊ | 22/25 [00:32<00:05, 1.88s/it] Sampling step 24/25 for section 2 92%|█████████▏| 23/25 [00:35<00:04, 2.21s/it] Sampling step 25/25 for section 2 96%|█████████▌| 24/25 [00:36<00:01, 1.85s/it] 100%|██████████| 25/25 [00:38<00:00, 1.92s/it] 100%|██████████| 25/25 [00:38<00:00, 1.55s/it] Updated video saved: /tmp/tmpj6dtnziv/250514_165034_793_432_video.mp4, total pixel frames: 73
Prediction
zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409fID0qwheg9awxrj60cpsysba9hft4StatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- steps
- 25
- prompt
- A woman eats the burger and chips
- mp4_crf
- 23
- cfg_scale
- 1
- cfg_rescale
- 0
- input_image
- OGM5OGU4ZWMtOTFjNC00N2I0LWIxYmUtZjFkZmU4OTUzNGI3
- use_teacache
- negative_prompt
- latent_window_size
- 9
- distilled_cfg_scale
- 10
- total_video_length_seconds
- 3
{ "steps": 25, "prompt": "A woman eats the burger and chips", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://api.replicate.com/v1/files/OGM5OGU4ZWMtOTFjNC00N2I0LWIxYmUtZjFkZmU4OTUzNGI3", "use_teacache": true, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 3 }
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 zsxkib/framepack using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f", { input: { steps: 25, prompt: "A woman eats the burger and chips", mp4_crf: 23, cfg_scale: 1, cfg_rescale: 0, input_image: "https://api.replicate.com/v1/files/OGM5OGU4ZWMtOTFjNC00N2I0LWIxYmUtZjFkZmU4OTUzNGI3", use_teacache: true, negative_prompt: "", latent_window_size: 9, distilled_cfg_scale: 10, total_video_length_seconds: 3 } } ); // 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 zsxkib/framepack using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f", input={ "steps": 25, "prompt": "A woman eats the burger and chips", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://api.replicate.com/v1/files/OGM5OGU4ZWMtOTFjNC00N2I0LWIxYmUtZjFkZmU4OTUzNGI3", "use_teacache": True, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 3 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run zsxkib/framepack 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": "zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f", "input": { "steps": 25, "prompt": "A woman eats the burger and chips", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://api.replicate.com/v1/files/OGM5OGU4ZWMtOTFjNC00N2I0LWIxYmUtZjFkZmU4OTUzNGI3", "use_teacache": true, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 3 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-05-14T16:52:59.776072Z", "created_at": "2025-05-14T16:48:02.279000Z", "data_removed": false, "error": null, "id": "0qwheg9awxrj60cpsysba9hft4", "input": { "steps": 25, "prompt": "A woman eats the burger and chips", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://api.replicate.com/v1/files/OGM5OGU4ZWMtOTFjNC00N2I0LWIxYmUtZjFkZmU4OTUzNGI3", "use_teacache": true, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 3 }, "logs": "Using random seed: 1195602418\nEncoding text prompts...\nProcessing input image...\nEncoding initial image with VAE...\nEncoding image with CLIP Vision model...\nStarting video generation loop...\nProcessing section 1/2 (padding: 1), is_last_section_logic: False\nSampling step 1/25 for section 1\n 0%| | 0/25 [00:00<?, ?it/s]\nSampling step 2/25 for section 1\n 4%|▍ | 1/25 [00:03<01:12, 3.02s/it]\nSampling step 3/25 for section 1\n 8%|▊ | 2/25 [00:05<00:55, 2.43s/it]\nSampling step 4/25 for section 1\n 12%|█▏ | 3/25 [00:07<00:58, 2.67s/it]\nSampling step 5/25 for section 1\n 16%|█▌ | 4/25 [00:08<00:41, 1.98s/it]\nSampling step 6/25 for section 1\n 20%|██ | 5/25 [00:10<00:39, 1.99s/it]\nSampling step 7/25 for section 1\nSampling step 8/25 for section 1\n 24%|██▍ | 6/25 [00:11<00:30, 1.63s/it]\nSampling step 9/25 for section 1\n 32%|███▏ | 8/25 [00:13<00:22, 1.33s/it]\nSampling step 10/25 for section 1\nSampling step 11/25 for section 1\n 36%|███▌ | 9/25 [00:14<00:19, 1.22s/it]\nSampling step 12/25 for section 1\n 44%|████▍ | 11/25 [00:16<00:15, 1.13s/it]\nSampling step 13/25 for section 1\nSampling step 14/25 for section 1\n 48%|████▊ | 12/25 [00:17<00:14, 1.08s/it]\nSampling step 15/25 for section 1\n 56%|█████▌ | 14/25 [00:19<00:11, 1.06s/it]\nSampling step 16/25 for section 1\nSampling step 17/25 for section 1\n 60%|██████ | 15/25 [00:20<00:10, 1.03s/it]\nSampling step 18/25 for section 1\n 68%|██████▊ | 17/25 [00:22<00:08, 1.02s/it]\nSampling step 19/25 for section 1\n 72%|███████▏ | 18/25 [00:23<00:07, 1.00s/it]\nSampling step 20/25 for section 1\n 76%|███████▌ | 19/25 [00:25<00:07, 1.25s/it]\nSampling step 21/25 for section 1\n 80%|████████ | 20/25 [00:26<00:05, 1.16s/it]\nSampling step 22/25 for section 1\n 84%|████████▍ | 21/25 [00:28<00:05, 1.39s/it]\nSampling step 23/25 for section 1\n 88%|████████▊ | 22/25 [00:31<00:05, 1.82s/it]\nSampling step 24/25 for section 1\n 92%|█████████▏| 23/25 [00:34<00:04, 2.14s/it]\nSampling step 25/25 for section 1\n 96%|█████████▌| 24/25 [00:35<00:01, 1.79s/it]\n100%|██████████| 25/25 [00:37<00:00, 1.86s/it]\n100%|██████████| 25/25 [00:37<00:00, 1.50s/it]\n/root/.pyenv/versions/3.11.10/lib/python3.11/site-packages/torchvision/io/_video_deprecation_warning.py:5: UserWarning: The video decoding and encoding capabilities of torchvision are deprecated from version 0.22 and will be removed in version 0.24. We recommend that you migrate to TorchCodec, where we'll consolidate the future decoding/encoding capabilities of PyTorch: https://github.com/pytorch/torchcodec\nwarnings.warn(\nUpdated video saved: /tmp/tmplwa3tst8/250514_165129_894_8999_video.mp4, total pixel frames: 33\nProcessing section 2/2 (padding: 0), is_last_section_logic: True\nSampling step 1/25 for section 2\n 0%| | 0/25 [00:00<?, ?it/s]\nSampling step 2/25 for section 2\n 4%|▍ | 1/25 [00:02<00:48, 2.03s/it]\nSampling step 3/25 for section 2\n 8%|▊ | 2/25 [00:04<00:59, 2.57s/it]\nSampling step 4/25 for section 2\n 12%|█▏ | 3/25 [00:07<01:00, 2.75s/it]\nSampling step 5/25 for section 2\n 16%|█▌ | 4/25 [00:08<00:42, 2.03s/it]\nSampling step 6/25 for section 2\n 20%|██ | 5/25 [00:10<00:40, 2.03s/it]\nSampling step 7/25 for section 2\nSampling step 8/25 for section 2\n 24%|██▍ | 6/25 [00:11<00:31, 1.65s/it]\nSampling step 9/25 for section 2\n 32%|███▏ | 8/25 [00:13<00:22, 1.34s/it]\nSampling step 10/25 for section 2\nSampling step 11/25 for section 2\n 36%|███▌ | 9/25 [00:14<00:19, 1.23s/it]\nSampling step 12/25 for section 2\n 44%|████▍ | 11/25 [00:16<00:16, 1.14s/it]\nSampling step 13/25 for section 2\nSampling step 14/25 for section 2\n 48%|████▊ | 12/25 [00:17<00:14, 1.09s/it]\nSampling step 15/25 for section 2\n 56%|█████▌ | 14/25 [00:19<00:11, 1.07s/it]\nSampling step 16/25 for section 2\nSampling step 17/25 for section 2\n 60%|██████ | 15/25 [00:20<00:10, 1.03s/it]\nSampling step 18/25 for section 2\n 68%|██████▊ | 17/25 [00:22<00:08, 1.03s/it]\nSampling step 19/25 for section 2\n 72%|███████▏ | 18/25 [00:23<00:07, 1.01s/it]\nSampling step 20/25 for section 2\n 76%|███████▌ | 19/25 [00:25<00:07, 1.25s/it]\nSampling step 21/25 for section 2\n 80%|████████ | 20/25 [00:26<00:05, 1.17s/it]\nSampling step 22/25 for section 2\n 84%|████████▍ | 21/25 [00:28<00:05, 1.40s/it]\nSampling step 23/25 for section 2\n 88%|████████▊ | 22/25 [00:31<00:05, 1.83s/it]\nSampling step 24/25 for section 2\n 92%|█████████▏| 23/25 [00:34<00:04, 2.14s/it]\nSampling step 25/25 for section 2\n 96%|█████████▌| 24/25 [00:35<00:01, 1.79s/it]\n100%|██████████| 25/25 [00:37<00:00, 1.86s/it]\n100%|██████████| 25/25 [00:37<00:00, 1.50s/it]\nUpdated video saved: /tmp/tmplwa3tst8/250514_165129_894_8999_video.mp4, total pixel frames: 73", "metrics": { "predict_time": 90.675479201, "total_time": 297.497072 }, "output": "https://replicate.delivery/yhqm/spee3sMFAeFLrpCnur74aMeeoGv5hWM1eyppCxqRnm8za8JLF/250514_165129_894_8999_video.mp4", "started_at": "2025-05-14T16:51:29.100593Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/qoxq-4adojbmz5izafkzpmgs4xbgqgz2zu4qeju367sfgc3a36nbkhgpq", "get": "https://api.replicate.com/v1/predictions/0qwheg9awxrj60cpsysba9hft4", "cancel": "https://api.replicate.com/v1/predictions/0qwheg9awxrj60cpsysba9hft4/cancel" }, "version": "b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f" }
Generated inUsing random seed: 1195602418 Encoding text prompts... Processing input image... Encoding initial image with VAE... Encoding image with CLIP Vision model... Starting video generation loop... Processing section 1/2 (padding: 1), is_last_section_logic: False Sampling step 1/25 for section 1 0%| | 0/25 [00:00<?, ?it/s] Sampling step 2/25 for section 1 4%|▍ | 1/25 [00:03<01:12, 3.02s/it] Sampling step 3/25 for section 1 8%|▊ | 2/25 [00:05<00:55, 2.43s/it] Sampling step 4/25 for section 1 12%|█▏ | 3/25 [00:07<00:58, 2.67s/it] Sampling step 5/25 for section 1 16%|█▌ | 4/25 [00:08<00:41, 1.98s/it] Sampling step 6/25 for section 1 20%|██ | 5/25 [00:10<00:39, 1.99s/it] Sampling step 7/25 for section 1 Sampling step 8/25 for section 1 24%|██▍ | 6/25 [00:11<00:30, 1.63s/it] Sampling step 9/25 for section 1 32%|███▏ | 8/25 [00:13<00:22, 1.33s/it] Sampling step 10/25 for section 1 Sampling step 11/25 for section 1 36%|███▌ | 9/25 [00:14<00:19, 1.22s/it] Sampling step 12/25 for section 1 44%|████▍ | 11/25 [00:16<00:15, 1.13s/it] Sampling step 13/25 for section 1 Sampling step 14/25 for section 1 48%|████▊ | 12/25 [00:17<00:14, 1.08s/it] Sampling step 15/25 for section 1 56%|█████▌ | 14/25 [00:19<00:11, 1.06s/it] Sampling step 16/25 for section 1 Sampling step 17/25 for section 1 60%|██████ | 15/25 [00:20<00:10, 1.03s/it] Sampling step 18/25 for section 1 68%|██████▊ | 17/25 [00:22<00:08, 1.02s/it] Sampling step 19/25 for section 1 72%|███████▏ | 18/25 [00:23<00:07, 1.00s/it] Sampling step 20/25 for section 1 76%|███████▌ | 19/25 [00:25<00:07, 1.25s/it] Sampling step 21/25 for section 1 80%|████████ | 20/25 [00:26<00:05, 1.16s/it] Sampling step 22/25 for section 1 84%|████████▍ | 21/25 [00:28<00:05, 1.39s/it] Sampling step 23/25 for section 1 88%|████████▊ | 22/25 [00:31<00:05, 1.82s/it] Sampling step 24/25 for section 1 92%|█████████▏| 23/25 [00:34<00:04, 2.14s/it] Sampling step 25/25 for section 1 96%|█████████▌| 24/25 [00:35<00:01, 1.79s/it] 100%|██████████| 25/25 [00:37<00:00, 1.86s/it] 100%|██████████| 25/25 [00:37<00:00, 1.50s/it] /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages/torchvision/io/_video_deprecation_warning.py:5: UserWarning: The video decoding and encoding capabilities of torchvision are deprecated from version 0.22 and will be removed in version 0.24. We recommend that you migrate to TorchCodec, where we'll consolidate the future decoding/encoding capabilities of PyTorch: https://github.com/pytorch/torchcodec warnings.warn( Updated video saved: /tmp/tmplwa3tst8/250514_165129_894_8999_video.mp4, total pixel frames: 33 Processing section 2/2 (padding: 0), is_last_section_logic: True Sampling step 1/25 for section 2 0%| | 0/25 [00:00<?, ?it/s] Sampling step 2/25 for section 2 4%|▍ | 1/25 [00:02<00:48, 2.03s/it] Sampling step 3/25 for section 2 8%|▊ | 2/25 [00:04<00:59, 2.57s/it] Sampling step 4/25 for section 2 12%|█▏ | 3/25 [00:07<01:00, 2.75s/it] Sampling step 5/25 for section 2 16%|█▌ | 4/25 [00:08<00:42, 2.03s/it] Sampling step 6/25 for section 2 20%|██ | 5/25 [00:10<00:40, 2.03s/it] Sampling step 7/25 for section 2 Sampling step 8/25 for section 2 24%|██▍ | 6/25 [00:11<00:31, 1.65s/it] Sampling step 9/25 for section 2 32%|███▏ | 8/25 [00:13<00:22, 1.34s/it] Sampling step 10/25 for section 2 Sampling step 11/25 for section 2 36%|███▌ | 9/25 [00:14<00:19, 1.23s/it] Sampling step 12/25 for section 2 44%|████▍ | 11/25 [00:16<00:16, 1.14s/it] Sampling step 13/25 for section 2 Sampling step 14/25 for section 2 48%|████▊ | 12/25 [00:17<00:14, 1.09s/it] Sampling step 15/25 for section 2 56%|█████▌ | 14/25 [00:19<00:11, 1.07s/it] Sampling step 16/25 for section 2 Sampling step 17/25 for section 2 60%|██████ | 15/25 [00:20<00:10, 1.03s/it] Sampling step 18/25 for section 2 68%|██████▊ | 17/25 [00:22<00:08, 1.03s/it] Sampling step 19/25 for section 2 72%|███████▏ | 18/25 [00:23<00:07, 1.01s/it] Sampling step 20/25 for section 2 76%|███████▌ | 19/25 [00:25<00:07, 1.25s/it] Sampling step 21/25 for section 2 80%|████████ | 20/25 [00:26<00:05, 1.17s/it] Sampling step 22/25 for section 2 84%|████████▍ | 21/25 [00:28<00:05, 1.40s/it] Sampling step 23/25 for section 2 88%|████████▊ | 22/25 [00:31<00:05, 1.83s/it] Sampling step 24/25 for section 2 92%|█████████▏| 23/25 [00:34<00:04, 2.14s/it] Sampling step 25/25 for section 2 96%|█████████▌| 24/25 [00:35<00:01, 1.79s/it] 100%|██████████| 25/25 [00:37<00:00, 1.86s/it] 100%|██████████| 25/25 [00:37<00:00, 1.50s/it] Updated video saved: /tmp/tmplwa3tst8/250514_165129_894_8999_video.mp4, total pixel frames: 73
Prediction
zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409fID3wzdrc5zj1rj20cpsys9283mygStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- steps
- 25
- prompt
- A tiger practices kung fu, kata moves
- mp4_crf
- 23
- cfg_scale
- 1
- cfg_rescale
- 0
- input_image
- NmM2MjM1Y2MtMDVmMy00ODI2LWIwNjYtZTEzZDllYTViNWZm
- use_teacache
- negative_prompt
- latent_window_size
- 9
- distilled_cfg_scale
- 10
- total_video_length_seconds
- 5
{ "steps": 25, "prompt": "A tiger practices kung fu, kata moves", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://api.replicate.com/v1/files/NmM2MjM1Y2MtMDVmMy00ODI2LWIwNjYtZTEzZDllYTViNWZm", "use_teacache": true, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 5 }
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 zsxkib/framepack using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f", { input: { steps: 25, prompt: "A tiger practices kung fu, kata moves", mp4_crf: 23, cfg_scale: 1, cfg_rescale: 0, input_image: "https://api.replicate.com/v1/files/NmM2MjM1Y2MtMDVmMy00ODI2LWIwNjYtZTEzZDllYTViNWZm", use_teacache: true, negative_prompt: "", latent_window_size: 9, distilled_cfg_scale: 10, total_video_length_seconds: 5 } } ); // 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 zsxkib/framepack using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f", input={ "steps": 25, "prompt": "A tiger practices kung fu, kata moves", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://api.replicate.com/v1/files/NmM2MjM1Y2MtMDVmMy00ODI2LWIwNjYtZTEzZDllYTViNWZm", "use_teacache": True, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 5 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run zsxkib/framepack 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": "zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f", "input": { "steps": 25, "prompt": "A tiger practices kung fu, kata moves", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://api.replicate.com/v1/files/NmM2MjM1Y2MtMDVmMy00ODI2LWIwNjYtZTEzZDllYTViNWZm", "use_teacache": true, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 5 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-05-14T16:55:11.468582Z", "created_at": "2025-05-14T16:48:40.336000Z", "data_removed": false, "error": null, "id": "3wzdrc5zj1rj20cpsys9283myg", "input": { "steps": 25, "prompt": "A tiger practices kung fu, kata moves", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://api.replicate.com/v1/files/NmM2MjM1Y2MtMDVmMy00ODI2LWIwNjYtZTEzZDllYTViNWZm", "use_teacache": true, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 5 }, "logs": "Using random seed: 764782296\nEncoding text prompts...\nProcessing input image...\nEncoding initial image with VAE...\nEncoding image with CLIP Vision model...\nStarting video generation loop...\nProcessing section 1/4 (padding: 3), is_last_section_logic: False\nSampling step 1/25 for section 1\n 0%| | 0/25 [00:00<?, ?it/s]\nSampling step 2/25 for section 1\n 4%|▍ | 1/25 [00:03<01:13, 3.08s/it]\nSampling step 3/25 for section 1\n 8%|▊ | 2/25 [00:05<00:57, 2.48s/it]\nSampling step 4/25 for section 1\n 12%|█▏ | 3/25 [00:08<00:59, 2.72s/it]\nSampling step 5/25 for section 1\nSampling step 6/25 for section 1\n 16%|█▌ | 4/25 [00:09<00:42, 2.02s/it]\nSampling step 7/25 for section 1\n 24%|██▍ | 6/25 [00:11<00:28, 1.50s/it]\nSampling step 8/25 for section 1\nSampling step 9/25 for section 1\n 28%|██▊ | 7/25 [00:12<00:24, 1.34s/it]\nSampling step 10/25 for section 1\n 36%|███▌ | 9/25 [00:14<00:19, 1.21s/it]\nSampling step 11/25 for section 1\nSampling step 12/25 for section 1\n 40%|████ | 10/25 [00:15<00:17, 1.14s/it]\nSampling step 13/25 for section 1\n 48%|████▊ | 12/25 [00:17<00:14, 1.10s/it]\nSampling step 14/25 for section 1\nSampling step 15/25 for section 1\n 52%|█████▏ | 13/25 [00:18<00:12, 1.06s/it]\nSampling step 16/25 for section 1\n 60%|██████ | 15/25 [00:20<00:10, 1.05s/it]\nSampling step 17/25 for section 1\nSampling step 18/25 for section 1\n 64%|██████▍ | 16/25 [00:21<00:09, 1.03s/it]\nSampling step 19/25 for section 1\n 72%|███████▏ | 18/25 [00:23<00:07, 1.03s/it]\nSampling step 20/25 for section 1\n 76%|███████▌ | 19/25 [00:24<00:06, 1.01s/it]\nSampling step 21/25 for section 1\n 80%|████████ | 20/25 [00:26<00:06, 1.26s/it]\nSampling step 22/25 for section 1\n 84%|████████▍ | 21/25 [00:27<00:04, 1.18s/it]\nSampling step 23/25 for section 1\n 88%|████████▊ | 22/25 [00:29<00:04, 1.42s/it]\nSampling step 24/25 for section 1\n 92%|█████████▏| 23/25 [00:32<00:03, 1.85s/it]\nSampling step 25/25 for section 1\n 96%|█████████▌| 24/25 [00:33<00:01, 1.59s/it]\n100%|██████████| 25/25 [00:35<00:00, 1.73s/it]\n100%|██████████| 25/25 [00:35<00:00, 1.41s/it]\n/root/.pyenv/versions/3.11.10/lib/python3.11/site-packages/torchvision/io/_video_deprecation_warning.py:5: UserWarning: The video decoding and encoding capabilities of torchvision are deprecated from version 0.22 and will be removed in version 0.24. We recommend that you migrate to TorchCodec, where we'll consolidate the future decoding/encoding capabilities of PyTorch: https://github.com/pytorch/torchcodec\nwarnings.warn(\nUpdated video saved: /tmp/tmpb9mqq2hs/250514_165205_848_1412_video.mp4, total pixel frames: 33\nProcessing section 2/4 (padding: 2), is_last_section_logic: False\nSampling step 1/25 for section 2\n 0%| | 0/25 [00:00<?, ?it/s]\nSampling step 2/25 for section 2\n 4%|▍ | 1/25 [00:02<00:49, 2.07s/it]\nSampling step 3/25 for section 2\n 8%|▊ | 2/25 [00:05<01:00, 2.63s/it]\nSampling step 4/25 for section 2\n 12%|█▏ | 3/25 [00:08<01:01, 2.81s/it]\nSampling step 5/25 for section 2\n 16%|█▌ | 4/25 [00:09<00:43, 2.07s/it]\nSampling step 6/25 for section 2\n 20%|██ | 5/25 [00:11<00:41, 2.08s/it]\nSampling step 7/25 for section 2\nSampling step 8/25 for section 2\n 24%|██▍ | 6/25 [00:12<00:32, 1.69s/it]\nSampling step 9/25 for section 2\n 32%|███▏ | 8/25 [00:14<00:23, 1.37s/it]\nSampling step 10/25 for section 2\nSampling step 11/25 for section 2\n 36%|███▌ | 9/25 [00:15<00:20, 1.26s/it]\nSampling step 12/25 for section 2\n 44%|████▍ | 11/25 [00:17<00:16, 1.17s/it]\nSampling step 13/25 for section 2\nSampling step 14/25 for section 2\n 48%|████▊ | 12/25 [00:18<00:14, 1.12s/it]\nSampling step 15/25 for section 2\n 56%|█████▌ | 14/25 [00:20<00:11, 1.09s/it]\nSampling step 16/25 for section 2\nSampling step 17/25 for section 2\n 60%|██████ | 15/25 [00:21<00:10, 1.06s/it]\nSampling step 18/25 for section 2\n 68%|██████▊ | 17/25 [00:23<00:08, 1.05s/it]\nSampling step 19/25 for section 2\n 72%|███████▏ | 18/25 [00:24<00:07, 1.03s/it]\nSampling step 20/25 for section 2\n 76%|███████▌ | 19/25 [00:26<00:07, 1.28s/it]\nSampling step 21/25 for section 2\n 80%|████████ | 20/25 [00:27<00:05, 1.20s/it]\nSampling step 22/25 for section 2\n 84%|████████▍ | 21/25 [00:29<00:05, 1.43s/it]\nSampling step 23/25 for section 2\n 88%|████████▊ | 22/25 [00:32<00:05, 1.87s/it]\nSampling step 24/25 for section 2\n 92%|█████████▏| 23/25 [00:35<00:04, 2.19s/it]\nSampling step 25/25 for section 2\n 96%|█████████▌| 24/25 [00:36<00:01, 1.84s/it]\n100%|██████████| 25/25 [00:38<00:00, 1.91s/it]\n100%|██████████| 25/25 [00:38<00:00, 1.54s/it]\nUpdated video saved: /tmp/tmpb9mqq2hs/250514_165205_848_1412_video.mp4, total pixel frames: 69\nProcessing section 3/4 (padding: 1), is_last_section_logic: False\nSampling step 1/25 for section 3\n 0%| | 0/25 [00:00<?, ?it/s]\nSampling step 2/25 for section 3\n 4%|▍ | 1/25 [00:02<00:49, 2.07s/it]\nSampling step 3/25 for section 3\n 8%|▊ | 2/25 [00:05<01:00, 2.63s/it]\nSampling step 4/25 for section 3\n 12%|█▏ | 3/25 [00:08<01:01, 2.81s/it]\nSampling step 5/25 for section 3\n 16%|█▌ | 4/25 [00:09<00:43, 2.07s/it]\nSampling step 6/25 for section 3\n 20%|██ | 5/25 [00:11<00:41, 2.08s/it]\nSampling step 7/25 for section 3\nSampling step 8/25 for section 3\n 24%|██▍ | 6/25 [00:12<00:32, 1.69s/it]\nSampling step 9/25 for section 3\n 32%|███▏ | 8/25 [00:14<00:23, 1.37s/it]\nSampling step 10/25 for section 3\nSampling step 11/25 for section 3\n 36%|███▌ | 9/25 [00:15<00:20, 1.26s/it]\nSampling step 12/25 for section 3\n 44%|████▍ | 11/25 [00:17<00:16, 1.17s/it]\nSampling step 13/25 for section 3\nSampling step 14/25 for section 3\n 48%|████▊ | 12/25 [00:18<00:14, 1.12s/it]\nSampling step 15/25 for section 3\n 56%|█████▌ | 14/25 [00:20<00:11, 1.09s/it]\nSampling step 16/25 for section 3\nSampling step 17/25 for section 3\n 60%|██████ | 15/25 [00:21<00:10, 1.06s/it]\nSampling step 18/25 for section 3\n 68%|██████▊ | 17/25 [00:23<00:08, 1.05s/it]\nSampling step 19/25 for section 3\n 72%|███████▏ | 18/25 [00:24<00:07, 1.03s/it]\nSampling step 20/25 for section 3\n 76%|███████▌ | 19/25 [00:26<00:07, 1.28s/it]\nSampling step 21/25 for section 3\n 80%|████████ | 20/25 [00:27<00:05, 1.20s/it]\nSampling step 22/25 for section 3\n 84%|████████▍ | 21/25 [00:29<00:05, 1.43s/it]\nSampling step 23/25 for section 3\n 88%|████████▊ | 22/25 [00:32<00:05, 1.87s/it]\nSampling step 24/25 for section 3\n 92%|█████████▏| 23/25 [00:35<00:04, 2.19s/it]\nSampling step 25/25 for section 3\n 96%|█████████▌| 24/25 [00:36<00:01, 1.83s/it]\n100%|██████████| 25/25 [00:38<00:00, 1.90s/it]\n100%|██████████| 25/25 [00:38<00:00, 1.54s/it]\nUpdated video saved: /tmp/tmpb9mqq2hs/250514_165205_848_1412_video.mp4, total pixel frames: 105\nProcessing section 4/4 (padding: 0), is_last_section_logic: True\nSampling step 1/25 for section 4\n 0%| | 0/25 [00:00<?, ?it/s]\nSampling step 2/25 for section 4\n 4%|▍ | 1/25 [00:02<00:49, 2.07s/it]\nSampling step 3/25 for section 4\n 8%|▊ | 2/25 [00:05<01:00, 2.63s/it]\nSampling step 4/25 for section 4\n 12%|█▏ | 3/25 [00:08<01:01, 2.81s/it]\nSampling step 5/25 for section 4\n 16%|█▌ | 4/25 [00:09<00:43, 2.07s/it]\nSampling step 6/25 for section 4\n 20%|██ | 5/25 [00:11<00:41, 2.08s/it]\nSampling step 7/25 for section 4\nSampling step 8/25 for section 4\n 24%|██▍ | 6/25 [00:12<00:32, 1.69s/it]\nSampling step 9/25 for section 4\n 32%|███▏ | 8/25 [00:14<00:23, 1.37s/it]\nSampling step 10/25 for section 4\nSampling step 11/25 for section 4\n 36%|███▌ | 9/25 [00:15<00:20, 1.26s/it]\nSampling step 12/25 for section 4\n 44%|████▍ | 11/25 [00:17<00:16, 1.17s/it]\nSampling step 13/25 for section 4\nSampling step 14/25 for section 4\n 48%|████▊ | 12/25 [00:18<00:14, 1.12s/it]\nSampling step 15/25 for section 4\n 56%|█████▌ | 14/25 [00:20<00:11, 1.09s/it]\nSampling step 16/25 for section 4\nSampling step 17/25 for section 4\n 60%|██████ | 15/25 [00:21<00:10, 1.06s/it]\nSampling step 18/25 for section 4\n 68%|██████▊ | 17/25 [00:23<00:08, 1.05s/it]\nSampling step 19/25 for section 4\n 72%|███████▏ | 18/25 [00:24<00:07, 1.03s/it]\nSampling step 20/25 for section 4\n 76%|███████▌ | 19/25 [00:26<00:07, 1.28s/it]\nSampling step 21/25 for section 4\n 80%|████████ | 20/25 [00:27<00:05, 1.19s/it]\nSampling step 22/25 for section 4\n 84%|████████▍ | 21/25 [00:29<00:05, 1.43s/it]\nSampling step 23/25 for section 4\n 88%|████████▊ | 22/25 [00:32<00:05, 1.87s/it]\nSampling step 24/25 for section 4\n 92%|█████████▏| 23/25 [00:35<00:04, 2.19s/it]\nSampling step 25/25 for section 4\n 96%|█████████▌| 24/25 [00:36<00:01, 1.84s/it]\n100%|██████████| 25/25 [00:38<00:00, 1.91s/it]\n100%|██████████| 25/25 [00:38<00:00, 1.54s/it]\nUpdated video saved: /tmp/tmpb9mqq2hs/250514_165205_848_1412_video.mp4, total pixel frames: 145", "metrics": { "predict_time": 186.582164167, "total_time": 391.132582 }, "output": "https://replicate.delivery/yhqm/L6Z4WukS7f0bDat22yVqCniRS5y8t1Q18nIDXM524Op35TWKA/250514_165205_848_1412_video.mp4", "started_at": "2025-05-14T16:52:04.886418Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/qoxq-nh2bt26rdv7fet6g5hnjnmxlsc5gpebj37hekagnrdvzb6wcw3ja", "get": "https://api.replicate.com/v1/predictions/3wzdrc5zj1rj20cpsys9283myg", "cancel": "https://api.replicate.com/v1/predictions/3wzdrc5zj1rj20cpsys9283myg/cancel" }, "version": "b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f" }
Generated inUsing random seed: 764782296 Encoding text prompts... Processing input image... Encoding initial image with VAE... Encoding image with CLIP Vision model... Starting video generation loop... Processing section 1/4 (padding: 3), is_last_section_logic: False Sampling step 1/25 for section 1 0%| | 0/25 [00:00<?, ?it/s] Sampling step 2/25 for section 1 4%|▍ | 1/25 [00:03<01:13, 3.08s/it] Sampling step 3/25 for section 1 8%|▊ | 2/25 [00:05<00:57, 2.48s/it] Sampling step 4/25 for section 1 12%|█▏ | 3/25 [00:08<00:59, 2.72s/it] Sampling step 5/25 for section 1 Sampling step 6/25 for section 1 16%|█▌ | 4/25 [00:09<00:42, 2.02s/it] Sampling step 7/25 for section 1 24%|██▍ | 6/25 [00:11<00:28, 1.50s/it] Sampling step 8/25 for section 1 Sampling step 9/25 for section 1 28%|██▊ | 7/25 [00:12<00:24, 1.34s/it] Sampling step 10/25 for section 1 36%|███▌ | 9/25 [00:14<00:19, 1.21s/it] Sampling step 11/25 for section 1 Sampling step 12/25 for section 1 40%|████ | 10/25 [00:15<00:17, 1.14s/it] Sampling step 13/25 for section 1 48%|████▊ | 12/25 [00:17<00:14, 1.10s/it] Sampling step 14/25 for section 1 Sampling step 15/25 for section 1 52%|█████▏ | 13/25 [00:18<00:12, 1.06s/it] Sampling step 16/25 for section 1 60%|██████ | 15/25 [00:20<00:10, 1.05s/it] Sampling step 17/25 for section 1 Sampling step 18/25 for section 1 64%|██████▍ | 16/25 [00:21<00:09, 1.03s/it] Sampling step 19/25 for section 1 72%|███████▏ | 18/25 [00:23<00:07, 1.03s/it] Sampling step 20/25 for section 1 76%|███████▌ | 19/25 [00:24<00:06, 1.01s/it] Sampling step 21/25 for section 1 80%|████████ | 20/25 [00:26<00:06, 1.26s/it] Sampling step 22/25 for section 1 84%|████████▍ | 21/25 [00:27<00:04, 1.18s/it] Sampling step 23/25 for section 1 88%|████████▊ | 22/25 [00:29<00:04, 1.42s/it] Sampling step 24/25 for section 1 92%|█████████▏| 23/25 [00:32<00:03, 1.85s/it] Sampling step 25/25 for section 1 96%|█████████▌| 24/25 [00:33<00:01, 1.59s/it] 100%|██████████| 25/25 [00:35<00:00, 1.73s/it] 100%|██████████| 25/25 [00:35<00:00, 1.41s/it] /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages/torchvision/io/_video_deprecation_warning.py:5: UserWarning: The video decoding and encoding capabilities of torchvision are deprecated from version 0.22 and will be removed in version 0.24. We recommend that you migrate to TorchCodec, where we'll consolidate the future decoding/encoding capabilities of PyTorch: https://github.com/pytorch/torchcodec warnings.warn( Updated video saved: /tmp/tmpb9mqq2hs/250514_165205_848_1412_video.mp4, total pixel frames: 33 Processing section 2/4 (padding: 2), is_last_section_logic: False Sampling step 1/25 for section 2 0%| | 0/25 [00:00<?, ?it/s] Sampling step 2/25 for section 2 4%|▍ | 1/25 [00:02<00:49, 2.07s/it] Sampling step 3/25 for section 2 8%|▊ | 2/25 [00:05<01:00, 2.63s/it] Sampling step 4/25 for section 2 12%|█▏ | 3/25 [00:08<01:01, 2.81s/it] Sampling step 5/25 for section 2 16%|█▌ | 4/25 [00:09<00:43, 2.07s/it] Sampling step 6/25 for section 2 20%|██ | 5/25 [00:11<00:41, 2.08s/it] Sampling step 7/25 for section 2 Sampling step 8/25 for section 2 24%|██▍ | 6/25 [00:12<00:32, 1.69s/it] Sampling step 9/25 for section 2 32%|███▏ | 8/25 [00:14<00:23, 1.37s/it] Sampling step 10/25 for section 2 Sampling step 11/25 for section 2 36%|███▌ | 9/25 [00:15<00:20, 1.26s/it] Sampling step 12/25 for section 2 44%|████▍ | 11/25 [00:17<00:16, 1.17s/it] Sampling step 13/25 for section 2 Sampling step 14/25 for section 2 48%|████▊ | 12/25 [00:18<00:14, 1.12s/it] Sampling step 15/25 for section 2 56%|█████▌ | 14/25 [00:20<00:11, 1.09s/it] Sampling step 16/25 for section 2 Sampling step 17/25 for section 2 60%|██████ | 15/25 [00:21<00:10, 1.06s/it] Sampling step 18/25 for section 2 68%|██████▊ | 17/25 [00:23<00:08, 1.05s/it] Sampling step 19/25 for section 2 72%|███████▏ | 18/25 [00:24<00:07, 1.03s/it] Sampling step 20/25 for section 2 76%|███████▌ | 19/25 [00:26<00:07, 1.28s/it] Sampling step 21/25 for section 2 80%|████████ | 20/25 [00:27<00:05, 1.20s/it] Sampling step 22/25 for section 2 84%|████████▍ | 21/25 [00:29<00:05, 1.43s/it] Sampling step 23/25 for section 2 88%|████████▊ | 22/25 [00:32<00:05, 1.87s/it] Sampling step 24/25 for section 2 92%|█████████▏| 23/25 [00:35<00:04, 2.19s/it] Sampling step 25/25 for section 2 96%|█████████▌| 24/25 [00:36<00:01, 1.84s/it] 100%|██████████| 25/25 [00:38<00:00, 1.91s/it] 100%|██████████| 25/25 [00:38<00:00, 1.54s/it] Updated video saved: /tmp/tmpb9mqq2hs/250514_165205_848_1412_video.mp4, total pixel frames: 69 Processing section 3/4 (padding: 1), is_last_section_logic: False Sampling step 1/25 for section 3 0%| | 0/25 [00:00<?, ?it/s] Sampling step 2/25 for section 3 4%|▍ | 1/25 [00:02<00:49, 2.07s/it] Sampling step 3/25 for section 3 8%|▊ | 2/25 [00:05<01:00, 2.63s/it] Sampling step 4/25 for section 3 12%|█▏ | 3/25 [00:08<01:01, 2.81s/it] Sampling step 5/25 for section 3 16%|█▌ | 4/25 [00:09<00:43, 2.07s/it] Sampling step 6/25 for section 3 20%|██ | 5/25 [00:11<00:41, 2.08s/it] Sampling step 7/25 for section 3 Sampling step 8/25 for section 3 24%|██▍ | 6/25 [00:12<00:32, 1.69s/it] Sampling step 9/25 for section 3 32%|███▏ | 8/25 [00:14<00:23, 1.37s/it] Sampling step 10/25 for section 3 Sampling step 11/25 for section 3 36%|███▌ | 9/25 [00:15<00:20, 1.26s/it] Sampling step 12/25 for section 3 44%|████▍ | 11/25 [00:17<00:16, 1.17s/it] Sampling step 13/25 for section 3 Sampling step 14/25 for section 3 48%|████▊ | 12/25 [00:18<00:14, 1.12s/it] Sampling step 15/25 for section 3 56%|█████▌ | 14/25 [00:20<00:11, 1.09s/it] Sampling step 16/25 for section 3 Sampling step 17/25 for section 3 60%|██████ | 15/25 [00:21<00:10, 1.06s/it] Sampling step 18/25 for section 3 68%|██████▊ | 17/25 [00:23<00:08, 1.05s/it] Sampling step 19/25 for section 3 72%|███████▏ | 18/25 [00:24<00:07, 1.03s/it] Sampling step 20/25 for section 3 76%|███████▌ | 19/25 [00:26<00:07, 1.28s/it] Sampling step 21/25 for section 3 80%|████████ | 20/25 [00:27<00:05, 1.20s/it] Sampling step 22/25 for section 3 84%|████████▍ | 21/25 [00:29<00:05, 1.43s/it] Sampling step 23/25 for section 3 88%|████████▊ | 22/25 [00:32<00:05, 1.87s/it] Sampling step 24/25 for section 3 92%|█████████▏| 23/25 [00:35<00:04, 2.19s/it] Sampling step 25/25 for section 3 96%|█████████▌| 24/25 [00:36<00:01, 1.83s/it] 100%|██████████| 25/25 [00:38<00:00, 1.90s/it] 100%|██████████| 25/25 [00:38<00:00, 1.54s/it] Updated video saved: /tmp/tmpb9mqq2hs/250514_165205_848_1412_video.mp4, total pixel frames: 105 Processing section 4/4 (padding: 0), is_last_section_logic: True Sampling step 1/25 for section 4 0%| | 0/25 [00:00<?, ?it/s] Sampling step 2/25 for section 4 4%|▍ | 1/25 [00:02<00:49, 2.07s/it] Sampling step 3/25 for section 4 8%|▊ | 2/25 [00:05<01:00, 2.63s/it] Sampling step 4/25 for section 4 12%|█▏ | 3/25 [00:08<01:01, 2.81s/it] Sampling step 5/25 for section 4 16%|█▌ | 4/25 [00:09<00:43, 2.07s/it] Sampling step 6/25 for section 4 20%|██ | 5/25 [00:11<00:41, 2.08s/it] Sampling step 7/25 for section 4 Sampling step 8/25 for section 4 24%|██▍ | 6/25 [00:12<00:32, 1.69s/it] Sampling step 9/25 for section 4 32%|███▏ | 8/25 [00:14<00:23, 1.37s/it] Sampling step 10/25 for section 4 Sampling step 11/25 for section 4 36%|███▌ | 9/25 [00:15<00:20, 1.26s/it] Sampling step 12/25 for section 4 44%|████▍ | 11/25 [00:17<00:16, 1.17s/it] Sampling step 13/25 for section 4 Sampling step 14/25 for section 4 48%|████▊ | 12/25 [00:18<00:14, 1.12s/it] Sampling step 15/25 for section 4 56%|█████▌ | 14/25 [00:20<00:11, 1.09s/it] Sampling step 16/25 for section 4 Sampling step 17/25 for section 4 60%|██████ | 15/25 [00:21<00:10, 1.06s/it] Sampling step 18/25 for section 4 68%|██████▊ | 17/25 [00:23<00:08, 1.05s/it] Sampling step 19/25 for section 4 72%|███████▏ | 18/25 [00:24<00:07, 1.03s/it] Sampling step 20/25 for section 4 76%|███████▌ | 19/25 [00:26<00:07, 1.28s/it] Sampling step 21/25 for section 4 80%|████████ | 20/25 [00:27<00:05, 1.19s/it] Sampling step 22/25 for section 4 84%|████████▍ | 21/25 [00:29<00:05, 1.43s/it] Sampling step 23/25 for section 4 88%|████████▊ | 22/25 [00:32<00:05, 1.87s/it] Sampling step 24/25 for section 4 92%|█████████▏| 23/25 [00:35<00:04, 2.19s/it] Sampling step 25/25 for section 4 96%|█████████▌| 24/25 [00:36<00:01, 1.84s/it] 100%|██████████| 25/25 [00:38<00:00, 1.91s/it] 100%|██████████| 25/25 [00:38<00:00, 1.54s/it] Updated video saved: /tmp/tmpb9mqq2hs/250514_165205_848_1412_video.mp4, total pixel frames: 145
Prediction
zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409fID7qej6vqp3srj20cpsys85nky9wStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- steps
- 25
- prompt
- A cute baby penguin chick dances
- mp4_crf
- 23
- cfg_scale
- 1
- cfg_rescale
- 0
- input_image
- MjM4OWFhYmItNmMxNS00MDUyLWFhNjgtM2UxOWMyZTU3MTVj
- use_teacache
- negative_prompt
- latent_window_size
- 9
- distilled_cfg_scale
- 10
- total_video_length_seconds
- 4
{ "steps": 25, "prompt": "A cute baby penguin chick dances", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://api.replicate.com/v1/files/MjM4OWFhYmItNmMxNS00MDUyLWFhNjgtM2UxOWMyZTU3MTVj", "use_teacache": true, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 4 }
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 zsxkib/framepack using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f", { input: { steps: 25, prompt: "A cute baby penguin chick dances", mp4_crf: 23, cfg_scale: 1, cfg_rescale: 0, input_image: "https://api.replicate.com/v1/files/MjM4OWFhYmItNmMxNS00MDUyLWFhNjgtM2UxOWMyZTU3MTVj", use_teacache: true, negative_prompt: "", latent_window_size: 9, distilled_cfg_scale: 10, total_video_length_seconds: 4 } } ); // 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 zsxkib/framepack using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f", input={ "steps": 25, "prompt": "A cute baby penguin chick dances", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://api.replicate.com/v1/files/MjM4OWFhYmItNmMxNS00MDUyLWFhNjgtM2UxOWMyZTU3MTVj", "use_teacache": True, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 4 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run zsxkib/framepack 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": "zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f", "input": { "steps": 25, "prompt": "A cute baby penguin chick dances", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://api.replicate.com/v1/files/MjM4OWFhYmItNmMxNS00MDUyLWFhNjgtM2UxOWMyZTU3MTVj", "use_teacache": true, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 4 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-05-14T16:55:33.015282Z", "created_at": "2025-05-14T16:48:54.302000Z", "data_removed": false, "error": null, "id": "7qej6vqp3srj20cpsys85nky9w", "input": { "steps": 25, "prompt": "A cute baby penguin chick dances", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://api.replicate.com/v1/files/MjM4OWFhYmItNmMxNS00MDUyLWFhNjgtM2UxOWMyZTU3MTVj", "use_teacache": true, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 4 }, "logs": "Using random seed: 3699077834\nEncoding text prompts...\nProcessing input image...\nEncoding initial image with VAE...\nEncoding image with CLIP Vision model...\nStarting video generation loop...\nProcessing section 1/3 (padding: 2), is_last_section_logic: False\nSampling step 1/25 for section 1\n 0%| | 0/25 [00:00<?, ?it/s]\nSampling step 2/25 for section 1\n 4%|▍ | 1/25 [00:03<01:14, 3.12s/it]\nSampling step 3/25 for section 1\n 8%|▊ | 2/25 [00:05<00:57, 2.51s/it]\nSampling step 4/25 for section 1\n 12%|█▏ | 3/25 [00:08<01:00, 2.75s/it]\nSampling step 5/25 for section 1\n 16%|█▌ | 4/25 [00:09<00:42, 2.04s/it]\nSampling step 6/25 for section 1\n 20%|██ | 5/25 [00:11<00:41, 2.06s/it]\nSampling step 7/25 for section 1\nSampling step 8/25 for section 1\n 24%|██▍ | 6/25 [00:12<00:31, 1.68s/it]\nSampling step 9/25 for section 1\n 32%|███▏ | 8/25 [00:14<00:23, 1.37s/it]\nSampling step 10/25 for section 1\nSampling step 11/25 for section 1\n 36%|███▌ | 9/25 [00:15<00:20, 1.26s/it]\nSampling step 12/25 for section 1\n 44%|████▍ | 11/25 [00:17<00:16, 1.17s/it]\nSampling step 13/25 for section 1\nSampling step 14/25 for section 1\n 48%|████▊ | 12/25 [00:18<00:14, 1.12s/it]\nSampling step 15/25 for section 1\n 56%|█████▌ | 14/25 [00:20<00:11, 1.09s/it]\nSampling step 16/25 for section 1\nSampling step 17/25 for section 1\n 60%|██████ | 15/25 [00:21<00:10, 1.06s/it]\nSampling step 18/25 for section 1\n 68%|██████▊ | 17/25 [00:23<00:08, 1.05s/it]\nSampling step 19/25 for section 1\n 72%|███████▏ | 18/25 [00:24<00:07, 1.03s/it]\nSampling step 20/25 for section 1\n 76%|███████▌ | 19/25 [00:26<00:07, 1.28s/it]\nSampling step 21/25 for section 1\n 80%|████████ | 20/25 [00:27<00:05, 1.20s/it]\nSampling step 22/25 for section 1\n 84%|████████▍ | 21/25 [00:29<00:05, 1.43s/it]\nSampling step 23/25 for section 1\n 88%|████████▊ | 22/25 [00:30<00:03, 1.30s/it]\nSampling step 24/25 for section 1\n 92%|█████████▏| 23/25 [00:32<00:03, 1.52s/it]\nSampling step 25/25 for section 1\n 96%|█████████▌| 24/25 [00:33<00:01, 1.36s/it]\n100%|██████████| 25/25 [00:35<00:00, 1.57s/it]\n100%|██████████| 25/25 [00:35<00:00, 1.42s/it]\n/root/.pyenv/versions/3.11.10/lib/python3.11/site-packages/torchvision/io/_video_deprecation_warning.py:5: UserWarning: The video decoding and encoding capabilities of torchvision are deprecated from version 0.22 and will be removed in version 0.24. We recommend that you migrate to TorchCodec, where we'll consolidate the future decoding/encoding capabilities of PyTorch: https://github.com/pytorch/torchcodec\nwarnings.warn(\nUpdated video saved: /tmp/tmpoxo1wuoa/250514_165315_223_4887_video.mp4, total pixel frames: 33\nProcessing section 2/3 (padding: 1), is_last_section_logic: False\nSampling step 1/25 for section 2\n 0%| | 0/25 [00:00<?, ?it/s]\nSampling step 2/25 for section 2\n 4%|▍ | 1/25 [00:02<00:50, 2.08s/it]\nSampling step 3/25 for section 2\n 8%|▊ | 2/25 [00:05<01:00, 2.64s/it]\nSampling step 4/25 for section 2\n 12%|█▏ | 3/25 [00:08<01:02, 2.82s/it]\nSampling step 5/25 for section 2\n 16%|█▌ | 4/25 [00:09<00:43, 2.09s/it]\nSampling step 6/25 for section 2\n 20%|██ | 5/25 [00:11<00:41, 2.09s/it]\nSampling step 7/25 for section 2\nSampling step 8/25 for section 2\n 24%|██▍ | 6/25 [00:12<00:32, 1.70s/it]\nSampling step 9/25 for section 2\n 32%|███▏ | 8/25 [00:14<00:23, 1.38s/it]\nSampling step 10/25 for section 2\nSampling step 11/25 for section 2\n 36%|███▌ | 9/25 [00:15<00:20, 1.27s/it]\nSampling step 12/25 for section 2\n 44%|████▍ | 11/25 [00:17<00:16, 1.18s/it]\nSampling step 13/25 for section 2\nSampling step 14/25 for section 2\n 48%|████▊ | 12/25 [00:18<00:14, 1.12s/it]\nSampling step 15/25 for section 2\n 56%|█████▌ | 14/25 [00:20<00:12, 1.10s/it]\nSampling step 16/25 for section 2\nSampling step 17/25 for section 2\n 60%|██████ | 15/25 [00:21<00:10, 1.06s/it]\nSampling step 18/25 for section 2\n 68%|██████▊ | 17/25 [00:23<00:08, 1.06s/it]\nSampling step 19/25 for section 2\n 72%|███████▏ | 18/25 [00:24<00:07, 1.04s/it]\nSampling step 20/25 for section 2\n 76%|███████▌ | 19/25 [00:26<00:07, 1.29s/it]\nSampling step 21/25 for section 2\n 80%|████████ | 20/25 [00:27<00:06, 1.20s/it]\nSampling step 22/25 for section 2\n 84%|████████▍ | 21/25 [00:29<00:05, 1.44s/it]\nSampling step 23/25 for section 2\n 88%|████████▊ | 22/25 [00:32<00:05, 1.88s/it]\nSampling step 24/25 for section 2\n 92%|█████████▏| 23/25 [00:35<00:04, 2.21s/it]\nSampling step 25/25 for section 2\n 96%|█████████▌| 24/25 [00:36<00:01, 1.85s/it]\n100%|██████████| 25/25 [00:38<00:00, 1.92s/it]\n100%|██████████| 25/25 [00:38<00:00, 1.55s/it]\nUpdated video saved: /tmp/tmpoxo1wuoa/250514_165315_223_4887_video.mp4, total pixel frames: 69\nProcessing section 3/3 (padding: 0), is_last_section_logic: True\nSampling step 1/25 for section 3\n 0%| | 0/25 [00:00<?, ?it/s]\nSampling step 2/25 for section 3\n 4%|▍ | 1/25 [00:02<00:50, 2.09s/it]\nSampling step 3/25 for section 3\n 8%|▊ | 2/25 [00:05<01:00, 2.65s/it]\nSampling step 4/25 for section 3\n 12%|█▏ | 3/25 [00:08<01:02, 2.83s/it]\nSampling step 5/25 for section 3\n 16%|█▌ | 4/25 [00:09<00:43, 2.09s/it]\nSampling step 6/25 for section 3\n 20%|██ | 5/25 [00:11<00:41, 2.09s/it]\nSampling step 7/25 for section 3\nSampling step 8/25 for section 3\n 24%|██▍ | 6/25 [00:12<00:32, 1.70s/it]\nSampling step 9/25 for section 3\n 32%|███▏ | 8/25 [00:14<00:23, 1.38s/it]\nSampling step 10/25 for section 3\nSampling step 11/25 for section 3\n 36%|███▌ | 9/25 [00:15<00:20, 1.27s/it]\nSampling step 12/25 for section 3\n 44%|████▍ | 11/25 [00:17<00:16, 1.18s/it]\nSampling step 13/25 for section 3\nSampling step 14/25 for section 3\n 48%|████▊ | 12/25 [00:18<00:14, 1.13s/it]\nSampling step 15/25 for section 3\n 56%|█████▌ | 14/25 [00:20<00:12, 1.10s/it]\nSampling step 16/25 for section 3\nSampling step 17/25 for section 3\n 60%|██████ | 15/25 [00:21<00:10, 1.07s/it]\nSampling step 18/25 for section 3\n 68%|██████▊ | 17/25 [00:23<00:08, 1.06s/it]\nSampling step 19/25 for section 3\n 72%|███████▏ | 18/25 [00:24<00:07, 1.04s/it]\nSampling step 20/25 for section 3\n 76%|███████▌ | 19/25 [00:26<00:07, 1.29s/it]\nSampling step 21/25 for section 3\n 80%|████████ | 20/25 [00:27<00:06, 1.20s/it]\nSampling step 22/25 for section 3\n 84%|████████▍ | 21/25 [00:29<00:05, 1.44s/it]\nSampling step 23/25 for section 3\n 88%|████████▊ | 22/25 [00:32<00:05, 1.88s/it]\nSampling step 24/25 for section 3\n 92%|█████████▏| 23/25 [00:35<00:04, 2.21s/it]\nSampling step 25/25 for section 3\n 96%|█████████▌| 24/25 [00:36<00:01, 1.85s/it]\n100%|██████████| 25/25 [00:38<00:00, 1.92s/it]\n100%|██████████| 25/25 [00:38<00:00, 1.55s/it]\nUpdated video saved: /tmp/tmpoxo1wuoa/250514_165315_223_4887_video.mp4, total pixel frames: 109", "metrics": { "predict_time": 138.529842389, "total_time": 398.713282 }, "output": "https://replicate.delivery/yhqm/NEhokFelSI1feIEvBJ1mKIixcfx6kfffsiq0MGfUNeAzKoPZpA/250514_165315_223_4887_video.mp4", "started_at": "2025-05-14T16:53:14.485440Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/qoxq-p67glpak3xi232ku224di2d6vfm54n47oervdgxjz7mltmhptuoq", "get": "https://api.replicate.com/v1/predictions/7qej6vqp3srj20cpsys85nky9w", "cancel": "https://api.replicate.com/v1/predictions/7qej6vqp3srj20cpsys85nky9w/cancel" }, "version": "b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f" }
Generated inUsing random seed: 3699077834 Encoding text prompts... Processing input image... Encoding initial image with VAE... Encoding image with CLIP Vision model... Starting video generation loop... Processing section 1/3 (padding: 2), is_last_section_logic: False Sampling step 1/25 for section 1 0%| | 0/25 [00:00<?, ?it/s] Sampling step 2/25 for section 1 4%|▍ | 1/25 [00:03<01:14, 3.12s/it] Sampling step 3/25 for section 1 8%|▊ | 2/25 [00:05<00:57, 2.51s/it] Sampling step 4/25 for section 1 12%|█▏ | 3/25 [00:08<01:00, 2.75s/it] Sampling step 5/25 for section 1 16%|█▌ | 4/25 [00:09<00:42, 2.04s/it] Sampling step 6/25 for section 1 20%|██ | 5/25 [00:11<00:41, 2.06s/it] Sampling step 7/25 for section 1 Sampling step 8/25 for section 1 24%|██▍ | 6/25 [00:12<00:31, 1.68s/it] Sampling step 9/25 for section 1 32%|███▏ | 8/25 [00:14<00:23, 1.37s/it] Sampling step 10/25 for section 1 Sampling step 11/25 for section 1 36%|███▌ | 9/25 [00:15<00:20, 1.26s/it] Sampling step 12/25 for section 1 44%|████▍ | 11/25 [00:17<00:16, 1.17s/it] Sampling step 13/25 for section 1 Sampling step 14/25 for section 1 48%|████▊ | 12/25 [00:18<00:14, 1.12s/it] Sampling step 15/25 for section 1 56%|█████▌ | 14/25 [00:20<00:11, 1.09s/it] Sampling step 16/25 for section 1 Sampling step 17/25 for section 1 60%|██████ | 15/25 [00:21<00:10, 1.06s/it] Sampling step 18/25 for section 1 68%|██████▊ | 17/25 [00:23<00:08, 1.05s/it] Sampling step 19/25 for section 1 72%|███████▏ | 18/25 [00:24<00:07, 1.03s/it] Sampling step 20/25 for section 1 76%|███████▌ | 19/25 [00:26<00:07, 1.28s/it] Sampling step 21/25 for section 1 80%|████████ | 20/25 [00:27<00:05, 1.20s/it] Sampling step 22/25 for section 1 84%|████████▍ | 21/25 [00:29<00:05, 1.43s/it] Sampling step 23/25 for section 1 88%|████████▊ | 22/25 [00:30<00:03, 1.30s/it] Sampling step 24/25 for section 1 92%|█████████▏| 23/25 [00:32<00:03, 1.52s/it] Sampling step 25/25 for section 1 96%|█████████▌| 24/25 [00:33<00:01, 1.36s/it] 100%|██████████| 25/25 [00:35<00:00, 1.57s/it] 100%|██████████| 25/25 [00:35<00:00, 1.42s/it] /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages/torchvision/io/_video_deprecation_warning.py:5: UserWarning: The video decoding and encoding capabilities of torchvision are deprecated from version 0.22 and will be removed in version 0.24. We recommend that you migrate to TorchCodec, where we'll consolidate the future decoding/encoding capabilities of PyTorch: https://github.com/pytorch/torchcodec warnings.warn( Updated video saved: /tmp/tmpoxo1wuoa/250514_165315_223_4887_video.mp4, total pixel frames: 33 Processing section 2/3 (padding: 1), is_last_section_logic: False Sampling step 1/25 for section 2 0%| | 0/25 [00:00<?, ?it/s] Sampling step 2/25 for section 2 4%|▍ | 1/25 [00:02<00:50, 2.08s/it] Sampling step 3/25 for section 2 8%|▊ | 2/25 [00:05<01:00, 2.64s/it] Sampling step 4/25 for section 2 12%|█▏ | 3/25 [00:08<01:02, 2.82s/it] Sampling step 5/25 for section 2 16%|█▌ | 4/25 [00:09<00:43, 2.09s/it] Sampling step 6/25 for section 2 20%|██ | 5/25 [00:11<00:41, 2.09s/it] Sampling step 7/25 for section 2 Sampling step 8/25 for section 2 24%|██▍ | 6/25 [00:12<00:32, 1.70s/it] Sampling step 9/25 for section 2 32%|███▏ | 8/25 [00:14<00:23, 1.38s/it] Sampling step 10/25 for section 2 Sampling step 11/25 for section 2 36%|███▌ | 9/25 [00:15<00:20, 1.27s/it] Sampling step 12/25 for section 2 44%|████▍ | 11/25 [00:17<00:16, 1.18s/it] Sampling step 13/25 for section 2 Sampling step 14/25 for section 2 48%|████▊ | 12/25 [00:18<00:14, 1.12s/it] Sampling step 15/25 for section 2 56%|█████▌ | 14/25 [00:20<00:12, 1.10s/it] Sampling step 16/25 for section 2 Sampling step 17/25 for section 2 60%|██████ | 15/25 [00:21<00:10, 1.06s/it] Sampling step 18/25 for section 2 68%|██████▊ | 17/25 [00:23<00:08, 1.06s/it] Sampling step 19/25 for section 2 72%|███████▏ | 18/25 [00:24<00:07, 1.04s/it] Sampling step 20/25 for section 2 76%|███████▌ | 19/25 [00:26<00:07, 1.29s/it] Sampling step 21/25 for section 2 80%|████████ | 20/25 [00:27<00:06, 1.20s/it] Sampling step 22/25 for section 2 84%|████████▍ | 21/25 [00:29<00:05, 1.44s/it] Sampling step 23/25 for section 2 88%|████████▊ | 22/25 [00:32<00:05, 1.88s/it] Sampling step 24/25 for section 2 92%|█████████▏| 23/25 [00:35<00:04, 2.21s/it] Sampling step 25/25 for section 2 96%|█████████▌| 24/25 [00:36<00:01, 1.85s/it] 100%|██████████| 25/25 [00:38<00:00, 1.92s/it] 100%|██████████| 25/25 [00:38<00:00, 1.55s/it] Updated video saved: /tmp/tmpoxo1wuoa/250514_165315_223_4887_video.mp4, total pixel frames: 69 Processing section 3/3 (padding: 0), is_last_section_logic: True Sampling step 1/25 for section 3 0%| | 0/25 [00:00<?, ?it/s] Sampling step 2/25 for section 3 4%|▍ | 1/25 [00:02<00:50, 2.09s/it] Sampling step 3/25 for section 3 8%|▊ | 2/25 [00:05<01:00, 2.65s/it] Sampling step 4/25 for section 3 12%|█▏ | 3/25 [00:08<01:02, 2.83s/it] Sampling step 5/25 for section 3 16%|█▌ | 4/25 [00:09<00:43, 2.09s/it] Sampling step 6/25 for section 3 20%|██ | 5/25 [00:11<00:41, 2.09s/it] Sampling step 7/25 for section 3 Sampling step 8/25 for section 3 24%|██▍ | 6/25 [00:12<00:32, 1.70s/it] Sampling step 9/25 for section 3 32%|███▏ | 8/25 [00:14<00:23, 1.38s/it] Sampling step 10/25 for section 3 Sampling step 11/25 for section 3 36%|███▌ | 9/25 [00:15<00:20, 1.27s/it] Sampling step 12/25 for section 3 44%|████▍ | 11/25 [00:17<00:16, 1.18s/it] Sampling step 13/25 for section 3 Sampling step 14/25 for section 3 48%|████▊ | 12/25 [00:18<00:14, 1.13s/it] Sampling step 15/25 for section 3 56%|█████▌ | 14/25 [00:20<00:12, 1.10s/it] Sampling step 16/25 for section 3 Sampling step 17/25 for section 3 60%|██████ | 15/25 [00:21<00:10, 1.07s/it] Sampling step 18/25 for section 3 68%|██████▊ | 17/25 [00:23<00:08, 1.06s/it] Sampling step 19/25 for section 3 72%|███████▏ | 18/25 [00:24<00:07, 1.04s/it] Sampling step 20/25 for section 3 76%|███████▌ | 19/25 [00:26<00:07, 1.29s/it] Sampling step 21/25 for section 3 80%|████████ | 20/25 [00:27<00:06, 1.20s/it] Sampling step 22/25 for section 3 84%|████████▍ | 21/25 [00:29<00:05, 1.44s/it] Sampling step 23/25 for section 3 88%|████████▊ | 22/25 [00:32<00:05, 1.88s/it] Sampling step 24/25 for section 3 92%|█████████▏| 23/25 [00:35<00:04, 2.21s/it] Sampling step 25/25 for section 3 96%|█████████▌| 24/25 [00:36<00:01, 1.85s/it] 100%|██████████| 25/25 [00:38<00:00, 1.92s/it] 100%|██████████| 25/25 [00:38<00:00, 1.55s/it] Updated video saved: /tmp/tmpoxo1wuoa/250514_165315_223_4887_video.mp4, total pixel frames: 109
Prediction
zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409fIDf8j7wqk8zsrj60cpsytvkdzc8gStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedInput
- steps
- 25
- prompt
- A man practices a martial art kata, elegant poses
- mp4_crf
- 23
- cfg_scale
- 1
- cfg_rescale
- 0
- input_image
- YjYyODQ3MmItN2NlOC00ZWRkLWFlZjYtMzIyYTUxMTVjNTk2
- use_teacache
- negative_prompt
- latent_window_size
- 9
- distilled_cfg_scale
- 10
- total_video_length_seconds
- 10
{ "steps": 25, "prompt": "A man practices a martial art kata, elegant poses", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://api.replicate.com/v1/files/YjYyODQ3MmItN2NlOC00ZWRkLWFlZjYtMzIyYTUxMTVjNTk2", "use_teacache": true, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 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 zsxkib/framepack using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f", { input: { steps: 25, prompt: "A man practices a martial art kata, elegant poses", mp4_crf: 23, cfg_scale: 1, cfg_rescale: 0, input_image: "https://api.replicate.com/v1/files/YjYyODQ3MmItN2NlOC00ZWRkLWFlZjYtMzIyYTUxMTVjNTk2", use_teacache: true, negative_prompt: "", latent_window_size: 9, distilled_cfg_scale: 10, total_video_length_seconds: 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 zsxkib/framepack using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f", input={ "steps": 25, "prompt": "A man practices a martial art kata, elegant poses", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://api.replicate.com/v1/files/YjYyODQ3MmItN2NlOC00ZWRkLWFlZjYtMzIyYTUxMTVjNTk2", "use_teacache": True, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 10 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run zsxkib/framepack 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": "zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f", "input": { "steps": 25, "prompt": "A man practices a martial art kata, elegant poses", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://api.replicate.com/v1/files/YjYyODQ3MmItN2NlOC00ZWRkLWFlZjYtMzIyYTUxMTVjNTk2", "use_teacache": true, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 10 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-05-14T17:08:36.979748Z", "created_at": "2025-05-14T16:51:34.782000Z", "data_removed": false, "error": null, "id": "f8j7wqk8zsrj60cpsytvkdzc8g", "input": { "steps": 25, "prompt": "A man practices a martial art kata, elegant poses", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://api.replicate.com/v1/files/YjYyODQ3MmItN2NlOC00ZWRkLWFlZjYtMzIyYTUxMTVjNTk2", "use_teacache": true, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 10 }, "logs": "Using random seed: 655264339\nEncoding text prompts...\nProcessing input image...\nEncoding initial image with VAE...\nEncoding image with CLIP Vision model...\nStarting video generation loop...\nProcessing section 1/8 (padding: 3), is_last_section_logic: False\nSampling step 1/25 for section 1\n 0%| | 0/25 [00:00<?, ?it/s]\nSampling step 2/25 for section 1\n 4%|▍ | 1/25 [00:03<01:12, 3.02s/it]\nSampling step 3/25 for section 1\n 8%|▊ | 2/25 [00:05<00:55, 2.43s/it]\nSampling step 4/25 for section 1\n 12%|█▏ | 3/25 [00:07<00:58, 2.66s/it]\nSampling step 5/25 for section 1\n 16%|█▌ | 4/25 [00:08<00:41, 1.97s/it]\nSampling step 6/25 for section 1\n 20%|██ | 5/25 [00:10<00:39, 1.99s/it]\nSampling step 7/25 for section 1\nSampling step 8/25 for section 1\n 24%|██▍ | 6/25 [00:11<00:30, 1.63s/it]\nSampling step 9/25 for section 1\n 32%|███▏ | 8/25 [00:13<00:22, 1.32s/it]\nSampling step 10/25 for section 1\nSampling step 11/25 for section 1\n 36%|███▌ | 9/25 [00:14<00:19, 1.22s/it]\nSampling step 12/25 for section 1\n 44%|████▍ | 11/25 [00:16<00:15, 1.13s/it]\nSampling step 13/25 for section 1\nSampling step 14/25 for section 1\n 48%|████▊ | 12/25 [00:17<00:14, 1.08s/it]\nSampling step 15/25 for section 1\n 56%|█████▌ | 14/25 [00:19<00:11, 1.06s/it]\nSampling step 16/25 for section 1\nSampling step 17/25 for section 1\n 60%|██████ | 15/25 [00:20<00:10, 1.02s/it]\nSampling step 18/25 for section 1\n 68%|██████▊ | 17/25 [00:22<00:08, 1.02s/it]\nSampling step 19/25 for section 1\n 72%|███████▏ | 18/25 [00:23<00:06, 1.00it/s]\nSampling step 20/25 for section 1\n 76%|███████▌ | 19/25 [00:25<00:07, 1.24s/it]\nSampling step 21/25 for section 1\n 80%|████████ | 20/25 [00:26<00:05, 1.16s/it]\nSampling step 22/25 for section 1\n 84%|████████▍ | 21/25 [00:28<00:05, 1.39s/it]\nSampling step 23/25 for section 1\n 88%|████████▊ | 22/25 [00:29<00:03, 1.26s/it]\nSampling step 24/25 for section 1\n 92%|█████████▏| 23/25 [00:31<00:02, 1.48s/it]\nSampling step 25/25 for section 1\n 96%|█████████▌| 24/25 [00:32<00:01, 1.32s/it]\n100%|██████████| 25/25 [00:34<00:00, 1.52s/it]\n100%|██████████| 25/25 [00:34<00:00, 1.38s/it]\n/root/.pyenv/versions/3.11.10/lib/python3.11/site-packages/torchvision/io/_video_deprecation_warning.py:5: UserWarning: The video decoding and encoding capabilities of torchvision are deprecated from version 0.22 and will be removed in version 0.24. We recommend that you migrate to TorchCodec, where we'll consolidate the future decoding/encoding capabilities of PyTorch: https://github.com/pytorch/torchcodec\nwarnings.warn(\nUpdated video saved: /tmp/tmpkagskgii/250514_170223_397_8579_video.mp4, total pixel frames: 33\nProcessing section 2/8 (padding: 2), is_last_section_logic: False\nSampling step 1/25 for section 2\n 0%| | 0/25 [00:00<?, ?it/s]\nSampling step 2/25 for section 2\n 4%|▍ | 1/25 [00:02<00:48, 2.02s/it]\nSampling step 3/25 for section 2\n 8%|▊ | 2/25 [00:04<00:58, 2.56s/it]\nSampling step 4/25 for section 2\n 12%|█▏ | 3/25 [00:07<01:00, 2.74s/it]\nSampling step 5/25 for section 2\n 16%|█▌ | 4/25 [00:08<00:42, 2.02s/it]\nSampling step 6/25 for section 2\n 20%|██ | 5/25 [00:10<00:40, 2.02s/it]\nSampling step 7/25 for section 2\nSampling step 8/25 for section 2\n 24%|██▍ | 6/25 [00:11<00:31, 1.65s/it]\nSampling step 9/25 for section 2\n 32%|███▏ | 8/25 [00:13<00:22, 1.34s/it]\nSampling step 10/25 for section 2\nSampling step 11/25 for section 2\n 36%|███▌ | 9/25 [00:14<00:19, 1.23s/it]\nSampling step 12/25 for section 2\n 44%|████▍ | 11/25 [00:16<00:15, 1.14s/it]\nSampling step 13/25 for section 2\nSampling step 14/25 for section 2\n 48%|████▊ | 12/25 [00:17<00:14, 1.09s/it]\nSampling step 15/25 for section 2\n 56%|█████▌ | 14/25 [00:19<00:11, 1.06s/it]\nSampling step 16/25 for section 2\nSampling step 17/25 for section 2\n 60%|██████ | 15/25 [00:20<00:10, 1.03s/it]\nSampling step 18/25 for section 2\n 68%|██████▊ | 17/25 [00:22<00:08, 1.03s/it]\nSampling step 19/25 for section 2\n 72%|███████▏ | 18/25 [00:23<00:07, 1.00s/it]\nSampling step 20/25 for section 2\n 76%|███████▌ | 19/25 [00:25<00:07, 1.25s/it]\nSampling step 21/25 for section 2\n 80%|████████ | 20/25 [00:26<00:05, 1.17s/it]\nSampling step 22/25 for section 2\n 84%|████████▍ | 21/25 [00:28<00:05, 1.39s/it]\nSampling step 23/25 for section 2\n 88%|████████▊ | 22/25 [00:31<00:05, 1.82s/it]\nSampling step 24/25 for section 2\n 92%|█████████▏| 23/25 [00:34<00:04, 2.14s/it]\nSampling step 25/25 for section 2\n 96%|█████████▌| 24/25 [00:35<00:01, 1.79s/it]\n100%|██████████| 25/25 [00:37<00:00, 1.86s/it]\n100%|██████████| 25/25 [00:37<00:00, 1.50s/it]\nUpdated video saved: /tmp/tmpkagskgii/250514_170223_397_8579_video.mp4, total pixel frames: 69\nProcessing section 3/8 (padding: 2), is_last_section_logic: False\nSampling step 1/25 for section 3\n 0%| | 0/25 [00:00<?, ?it/s]\nSampling step 2/25 for section 3\n 4%|▍ | 1/25 [00:02<00:48, 2.03s/it]\nSampling step 3/25 for section 3\n 8%|▊ | 2/25 [00:04<00:58, 2.57s/it]\nSampling step 4/25 for section 3\n 12%|█▏ | 3/25 [00:07<01:00, 2.74s/it]\nSampling step 5/25 for section 3\n 16%|█▌ | 4/25 [00:08<00:42, 2.02s/it]\nSampling step 6/25 for section 3\n 20%|██ | 5/25 [00:10<00:40, 2.02s/it]\nSampling step 7/25 for section 3\nSampling step 8/25 for section 3\n 24%|██▍ | 6/25 [00:11<00:31, 1.65s/it]\nSampling step 9/25 for section 3\n 32%|███▏ | 8/25 [00:13<00:22, 1.34s/it]\nSampling step 10/25 for section 3\nSampling step 11/25 for section 3\n 36%|███▌ | 9/25 [00:14<00:19, 1.23s/it]\nSampling step 12/25 for section 3\n 44%|████▍ | 11/25 [00:16<00:15, 1.14s/it]\nSampling step 13/25 for section 3\nSampling step 14/25 for section 3\n 48%|████▊ | 12/25 [00:17<00:14, 1.09s/it]\nSampling step 15/25 for section 3\n 56%|█████▌ | 14/25 [00:19<00:11, 1.06s/it]\nSampling step 16/25 for section 3\nSampling step 17/25 for section 3\n 60%|██████ | 15/25 [00:20<00:10, 1.03s/it]\nSampling step 18/25 for section 3\n 68%|██████▊ | 17/25 [00:22<00:08, 1.03s/it]\nSampling step 19/25 for section 3\n 72%|███████▏ | 18/25 [00:23<00:07, 1.00s/it]\nSampling step 20/25 for section 3\n 76%|███████▌ | 19/25 [00:25<00:07, 1.25s/it]\nSampling step 21/25 for section 3\n 80%|████████ | 20/25 [00:26<00:05, 1.16s/it]\nSampling step 22/25 for section 3\n 84%|████████▍ | 21/25 [00:28<00:05, 1.39s/it]\nSampling step 23/25 for section 3\n 88%|████████▊ | 22/25 [00:31<00:05, 1.82s/it]\nSampling step 24/25 for section 3\n 92%|█████████▏| 23/25 [00:34<00:04, 2.14s/it]\nSampling step 25/25 for section 3\n 96%|█████████▌| 24/25 [00:35<00:01, 1.79s/it]\n100%|██████████| 25/25 [00:37<00:00, 1.86s/it]\n100%|██████████| 25/25 [00:37<00:00, 1.50s/it]\nUpdated video saved: /tmp/tmpkagskgii/250514_170223_397_8579_video.mp4, total pixel frames: 105\nProcessing section 4/8 (padding: 2), is_last_section_logic: False\nSampling step 1/25 for section 4\n 0%| | 0/25 [00:00<?, ?it/s]\nSampling step 2/25 for section 4\n 4%|▍ | 1/25 [00:02<00:48, 2.02s/it]\nSampling step 3/25 for section 4\n 8%|▊ | 2/25 [00:04<00:58, 2.57s/it]\nSampling step 4/25 for section 4\n 12%|█▏ | 3/25 [00:07<01:00, 2.74s/it]\nSampling step 5/25 for section 4\n 16%|█▌ | 4/25 [00:08<00:42, 2.02s/it]\nSampling step 6/25 for section 4\n 20%|██ | 5/25 [00:10<00:40, 2.02s/it]\nSampling step 7/25 for section 4\nSampling step 8/25 for section 4\n 24%|██▍ | 6/25 [00:11<00:31, 1.65s/it]\nSampling step 9/25 for section 4\n 32%|███▏ | 8/25 [00:13<00:22, 1.34s/it]\nSampling step 10/25 for section 4\nSampling step 11/25 for section 4\n 36%|███▌ | 9/25 [00:14<00:19, 1.23s/it]\nSampling step 12/25 for section 4\n 44%|████▍ | 11/25 [00:16<00:15, 1.14s/it]\nSampling step 13/25 for section 4\nSampling step 14/25 for section 4\n 48%|████▊ | 12/25 [00:17<00:14, 1.09s/it]\nSampling step 15/25 for section 4\n 56%|█████▌ | 14/25 [00:19<00:11, 1.06s/it]\nSampling step 16/25 for section 4\nSampling step 17/25 for section 4\n 60%|██████ | 15/25 [00:20<00:10, 1.03s/it]\nSampling step 18/25 for section 4\n 68%|██████▊ | 17/25 [00:22<00:08, 1.03s/it]\nSampling step 19/25 for section 4\n 72%|███████▏ | 18/25 [00:23<00:07, 1.00s/it]\nSampling step 20/25 for section 4\n 76%|███████▌ | 19/25 [00:25<00:07, 1.25s/it]\nSampling step 21/25 for section 4\n 80%|████████ | 20/25 [00:26<00:05, 1.17s/it]\nSampling step 22/25 for section 4\n 84%|████████▍ | 21/25 [00:28<00:05, 1.40s/it]\nSampling step 23/25 for section 4\n 88%|████████▊ | 22/25 [00:31<00:05, 1.82s/it]\nSampling step 24/25 for section 4\n 92%|█████████▏| 23/25 [00:34<00:04, 2.14s/it]\nSampling step 25/25 for section 4\n 96%|█████████▌| 24/25 [00:35<00:01, 1.79s/it]\n100%|██████████| 25/25 [00:37<00:00, 1.86s/it]\n100%|██████████| 25/25 [00:37<00:00, 1.50s/it]\nUpdated video saved: /tmp/tmpkagskgii/250514_170223_397_8579_video.mp4, total pixel frames: 141\nProcessing section 5/8 (padding: 2), is_last_section_logic: False\nSampling step 1/25 for section 5\n 0%| | 0/25 [00:00<?, ?it/s]\nSampling step 2/25 for section 5\n 4%|▍ | 1/25 [00:02<00:48, 2.02s/it]\nSampling step 3/25 for section 5\n 8%|▊ | 2/25 [00:04<00:59, 2.57s/it]\nSampling step 4/25 for section 5\n 12%|█▏ | 3/25 [00:07<01:00, 2.74s/it]\nSampling step 5/25 for section 5\n 16%|█▌ | 4/25 [00:08<00:42, 2.02s/it]\nSampling step 6/25 for section 5\n 20%|██ | 5/25 [00:10<00:40, 2.03s/it]\nSampling step 7/25 for section 5\nSampling step 8/25 for section 5\n 24%|██▍ | 6/25 [00:11<00:31, 1.65s/it]\nSampling step 9/25 for section 5\n 32%|███▏ | 8/25 [00:13<00:22, 1.34s/it]\nSampling step 10/25 for section 5\nSampling step 11/25 for section 5\n 36%|███▌ | 9/25 [00:14<00:19, 1.23s/it]\nSampling step 12/25 for section 5\n 44%|████▍ | 11/25 [00:16<00:15, 1.14s/it]\nSampling step 13/25 for section 5\nSampling step 14/25 for section 5\n 48%|████▊ | 12/25 [00:17<00:14, 1.09s/it]\nSampling step 15/25 for section 5\n 56%|█████▌ | 14/25 [00:19<00:11, 1.06s/it]\nSampling step 16/25 for section 5\nSampling step 17/25 for section 5\n 60%|██████ | 15/25 [00:20<00:10, 1.03s/it]\nSampling step 18/25 for section 5\n 68%|██████▊ | 17/25 [00:22<00:08, 1.03s/it]\nSampling step 19/25 for section 5\n 72%|███████▏ | 18/25 [00:23<00:07, 1.01s/it]\nSampling step 20/25 for section 5\n 76%|███████▌ | 19/25 [00:25<00:07, 1.25s/it]\nSampling step 21/25 for section 5\n 80%|████████ | 20/25 [00:26<00:05, 1.17s/it]\nSampling step 22/25 for section 5\n 84%|████████▍ | 21/25 [00:28<00:05, 1.40s/it]\nSampling step 23/25 for section 5\n 88%|████████▊ | 22/25 [00:31<00:05, 1.82s/it]\nSampling step 24/25 for section 5\n 92%|█████████▏| 23/25 [00:34<00:04, 2.14s/it]\nSampling step 25/25 for section 5\n 96%|█████████▌| 24/25 [00:35<00:01, 1.79s/it]\n100%|██████████| 25/25 [00:37<00:00, 1.86s/it]\n100%|██████████| 25/25 [00:37<00:00, 1.50s/it]\nUpdated video saved: /tmp/tmpkagskgii/250514_170223_397_8579_video.mp4, total pixel frames: 177\nProcessing section 6/8 (padding: 2), is_last_section_logic: False\nSampling step 1/25 for section 6\n 0%| | 0/25 [00:00<?, ?it/s]\nSampling step 2/25 for section 6\n 4%|▍ | 1/25 [00:02<00:48, 2.02s/it]\nSampling step 3/25 for section 6\n 8%|▊ | 2/25 [00:04<00:58, 2.56s/it]\nSampling step 4/25 for section 6\n 12%|█▏ | 3/25 [00:07<01:00, 2.74s/it]\nSampling step 5/25 for section 6\n 16%|█▌ | 4/25 [00:08<00:42, 2.02s/it]\nSampling step 6/25 for section 6\n 20%|██ | 5/25 [00:10<00:40, 2.03s/it]\nSampling step 7/25 for section 6\nSampling step 8/25 for section 6\n 24%|██▍ | 6/25 [00:11<00:31, 1.65s/it]\nSampling step 9/25 for section 6\n 32%|███▏ | 8/25 [00:13<00:22, 1.34s/it]\nSampling step 10/25 for section 6\nSampling step 11/25 for section 6\n 36%|███▌ | 9/25 [00:14<00:19, 1.23s/it]\nSampling step 12/25 for section 6\n 44%|████▍ | 11/25 [00:16<00:15, 1.14s/it]\nSampling step 13/25 for section 6\nSampling step 14/25 for section 6\n 48%|████▊ | 12/25 [00:17<00:14, 1.09s/it]\nSampling step 15/25 for section 6\n 56%|█████▌ | 14/25 [00:19<00:11, 1.06s/it]\nSampling step 16/25 for section 6\nSampling step 17/25 for section 6\n 60%|██████ | 15/25 [00:20<00:10, 1.03s/it]\nSampling step 18/25 for section 6\n 68%|██████▊ | 17/25 [00:22<00:08, 1.03s/it]\nSampling step 19/25 for section 6\n 72%|███████▏ | 18/25 [00:23<00:07, 1.01s/it]\nSampling step 20/25 for section 6\n 76%|███████▌ | 19/25 [00:25<00:07, 1.25s/it]\nSampling step 21/25 for section 6\n 80%|████████ | 20/25 [00:26<00:05, 1.17s/it]\nSampling step 22/25 for section 6\n 84%|████████▍ | 21/25 [00:28<00:05, 1.40s/it]\nSampling step 23/25 for section 6\n 88%|████████▊ | 22/25 [00:31<00:05, 1.82s/it]\nSampling step 24/25 for section 6\n 92%|█████████▏| 23/25 [00:34<00:04, 2.14s/it]\nSampling step 25/25 for section 6\n 96%|█████████▌| 24/25 [00:35<00:01, 1.79s/it]\n100%|██████████| 25/25 [00:37<00:00, 1.86s/it]\n100%|██████████| 25/25 [00:37<00:00, 1.50s/it]\nUpdated video saved: /tmp/tmpkagskgii/250514_170223_397_8579_video.mp4, total pixel frames: 213\nProcessing section 7/8 (padding: 1), is_last_section_logic: False\nSampling step 1/25 for section 7\n 0%| | 0/25 [00:00<?, ?it/s]\nSampling step 2/25 for section 7\n 4%|▍ | 1/25 [00:02<00:48, 2.03s/it]\nSampling step 3/25 for section 7\n 8%|▊ | 2/25 [00:04<00:59, 2.57s/it]\nSampling step 4/25 for section 7\n 12%|█▏ | 3/25 [00:07<01:00, 2.74s/it]\nSampling step 5/25 for section 7\n 16%|█▌ | 4/25 [00:08<00:42, 2.02s/it]\nSampling step 6/25 for section 7\n 20%|██ | 5/25 [00:10<00:40, 2.03s/it]\nSampling step 7/25 for section 7\nSampling step 8/25 for section 7\n 24%|██▍ | 6/25 [00:11<00:31, 1.65s/it]\nSampling step 9/25 for section 7\n 32%|███▏ | 8/25 [00:13<00:22, 1.34s/it]\nSampling step 10/25 for section 7\nSampling step 11/25 for section 7\n 36%|███▌ | 9/25 [00:14<00:19, 1.23s/it]\nSampling step 12/25 for section 7\n 44%|████▍ | 11/25 [00:16<00:15, 1.14s/it]\nSampling step 13/25 for section 7\nSampling step 14/25 for section 7\n 48%|████▊ | 12/25 [00:17<00:14, 1.09s/it]\nSampling step 15/25 for section 7\n 56%|█████▌ | 14/25 [00:19<00:11, 1.06s/it]\nSampling step 16/25 for section 7\nSampling step 17/25 for section 7\n 60%|██████ | 15/25 [00:20<00:10, 1.03s/it]\nSampling step 18/25 for section 7\n 68%|██████▊ | 17/25 [00:22<00:08, 1.03s/it]\nSampling step 19/25 for section 7\n 72%|███████▏ | 18/25 [00:23<00:07, 1.00s/it]\nSampling step 20/25 for section 7\n 76%|███████▌ | 19/25 [00:25<00:07, 1.25s/it]\nSampling step 21/25 for section 7\n 80%|████████ | 20/25 [00:26<00:05, 1.17s/it]\nSampling step 22/25 for section 7\n 84%|████████▍ | 21/25 [00:28<00:05, 1.40s/it]\nSampling step 23/25 for section 7\n 88%|████████▊ | 22/25 [00:31<00:05, 1.82s/it]\nSampling step 24/25 for section 7\n 92%|█████████▏| 23/25 [00:34<00:04, 2.14s/it]\nSampling step 25/25 for section 7\n 96%|█████████▌| 24/25 [00:35<00:01, 1.79s/it]\n100%|██████████| 25/25 [00:37<00:00, 1.86s/it]\n100%|██████████| 25/25 [00:37<00:00, 1.50s/it]\nUpdated video saved: /tmp/tmpkagskgii/250514_170223_397_8579_video.mp4, total pixel frames: 249\nProcessing section 8/8 (padding: 0), is_last_section_logic: True\nSampling step 1/25 for section 8\n 0%| | 0/25 [00:00<?, ?it/s]\nSampling step 2/25 for section 8\n 4%|▍ | 1/25 [00:02<00:48, 2.02s/it]\nSampling step 3/25 for section 8\n 8%|▊ | 2/25 [00:04<00:58, 2.56s/it]\nSampling step 4/25 for section 8\n 12%|█▏ | 3/25 [00:07<01:00, 2.74s/it]\nSampling step 5/25 for section 8\n 16%|█▌ | 4/25 [00:08<00:42, 2.02s/it]\nSampling step 6/25 for section 8\n 20%|██ | 5/25 [00:10<00:40, 2.02s/it]\nSampling step 7/25 for section 8\nSampling step 8/25 for section 8\n 24%|██▍ | 6/25 [00:11<00:31, 1.65s/it]\nSampling step 9/25 for section 8\n 32%|███▏ | 8/25 [00:13<00:22, 1.34s/it]\nSampling step 10/25 for section 8\nSampling step 11/25 for section 8\n 36%|███▌ | 9/25 [00:14<00:19, 1.23s/it]\nSampling step 12/25 for section 8\n 44%|████▍ | 11/25 [00:16<00:15, 1.14s/it]\nSampling step 13/25 for section 8\nSampling step 14/25 for section 8\n 48%|████▊ | 12/25 [00:17<00:14, 1.09s/it]\nSampling step 15/25 for section 8\n 56%|█████▌ | 14/25 [00:19<00:11, 1.06s/it]\nSampling step 16/25 for section 8\nSampling step 17/25 for section 8\n 60%|██████ | 15/25 [00:20<00:10, 1.03s/it]\nSampling step 18/25 for section 8\n 68%|██████▊ | 17/25 [00:22<00:08, 1.03s/it]\nSampling step 19/25 for section 8\n 72%|███████▏ | 18/25 [00:23<00:07, 1.00s/it]\nSampling step 20/25 for section 8\n 76%|███████▌ | 19/25 [00:25<00:07, 1.25s/it]\nSampling step 21/25 for section 8\n 80%|████████ | 20/25 [00:26<00:05, 1.16s/it]\nSampling step 22/25 for section 8\n 84%|████████▍ | 21/25 [00:28<00:05, 1.39s/it]\nSampling step 23/25 for section 8\n 88%|████████▊ | 22/25 [00:31<00:05, 1.82s/it]\nSampling step 24/25 for section 8\n 92%|█████████▏| 23/25 [00:34<00:04, 2.14s/it]\nSampling step 25/25 for section 8\n 96%|█████████▌| 24/25 [00:35<00:01, 1.79s/it]\n100%|██████████| 25/25 [00:37<00:00, 1.86s/it]\n100%|██████████| 25/25 [00:37<00:00, 1.50s/it]\nUpdated video saved: /tmp/tmpkagskgii/250514_170223_397_8579_video.mp4, total pixel frames: 289", "metrics": { "predict_time": 374.498927571, "total_time": 1022.197748 }, "output": "https://replicate.delivery/yhqm/f1zAqKsJWnVzeU4AjfaYjYqb5uuymH5GgtX6EwwrZePRBgySB/250514_170223_397_8579_video.mp4", "started_at": "2025-05-14T17:02:22.480820Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/qoxq-ihtp4o4kltgrr2ecwykfsylfranqs54d3bwzccuie5zrs2stg5la", "get": "https://api.replicate.com/v1/predictions/f8j7wqk8zsrj60cpsytvkdzc8g", "cancel": "https://api.replicate.com/v1/predictions/f8j7wqk8zsrj60cpsytvkdzc8g/cancel" }, "version": "b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f" }
Generated inUsing random seed: 655264339 Encoding text prompts... Processing input image... Encoding initial image with VAE... Encoding image with CLIP Vision model... Starting video generation loop... Processing section 1/8 (padding: 3), is_last_section_logic: False Sampling step 1/25 for section 1 0%| | 0/25 [00:00<?, ?it/s] Sampling step 2/25 for section 1 4%|▍ | 1/25 [00:03<01:12, 3.02s/it] Sampling step 3/25 for section 1 8%|▊ | 2/25 [00:05<00:55, 2.43s/it] Sampling step 4/25 for section 1 12%|█▏ | 3/25 [00:07<00:58, 2.66s/it] Sampling step 5/25 for section 1 16%|█▌ | 4/25 [00:08<00:41, 1.97s/it] Sampling step 6/25 for section 1 20%|██ | 5/25 [00:10<00:39, 1.99s/it] Sampling step 7/25 for section 1 Sampling step 8/25 for section 1 24%|██▍ | 6/25 [00:11<00:30, 1.63s/it] Sampling step 9/25 for section 1 32%|███▏ | 8/25 [00:13<00:22, 1.32s/it] Sampling step 10/25 for section 1 Sampling step 11/25 for section 1 36%|███▌ | 9/25 [00:14<00:19, 1.22s/it] Sampling step 12/25 for section 1 44%|████▍ | 11/25 [00:16<00:15, 1.13s/it] Sampling step 13/25 for section 1 Sampling step 14/25 for section 1 48%|████▊ | 12/25 [00:17<00:14, 1.08s/it] Sampling step 15/25 for section 1 56%|█████▌ | 14/25 [00:19<00:11, 1.06s/it] Sampling step 16/25 for section 1 Sampling step 17/25 for section 1 60%|██████ | 15/25 [00:20<00:10, 1.02s/it] Sampling step 18/25 for section 1 68%|██████▊ | 17/25 [00:22<00:08, 1.02s/it] Sampling step 19/25 for section 1 72%|███████▏ | 18/25 [00:23<00:06, 1.00it/s] Sampling step 20/25 for section 1 76%|███████▌ | 19/25 [00:25<00:07, 1.24s/it] Sampling step 21/25 for section 1 80%|████████ | 20/25 [00:26<00:05, 1.16s/it] Sampling step 22/25 for section 1 84%|████████▍ | 21/25 [00:28<00:05, 1.39s/it] Sampling step 23/25 for section 1 88%|████████▊ | 22/25 [00:29<00:03, 1.26s/it] Sampling step 24/25 for section 1 92%|█████████▏| 23/25 [00:31<00:02, 1.48s/it] Sampling step 25/25 for section 1 96%|█████████▌| 24/25 [00:32<00:01, 1.32s/it] 100%|██████████| 25/25 [00:34<00:00, 1.52s/it] 100%|██████████| 25/25 [00:34<00:00, 1.38s/it] /root/.pyenv/versions/3.11.10/lib/python3.11/site-packages/torchvision/io/_video_deprecation_warning.py:5: UserWarning: The video decoding and encoding capabilities of torchvision are deprecated from version 0.22 and will be removed in version 0.24. We recommend that you migrate to TorchCodec, where we'll consolidate the future decoding/encoding capabilities of PyTorch: https://github.com/pytorch/torchcodec warnings.warn( Updated video saved: /tmp/tmpkagskgii/250514_170223_397_8579_video.mp4, total pixel frames: 33 Processing section 2/8 (padding: 2), is_last_section_logic: False Sampling step 1/25 for section 2 0%| | 0/25 [00:00<?, ?it/s] Sampling step 2/25 for section 2 4%|▍ | 1/25 [00:02<00:48, 2.02s/it] Sampling step 3/25 for section 2 8%|▊ | 2/25 [00:04<00:58, 2.56s/it] Sampling step 4/25 for section 2 12%|█▏ | 3/25 [00:07<01:00, 2.74s/it] Sampling step 5/25 for section 2 16%|█▌ | 4/25 [00:08<00:42, 2.02s/it] Sampling step 6/25 for section 2 20%|██ | 5/25 [00:10<00:40, 2.02s/it] Sampling step 7/25 for section 2 Sampling step 8/25 for section 2 24%|██▍ | 6/25 [00:11<00:31, 1.65s/it] Sampling step 9/25 for section 2 32%|███▏ | 8/25 [00:13<00:22, 1.34s/it] Sampling step 10/25 for section 2 Sampling step 11/25 for section 2 36%|███▌ | 9/25 [00:14<00:19, 1.23s/it] Sampling step 12/25 for section 2 44%|████▍ | 11/25 [00:16<00:15, 1.14s/it] Sampling step 13/25 for section 2 Sampling step 14/25 for section 2 48%|████▊ | 12/25 [00:17<00:14, 1.09s/it] Sampling step 15/25 for section 2 56%|█████▌ | 14/25 [00:19<00:11, 1.06s/it] Sampling step 16/25 for section 2 Sampling step 17/25 for section 2 60%|██████ | 15/25 [00:20<00:10, 1.03s/it] Sampling step 18/25 for section 2 68%|██████▊ | 17/25 [00:22<00:08, 1.03s/it] Sampling step 19/25 for section 2 72%|███████▏ | 18/25 [00:23<00:07, 1.00s/it] Sampling step 20/25 for section 2 76%|███████▌ | 19/25 [00:25<00:07, 1.25s/it] Sampling step 21/25 for section 2 80%|████████ | 20/25 [00:26<00:05, 1.17s/it] Sampling step 22/25 for section 2 84%|████████▍ | 21/25 [00:28<00:05, 1.39s/it] Sampling step 23/25 for section 2 88%|████████▊ | 22/25 [00:31<00:05, 1.82s/it] Sampling step 24/25 for section 2 92%|█████████▏| 23/25 [00:34<00:04, 2.14s/it] Sampling step 25/25 for section 2 96%|█████████▌| 24/25 [00:35<00:01, 1.79s/it] 100%|██████████| 25/25 [00:37<00:00, 1.86s/it] 100%|██████████| 25/25 [00:37<00:00, 1.50s/it] Updated video saved: /tmp/tmpkagskgii/250514_170223_397_8579_video.mp4, total pixel frames: 69 Processing section 3/8 (padding: 2), is_last_section_logic: False Sampling step 1/25 for section 3 0%| | 0/25 [00:00<?, ?it/s] Sampling step 2/25 for section 3 4%|▍ | 1/25 [00:02<00:48, 2.03s/it] Sampling step 3/25 for section 3 8%|▊ | 2/25 [00:04<00:58, 2.57s/it] Sampling step 4/25 for section 3 12%|█▏ | 3/25 [00:07<01:00, 2.74s/it] Sampling step 5/25 for section 3 16%|█▌ | 4/25 [00:08<00:42, 2.02s/it] Sampling step 6/25 for section 3 20%|██ | 5/25 [00:10<00:40, 2.02s/it] Sampling step 7/25 for section 3 Sampling step 8/25 for section 3 24%|██▍ | 6/25 [00:11<00:31, 1.65s/it] Sampling step 9/25 for section 3 32%|███▏ | 8/25 [00:13<00:22, 1.34s/it] Sampling step 10/25 for section 3 Sampling step 11/25 for section 3 36%|███▌ | 9/25 [00:14<00:19, 1.23s/it] Sampling step 12/25 for section 3 44%|████▍ | 11/25 [00:16<00:15, 1.14s/it] Sampling step 13/25 for section 3 Sampling step 14/25 for section 3 48%|████▊ | 12/25 [00:17<00:14, 1.09s/it] Sampling step 15/25 for section 3 56%|█████▌ | 14/25 [00:19<00:11, 1.06s/it] Sampling step 16/25 for section 3 Sampling step 17/25 for section 3 60%|██████ | 15/25 [00:20<00:10, 1.03s/it] Sampling step 18/25 for section 3 68%|██████▊ | 17/25 [00:22<00:08, 1.03s/it] Sampling step 19/25 for section 3 72%|███████▏ | 18/25 [00:23<00:07, 1.00s/it] Sampling step 20/25 for section 3 76%|███████▌ | 19/25 [00:25<00:07, 1.25s/it] Sampling step 21/25 for section 3 80%|████████ | 20/25 [00:26<00:05, 1.16s/it] Sampling step 22/25 for section 3 84%|████████▍ | 21/25 [00:28<00:05, 1.39s/it] Sampling step 23/25 for section 3 88%|████████▊ | 22/25 [00:31<00:05, 1.82s/it] Sampling step 24/25 for section 3 92%|█████████▏| 23/25 [00:34<00:04, 2.14s/it] Sampling step 25/25 for section 3 96%|█████████▌| 24/25 [00:35<00:01, 1.79s/it] 100%|██████████| 25/25 [00:37<00:00, 1.86s/it] 100%|██████████| 25/25 [00:37<00:00, 1.50s/it] Updated video saved: /tmp/tmpkagskgii/250514_170223_397_8579_video.mp4, total pixel frames: 105 Processing section 4/8 (padding: 2), is_last_section_logic: False Sampling step 1/25 for section 4 0%| | 0/25 [00:00<?, ?it/s] Sampling step 2/25 for section 4 4%|▍ | 1/25 [00:02<00:48, 2.02s/it] Sampling step 3/25 for section 4 8%|▊ | 2/25 [00:04<00:58, 2.57s/it] Sampling step 4/25 for section 4 12%|█▏ | 3/25 [00:07<01:00, 2.74s/it] Sampling step 5/25 for section 4 16%|█▌ | 4/25 [00:08<00:42, 2.02s/it] Sampling step 6/25 for section 4 20%|██ | 5/25 [00:10<00:40, 2.02s/it] Sampling step 7/25 for section 4 Sampling step 8/25 for section 4 24%|██▍ | 6/25 [00:11<00:31, 1.65s/it] Sampling step 9/25 for section 4 32%|███▏ | 8/25 [00:13<00:22, 1.34s/it] Sampling step 10/25 for section 4 Sampling step 11/25 for section 4 36%|███▌ | 9/25 [00:14<00:19, 1.23s/it] Sampling step 12/25 for section 4 44%|████▍ | 11/25 [00:16<00:15, 1.14s/it] Sampling step 13/25 for section 4 Sampling step 14/25 for section 4 48%|████▊ | 12/25 [00:17<00:14, 1.09s/it] Sampling step 15/25 for section 4 56%|█████▌ | 14/25 [00:19<00:11, 1.06s/it] Sampling step 16/25 for section 4 Sampling step 17/25 for section 4 60%|██████ | 15/25 [00:20<00:10, 1.03s/it] Sampling step 18/25 for section 4 68%|██████▊ | 17/25 [00:22<00:08, 1.03s/it] Sampling step 19/25 for section 4 72%|███████▏ | 18/25 [00:23<00:07, 1.00s/it] Sampling step 20/25 for section 4 76%|███████▌ | 19/25 [00:25<00:07, 1.25s/it] Sampling step 21/25 for section 4 80%|████████ | 20/25 [00:26<00:05, 1.17s/it] Sampling step 22/25 for section 4 84%|████████▍ | 21/25 [00:28<00:05, 1.40s/it] Sampling step 23/25 for section 4 88%|████████▊ | 22/25 [00:31<00:05, 1.82s/it] Sampling step 24/25 for section 4 92%|█████████▏| 23/25 [00:34<00:04, 2.14s/it] Sampling step 25/25 for section 4 96%|█████████▌| 24/25 [00:35<00:01, 1.79s/it] 100%|██████████| 25/25 [00:37<00:00, 1.86s/it] 100%|██████████| 25/25 [00:37<00:00, 1.50s/it] Updated video saved: /tmp/tmpkagskgii/250514_170223_397_8579_video.mp4, total pixel frames: 141 Processing section 5/8 (padding: 2), is_last_section_logic: False Sampling step 1/25 for section 5 0%| | 0/25 [00:00<?, ?it/s] Sampling step 2/25 for section 5 4%|▍ | 1/25 [00:02<00:48, 2.02s/it] Sampling step 3/25 for section 5 8%|▊ | 2/25 [00:04<00:59, 2.57s/it] Sampling step 4/25 for section 5 12%|█▏ | 3/25 [00:07<01:00, 2.74s/it] Sampling step 5/25 for section 5 16%|█▌ | 4/25 [00:08<00:42, 2.02s/it] Sampling step 6/25 for section 5 20%|██ | 5/25 [00:10<00:40, 2.03s/it] Sampling step 7/25 for section 5 Sampling step 8/25 for section 5 24%|██▍ | 6/25 [00:11<00:31, 1.65s/it] Sampling step 9/25 for section 5 32%|███▏ | 8/25 [00:13<00:22, 1.34s/it] Sampling step 10/25 for section 5 Sampling step 11/25 for section 5 36%|███▌ | 9/25 [00:14<00:19, 1.23s/it] Sampling step 12/25 for section 5 44%|████▍ | 11/25 [00:16<00:15, 1.14s/it] Sampling step 13/25 for section 5 Sampling step 14/25 for section 5 48%|████▊ | 12/25 [00:17<00:14, 1.09s/it] Sampling step 15/25 for section 5 56%|█████▌ | 14/25 [00:19<00:11, 1.06s/it] Sampling step 16/25 for section 5 Sampling step 17/25 for section 5 60%|██████ | 15/25 [00:20<00:10, 1.03s/it] Sampling step 18/25 for section 5 68%|██████▊ | 17/25 [00:22<00:08, 1.03s/it] Sampling step 19/25 for section 5 72%|███████▏ | 18/25 [00:23<00:07, 1.01s/it] Sampling step 20/25 for section 5 76%|███████▌ | 19/25 [00:25<00:07, 1.25s/it] Sampling step 21/25 for section 5 80%|████████ | 20/25 [00:26<00:05, 1.17s/it] Sampling step 22/25 for section 5 84%|████████▍ | 21/25 [00:28<00:05, 1.40s/it] Sampling step 23/25 for section 5 88%|████████▊ | 22/25 [00:31<00:05, 1.82s/it] Sampling step 24/25 for section 5 92%|█████████▏| 23/25 [00:34<00:04, 2.14s/it] Sampling step 25/25 for section 5 96%|█████████▌| 24/25 [00:35<00:01, 1.79s/it] 100%|██████████| 25/25 [00:37<00:00, 1.86s/it] 100%|██████████| 25/25 [00:37<00:00, 1.50s/it] Updated video saved: /tmp/tmpkagskgii/250514_170223_397_8579_video.mp4, total pixel frames: 177 Processing section 6/8 (padding: 2), is_last_section_logic: False Sampling step 1/25 for section 6 0%| | 0/25 [00:00<?, ?it/s] Sampling step 2/25 for section 6 4%|▍ | 1/25 [00:02<00:48, 2.02s/it] Sampling step 3/25 for section 6 8%|▊ | 2/25 [00:04<00:58, 2.56s/it] Sampling step 4/25 for section 6 12%|█▏ | 3/25 [00:07<01:00, 2.74s/it] Sampling step 5/25 for section 6 16%|█▌ | 4/25 [00:08<00:42, 2.02s/it] Sampling step 6/25 for section 6 20%|██ | 5/25 [00:10<00:40, 2.03s/it] Sampling step 7/25 for section 6 Sampling step 8/25 for section 6 24%|██▍ | 6/25 [00:11<00:31, 1.65s/it] Sampling step 9/25 for section 6 32%|███▏ | 8/25 [00:13<00:22, 1.34s/it] Sampling step 10/25 for section 6 Sampling step 11/25 for section 6 36%|███▌ | 9/25 [00:14<00:19, 1.23s/it] Sampling step 12/25 for section 6 44%|████▍ | 11/25 [00:16<00:15, 1.14s/it] Sampling step 13/25 for section 6 Sampling step 14/25 for section 6 48%|████▊ | 12/25 [00:17<00:14, 1.09s/it] Sampling step 15/25 for section 6 56%|█████▌ | 14/25 [00:19<00:11, 1.06s/it] Sampling step 16/25 for section 6 Sampling step 17/25 for section 6 60%|██████ | 15/25 [00:20<00:10, 1.03s/it] Sampling step 18/25 for section 6 68%|██████▊ | 17/25 [00:22<00:08, 1.03s/it] Sampling step 19/25 for section 6 72%|███████▏ | 18/25 [00:23<00:07, 1.01s/it] Sampling step 20/25 for section 6 76%|███████▌ | 19/25 [00:25<00:07, 1.25s/it] Sampling step 21/25 for section 6 80%|████████ | 20/25 [00:26<00:05, 1.17s/it] Sampling step 22/25 for section 6 84%|████████▍ | 21/25 [00:28<00:05, 1.40s/it] Sampling step 23/25 for section 6 88%|████████▊ | 22/25 [00:31<00:05, 1.82s/it] Sampling step 24/25 for section 6 92%|█████████▏| 23/25 [00:34<00:04, 2.14s/it] Sampling step 25/25 for section 6 96%|█████████▌| 24/25 [00:35<00:01, 1.79s/it] 100%|██████████| 25/25 [00:37<00:00, 1.86s/it] 100%|██████████| 25/25 [00:37<00:00, 1.50s/it] Updated video saved: /tmp/tmpkagskgii/250514_170223_397_8579_video.mp4, total pixel frames: 213 Processing section 7/8 (padding: 1), is_last_section_logic: False Sampling step 1/25 for section 7 0%| | 0/25 [00:00<?, ?it/s] Sampling step 2/25 for section 7 4%|▍ | 1/25 [00:02<00:48, 2.03s/it] Sampling step 3/25 for section 7 8%|▊ | 2/25 [00:04<00:59, 2.57s/it] Sampling step 4/25 for section 7 12%|█▏ | 3/25 [00:07<01:00, 2.74s/it] Sampling step 5/25 for section 7 16%|█▌ | 4/25 [00:08<00:42, 2.02s/it] Sampling step 6/25 for section 7 20%|██ | 5/25 [00:10<00:40, 2.03s/it] Sampling step 7/25 for section 7 Sampling step 8/25 for section 7 24%|██▍ | 6/25 [00:11<00:31, 1.65s/it] Sampling step 9/25 for section 7 32%|███▏ | 8/25 [00:13<00:22, 1.34s/it] Sampling step 10/25 for section 7 Sampling step 11/25 for section 7 36%|███▌ | 9/25 [00:14<00:19, 1.23s/it] Sampling step 12/25 for section 7 44%|████▍ | 11/25 [00:16<00:15, 1.14s/it] Sampling step 13/25 for section 7 Sampling step 14/25 for section 7 48%|████▊ | 12/25 [00:17<00:14, 1.09s/it] Sampling step 15/25 for section 7 56%|█████▌ | 14/25 [00:19<00:11, 1.06s/it] Sampling step 16/25 for section 7 Sampling step 17/25 for section 7 60%|██████ | 15/25 [00:20<00:10, 1.03s/it] Sampling step 18/25 for section 7 68%|██████▊ | 17/25 [00:22<00:08, 1.03s/it] Sampling step 19/25 for section 7 72%|███████▏ | 18/25 [00:23<00:07, 1.00s/it] Sampling step 20/25 for section 7 76%|███████▌ | 19/25 [00:25<00:07, 1.25s/it] Sampling step 21/25 for section 7 80%|████████ | 20/25 [00:26<00:05, 1.17s/it] Sampling step 22/25 for section 7 84%|████████▍ | 21/25 [00:28<00:05, 1.40s/it] Sampling step 23/25 for section 7 88%|████████▊ | 22/25 [00:31<00:05, 1.82s/it] Sampling step 24/25 for section 7 92%|█████████▏| 23/25 [00:34<00:04, 2.14s/it] Sampling step 25/25 for section 7 96%|█████████▌| 24/25 [00:35<00:01, 1.79s/it] 100%|██████████| 25/25 [00:37<00:00, 1.86s/it] 100%|██████████| 25/25 [00:37<00:00, 1.50s/it] Updated video saved: /tmp/tmpkagskgii/250514_170223_397_8579_video.mp4, total pixel frames: 249 Processing section 8/8 (padding: 0), is_last_section_logic: True Sampling step 1/25 for section 8 0%| | 0/25 [00:00<?, ?it/s] Sampling step 2/25 for section 8 4%|▍ | 1/25 [00:02<00:48, 2.02s/it] Sampling step 3/25 for section 8 8%|▊ | 2/25 [00:04<00:58, 2.56s/it] Sampling step 4/25 for section 8 12%|█▏ | 3/25 [00:07<01:00, 2.74s/it] Sampling step 5/25 for section 8 16%|█▌ | 4/25 [00:08<00:42, 2.02s/it] Sampling step 6/25 for section 8 20%|██ | 5/25 [00:10<00:40, 2.02s/it] Sampling step 7/25 for section 8 Sampling step 8/25 for section 8 24%|██▍ | 6/25 [00:11<00:31, 1.65s/it] Sampling step 9/25 for section 8 32%|███▏ | 8/25 [00:13<00:22, 1.34s/it] Sampling step 10/25 for section 8 Sampling step 11/25 for section 8 36%|███▌ | 9/25 [00:14<00:19, 1.23s/it] Sampling step 12/25 for section 8 44%|████▍ | 11/25 [00:16<00:15, 1.14s/it] Sampling step 13/25 for section 8 Sampling step 14/25 for section 8 48%|████▊ | 12/25 [00:17<00:14, 1.09s/it] Sampling step 15/25 for section 8 56%|█████▌ | 14/25 [00:19<00:11, 1.06s/it] Sampling step 16/25 for section 8 Sampling step 17/25 for section 8 60%|██████ | 15/25 [00:20<00:10, 1.03s/it] Sampling step 18/25 for section 8 68%|██████▊ | 17/25 [00:22<00:08, 1.03s/it] Sampling step 19/25 for section 8 72%|███████▏ | 18/25 [00:23<00:07, 1.00s/it] Sampling step 20/25 for section 8 76%|███████▌ | 19/25 [00:25<00:07, 1.25s/it] Sampling step 21/25 for section 8 80%|████████ | 20/25 [00:26<00:05, 1.16s/it] Sampling step 22/25 for section 8 84%|████████▍ | 21/25 [00:28<00:05, 1.39s/it] Sampling step 23/25 for section 8 88%|████████▊ | 22/25 [00:31<00:05, 1.82s/it] Sampling step 24/25 for section 8 92%|█████████▏| 23/25 [00:34<00:04, 2.14s/it] Sampling step 25/25 for section 8 96%|█████████▌| 24/25 [00:35<00:01, 1.79s/it] 100%|██████████| 25/25 [00:37<00:00, 1.86s/it] 100%|██████████| 25/25 [00:37<00:00, 1.50s/it] Updated video saved: /tmp/tmpkagskgii/250514_170223_397_8579_video.mp4, total pixel frames: 289
Prediction
zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409fID9068bcb2h1rj40cpt0svbcqy4cStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedby @zsxkibInput
- steps
- 25
- prompt
- A woman pets her cat
- mp4_crf
- 23
- cfg_scale
- 1
- cfg_rescale
- 0
- use_teacache
- negative_prompt
- latent_window_size
- 9
- distilled_cfg_scale
- 10
- total_video_length_seconds
- 3
{ "steps": 25, "prompt": "A woman pets her cat", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://replicate.delivery/pbxt/N0bNhGBlCkyqqTpaGqHXyY9ZXnugIqhzdCO0N6H9VjvPGxrg/image.png", "use_teacache": true, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 3 }
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 zsxkib/framepack using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f", { input: { steps: 25, prompt: "A woman pets her cat", mp4_crf: 23, cfg_scale: 1, cfg_rescale: 0, input_image: "https://replicate.delivery/pbxt/N0bNhGBlCkyqqTpaGqHXyY9ZXnugIqhzdCO0N6H9VjvPGxrg/image.png", use_teacache: true, negative_prompt: "", latent_window_size: 9, distilled_cfg_scale: 10, total_video_length_seconds: 3 } } ); // 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 zsxkib/framepack using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f", input={ "steps": 25, "prompt": "A woman pets her cat", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://replicate.delivery/pbxt/N0bNhGBlCkyqqTpaGqHXyY9ZXnugIqhzdCO0N6H9VjvPGxrg/image.png", "use_teacache": True, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 3 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run zsxkib/framepack 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": "zsxkib/framepack:b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f", "input": { "steps": 25, "prompt": "A woman pets her cat", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://replicate.delivery/pbxt/N0bNhGBlCkyqqTpaGqHXyY9ZXnugIqhzdCO0N6H9VjvPGxrg/image.png", "use_teacache": true, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 3 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-05-14T19:10:43.154356Z", "created_at": "2025-05-14T19:09:10.664000Z", "data_removed": false, "error": null, "id": "9068bcb2h1rj40cpt0svbcqy4c", "input": { "steps": 25, "prompt": "A woman pets her cat", "mp4_crf": 23, "cfg_scale": 1, "cfg_rescale": 0, "input_image": "https://replicate.delivery/pbxt/N0bNhGBlCkyqqTpaGqHXyY9ZXnugIqhzdCO0N6H9VjvPGxrg/image.png", "use_teacache": true, "negative_prompt": "", "latent_window_size": 9, "distilled_cfg_scale": 10, "total_video_length_seconds": 3 }, "logs": "Using random seed: 2718993960\nEncoding text prompts...\nProcessing input image...\nEncoding initial image with VAE...\nEncoding image with CLIP Vision model...\nStarting video generation loop...\nProcessing section 1/2 (padding: 1), is_last_section_logic: False\nSampling step 1/25 for section 1\n 0%| | 0/25 [00:00<?, ?it/s]\nSampling step 2/25 for section 1\n 4%|▍ | 1/25 [00:02<00:49, 2.08s/it]\nSampling step 3/25 for section 1\n 8%|▊ | 2/25 [00:05<01:00, 2.64s/it]\nSampling step 4/25 for section 1\n 12%|█▏ | 3/25 [00:08<01:02, 2.82s/it]\nSampling step 5/25 for section 1\n 16%|█▌ | 4/25 [00:09<00:43, 2.08s/it]\nSampling step 6/25 for section 1\n 20%|██ | 5/25 [00:11<00:41, 2.09s/it]\nSampling step 7/25 for section 1\nSampling step 8/25 for section 1\n 24%|██▍ | 6/25 [00:12<00:32, 1.70s/it]\nSampling step 9/25 for section 1\n 32%|███▏ | 8/25 [00:14<00:23, 1.38s/it]\nSampling step 10/25 for section 1\nSampling step 11/25 for section 1\n 36%|███▌ | 9/25 [00:15<00:20, 1.27s/it]\nSampling step 12/25 for section 1\n 44%|████▍ | 11/25 [00:17<00:16, 1.18s/it]\nSampling step 13/25 for section 1\nSampling step 14/25 for section 1\n 48%|████▊ | 12/25 [00:18<00:14, 1.13s/it]\nSampling step 15/25 for section 1\n 56%|█████▌ | 14/25 [00:20<00:12, 1.10s/it]\nSampling step 16/25 for section 1\nSampling step 17/25 for section 1\n 60%|██████ | 15/25 [00:21<00:10, 1.07s/it]\nSampling step 18/25 for section 1\n 68%|██████▊ | 17/25 [00:23<00:08, 1.06s/it]\nSampling step 19/25 for section 1\n 72%|███████▏ | 18/25 [00:24<00:07, 1.04s/it]\nSampling step 20/25 for section 1\n 76%|███████▌ | 19/25 [00:26<00:07, 1.29s/it]\nSampling step 21/25 for section 1\n 80%|████████ | 20/25 [00:27<00:06, 1.21s/it]\nSampling step 22/25 for section 1\n 84%|████████▍ | 21/25 [00:29<00:05, 1.44s/it]\nSampling step 23/25 for section 1\n 88%|████████▊ | 22/25 [00:32<00:05, 1.88s/it]\nSampling step 24/25 for section 1\n 92%|█████████▏| 23/25 [00:35<00:04, 2.21s/it]\nSampling step 25/25 for section 1\n 96%|█████████▌| 24/25 [00:36<00:01, 1.85s/it]\n100%|██████████| 25/25 [00:38<00:00, 1.92s/it]\n100%|██████████| 25/25 [00:38<00:00, 1.55s/it]\nUpdated video saved: /tmp/tmp06zetr8l/250514_190911_051_8874_video.mp4, total pixel frames: 33\nProcessing section 2/2 (padding: 0), is_last_section_logic: True\nSampling step 1/25 for section 2\n 0%| | 0/25 [00:00<?, ?it/s]\nSampling step 2/25 for section 2\n 4%|▍ | 1/25 [00:02<00:50, 2.10s/it]\nSampling step 3/25 for section 2\n 8%|▊ | 2/25 [00:05<01:01, 2.67s/it]\nSampling step 4/25 for section 2\n 12%|█▏ | 3/25 [00:08<01:02, 2.84s/it]\nSampling step 5/25 for section 2\n 16%|█▌ | 4/25 [00:09<00:44, 2.10s/it]\nSampling step 6/25 for section 2\n 20%|██ | 5/25 [00:11<00:42, 2.10s/it]\nSampling step 7/25 for section 2\nSampling step 8/25 for section 2\n 24%|██▍ | 6/25 [00:12<00:32, 1.71s/it]\nSampling step 9/25 for section 2\n 32%|███▏ | 8/25 [00:14<00:23, 1.39s/it]\nSampling step 10/25 for section 2\nSampling step 11/25 for section 2\n 36%|███▌ | 9/25 [00:15<00:20, 1.28s/it]\nSampling step 12/25 for section 2\n 44%|████▍ | 11/25 [00:17<00:16, 1.18s/it]\nSampling step 13/25 for section 2\nSampling step 14/25 for section 2\n 48%|████▊ | 12/25 [00:18<00:14, 1.13s/it]\nSampling step 15/25 for section 2\n 56%|█████▌ | 14/25 [00:20<00:12, 1.10s/it]\nSampling step 16/25 for section 2\nSampling step 17/25 for section 2\n 60%|██████ | 15/25 [00:21<00:10, 1.07s/it]\nSampling step 18/25 for section 2\n 68%|██████▊ | 17/25 [00:23<00:08, 1.06s/it]\nSampling step 19/25 for section 2\n 72%|███████▏ | 18/25 [00:24<00:07, 1.04s/it]\nSampling step 20/25 for section 2\n 76%|███████▌ | 19/25 [00:26<00:07, 1.29s/it]\nSampling step 21/25 for section 2\n 80%|████████ | 20/25 [00:27<00:06, 1.21s/it]\nSampling step 22/25 for section 2\n 84%|████████▍ | 21/25 [00:29<00:05, 1.45s/it]\nSampling step 23/25 for section 2\n 88%|████████▊ | 22/25 [00:32<00:05, 1.89s/it]\nSampling step 24/25 for section 2\n 92%|█████████▏| 23/25 [00:35<00:04, 2.21s/it]\nSampling step 25/25 for section 2\n 96%|█████████▌| 24/25 [00:36<00:01, 1.85s/it]\n100%|██████████| 25/25 [00:38<00:00, 1.93s/it]\n100%|██████████| 25/25 [00:38<00:00, 1.55s/it]\nUpdated video saved: /tmp/tmp06zetr8l/250514_190911_051_8874_video.mp4, total pixel frames: 73", "metrics": { "predict_time": 92.484683889, "total_time": 92.490356 }, "output": "https://replicate.delivery/yhqm/mIBBwDJIeb1jaCJwjBdCz0YkFDyvgX9vxPeYE36sNcgzypsUA/250514_190911_051_8874_video.mp4", "started_at": "2025-05-14T19:09:10.669673Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/qoxq-vato7hyhmni4pbxn5dwb5m6rqftlu74ihz2qh6m75dg7ooc3mgza", "get": "https://api.replicate.com/v1/predictions/9068bcb2h1rj40cpt0svbcqy4c", "cancel": "https://api.replicate.com/v1/predictions/9068bcb2h1rj40cpt0svbcqy4c/cancel" }, "version": "b840152c70e887773e95b24d1f1e8fd2aea448fcf093de801d3627f0a197409f" }
Generated inUsing random seed: 2718993960 Encoding text prompts... Processing input image... Encoding initial image with VAE... Encoding image with CLIP Vision model... Starting video generation loop... Processing section 1/2 (padding: 1), is_last_section_logic: False Sampling step 1/25 for section 1 0%| | 0/25 [00:00<?, ?it/s] Sampling step 2/25 for section 1 4%|▍ | 1/25 [00:02<00:49, 2.08s/it] Sampling step 3/25 for section 1 8%|▊ | 2/25 [00:05<01:00, 2.64s/it] Sampling step 4/25 for section 1 12%|█▏ | 3/25 [00:08<01:02, 2.82s/it] Sampling step 5/25 for section 1 16%|█▌ | 4/25 [00:09<00:43, 2.08s/it] Sampling step 6/25 for section 1 20%|██ | 5/25 [00:11<00:41, 2.09s/it] Sampling step 7/25 for section 1 Sampling step 8/25 for section 1 24%|██▍ | 6/25 [00:12<00:32, 1.70s/it] Sampling step 9/25 for section 1 32%|███▏ | 8/25 [00:14<00:23, 1.38s/it] Sampling step 10/25 for section 1 Sampling step 11/25 for section 1 36%|███▌ | 9/25 [00:15<00:20, 1.27s/it] Sampling step 12/25 for section 1 44%|████▍ | 11/25 [00:17<00:16, 1.18s/it] Sampling step 13/25 for section 1 Sampling step 14/25 for section 1 48%|████▊ | 12/25 [00:18<00:14, 1.13s/it] Sampling step 15/25 for section 1 56%|█████▌ | 14/25 [00:20<00:12, 1.10s/it] Sampling step 16/25 for section 1 Sampling step 17/25 for section 1 60%|██████ | 15/25 [00:21<00:10, 1.07s/it] Sampling step 18/25 for section 1 68%|██████▊ | 17/25 [00:23<00:08, 1.06s/it] Sampling step 19/25 for section 1 72%|███████▏ | 18/25 [00:24<00:07, 1.04s/it] Sampling step 20/25 for section 1 76%|███████▌ | 19/25 [00:26<00:07, 1.29s/it] Sampling step 21/25 for section 1 80%|████████ | 20/25 [00:27<00:06, 1.21s/it] Sampling step 22/25 for section 1 84%|████████▍ | 21/25 [00:29<00:05, 1.44s/it] Sampling step 23/25 for section 1 88%|████████▊ | 22/25 [00:32<00:05, 1.88s/it] Sampling step 24/25 for section 1 92%|█████████▏| 23/25 [00:35<00:04, 2.21s/it] Sampling step 25/25 for section 1 96%|█████████▌| 24/25 [00:36<00:01, 1.85s/it] 100%|██████████| 25/25 [00:38<00:00, 1.92s/it] 100%|██████████| 25/25 [00:38<00:00, 1.55s/it] Updated video saved: /tmp/tmp06zetr8l/250514_190911_051_8874_video.mp4, total pixel frames: 33 Processing section 2/2 (padding: 0), is_last_section_logic: True Sampling step 1/25 for section 2 0%| | 0/25 [00:00<?, ?it/s] Sampling step 2/25 for section 2 4%|▍ | 1/25 [00:02<00:50, 2.10s/it] Sampling step 3/25 for section 2 8%|▊ | 2/25 [00:05<01:01, 2.67s/it] Sampling step 4/25 for section 2 12%|█▏ | 3/25 [00:08<01:02, 2.84s/it] Sampling step 5/25 for section 2 16%|█▌ | 4/25 [00:09<00:44, 2.10s/it] Sampling step 6/25 for section 2 20%|██ | 5/25 [00:11<00:42, 2.10s/it] Sampling step 7/25 for section 2 Sampling step 8/25 for section 2 24%|██▍ | 6/25 [00:12<00:32, 1.71s/it] Sampling step 9/25 for section 2 32%|███▏ | 8/25 [00:14<00:23, 1.39s/it] Sampling step 10/25 for section 2 Sampling step 11/25 for section 2 36%|███▌ | 9/25 [00:15<00:20, 1.28s/it] Sampling step 12/25 for section 2 44%|████▍ | 11/25 [00:17<00:16, 1.18s/it] Sampling step 13/25 for section 2 Sampling step 14/25 for section 2 48%|████▊ | 12/25 [00:18<00:14, 1.13s/it] Sampling step 15/25 for section 2 56%|█████▌ | 14/25 [00:20<00:12, 1.10s/it] Sampling step 16/25 for section 2 Sampling step 17/25 for section 2 60%|██████ | 15/25 [00:21<00:10, 1.07s/it] Sampling step 18/25 for section 2 68%|██████▊ | 17/25 [00:23<00:08, 1.06s/it] Sampling step 19/25 for section 2 72%|███████▏ | 18/25 [00:24<00:07, 1.04s/it] Sampling step 20/25 for section 2 76%|███████▌ | 19/25 [00:26<00:07, 1.29s/it] Sampling step 21/25 for section 2 80%|████████ | 20/25 [00:27<00:06, 1.21s/it] Sampling step 22/25 for section 2 84%|████████▍ | 21/25 [00:29<00:05, 1.45s/it] Sampling step 23/25 for section 2 88%|████████▊ | 22/25 [00:32<00:05, 1.89s/it] Sampling step 24/25 for section 2 92%|█████████▏| 23/25 [00:35<00:04, 2.21s/it] Sampling step 25/25 for section 2 96%|█████████▌| 24/25 [00:36<00:01, 1.85s/it] 100%|██████████| 25/25 [00:38<00:00, 1.93s/it] 100%|██████████| 25/25 [00:38<00:00, 1.55s/it] Updated video saved: /tmp/tmp06zetr8l/250514_190911_051_8874_video.mp4, total pixel frames: 73
Want to make some of these yourself?
Run this model