You're looking at a specific version of this model. Jump to the model overview.
shridharathi /motion-blur-vid:7549a1cf
Input
Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import Replicate from "replicate";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run shridharathi/motion-blur-vid using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"shridharathi/motion-blur-vid:7549a1cfbc75152feec6bae45d51c7d6006203999234953d2443c6802c67ad15",
{
input: {
frames: 81,
prompt: "BLUR style, motion blur, a biker",
fast_mode: "Balanced",
resolution: "480p",
aspect_ratio: "16:9",
sample_shift: 8,
sample_steps: 30,
negative_prompt: "",
lora_strength_clip: 1,
sample_guide_scale: 5,
lora_strength_model: 1
}
}
);
// To access the file URL:
console.log(output[0].url()); //=> "http://example.com"
// To write the file to disk:
fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import replicate
Run shridharathi/motion-blur-vid using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"shridharathi/motion-blur-vid:7549a1cfbc75152feec6bae45d51c7d6006203999234953d2443c6802c67ad15",
input={
"frames": 81,
"prompt": "BLUR style, motion blur, a biker",
"fast_mode": "Balanced",
"resolution": "480p",
"aspect_ratio": "16:9",
"sample_shift": 8,
"sample_steps": 30,
"negative_prompt": "",
"lora_strength_clip": 1,
"sample_guide_scale": 5,
"lora_strength_model": 1
}
)
print(output)
To learn more, take a look at the guide on getting started with Python.
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run shridharathi/motion-blur-vid 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": "shridharathi/motion-blur-vid:7549a1cfbc75152feec6bae45d51c7d6006203999234953d2443c6802c67ad15",
"input": {
"frames": 81,
"prompt": "BLUR style, motion blur, a biker",
"fast_mode": "Balanced",
"resolution": "480p",
"aspect_ratio": "16:9",
"sample_shift": 8,
"sample_steps": 30,
"negative_prompt": "",
"lora_strength_clip": 1,
"sample_guide_scale": 5,
"lora_strength_model": 1
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/shridharathi/motion-blur-vid@sha256:7549a1cfbc75152feec6bae45d51c7d6006203999234953d2443c6802c67ad15 \
-i 'frames=81' \
-i 'prompt="BLUR style, motion blur, a biker"' \
-i 'fast_mode="Balanced"' \
-i 'resolution="480p"' \
-i 'aspect_ratio="16:9"' \
-i 'sample_shift=8' \
-i 'sample_steps=30' \
-i 'negative_prompt=""' \
-i 'lora_strength_clip=1' \
-i 'sample_guide_scale=5' \
-i 'lora_strength_model=1'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/shridharathi/motion-blur-vid@sha256:7549a1cfbc75152feec6bae45d51c7d6006203999234953d2443c6802c67ad15
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "frames": 81, "prompt": "BLUR style, motion blur, a biker", "fast_mode": "Balanced", "resolution": "480p", "aspect_ratio": "16:9", "sample_shift": 8, "sample_steps": 30, "negative_prompt": "", "lora_strength_clip": 1, "sample_guide_scale": 5, "lora_strength_model": 1 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Add a payment method to run this model.
By signing in, you agree to our
terms of service and privacy policy
Output
{
"completed_at": "2025-03-27T20:43:28.342893Z",
"created_at": "2025-03-27T20:40:31.788000Z",
"data_removed": false,
"error": null,
"id": "c433gap55hrm80cnv5avdhsjmw",
"input": {
"frames": 81,
"prompt": "BLUR style, motion blur, a biker",
"fast_mode": "Balanced",
"resolution": "480p",
"aspect_ratio": "16:9",
"sample_shift": 8,
"sample_steps": 30,
"negative_prompt": "",
"lora_strength_clip": 1,
"sample_guide_scale": 5,
"lora_strength_model": 1
},
"logs": "Random seed set to: 3927730274\n2025-03-27T20:40:31Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp28p91pyr/weights url=https://replicate.delivery/xezq/n0RvPffWzRpWkE0wB6fJqWPKtujMUdQnLlQQz4ibXcgM9s5oA/trained_model.tar\n2025-03-27T20:40:34Z | INFO | [ Complete ] dest=/tmp/tmp28p91pyr/weights size=\"307 MB\" total_elapsed=2.336s url=https://replicate.delivery/xezq/n0RvPffWzRpWkE0wB6fJqWPKtujMUdQnLlQQz4ibXcgM9s5oA/trained_model.tar\nChecking inputs\n====================================\nChecking weights\n✅ umt5_xxl_fp16.safetensors exists in ComfyUI/models/text_encoders\n✅ 14b_b10322233ae37dabb3c31bcf57a0abdf.safetensors exists in loras directory\n✅ wan_2.1_vae.safetensors exists in ComfyUI/models/vae\n✅ wan2.1_t2v_14B_bf16.safetensors exists in ComfyUI/models/diffusion_models\n====================================\nRunning workflow\n[ComfyUI] got prompt\nExecuting node 40, title: EmptyHunyuanLatentVideo, class type: EmptyHunyuanLatentVideo\nExecuting node 49, title: Load LoRA, class type: LoraLoader\n[ComfyUI] Requested to load WanTEModel\nExecuting node 6, title: CLIP Text Encode (Positive Prompt), class type: CLIPTextEncode\n[ComfyUI] loaded completely 113273.66620521546 10835.4765625 True\nExecuting node 48, title: ModelSamplingSD3, class type: ModelSamplingSD3\nExecuting node 3, title: KSampler, class type: KSampler\n[ComfyUI] Requested to load WAN21\n[ComfyUI] loaded completely 123801.91498866271 27251.406372070312 True\n[ComfyUI]\n[ComfyUI] 0%| | 0/30 [00:00<?, ?it/s]\n[ComfyUI] Resetting TeaCache state\n[ComfyUI]\n[ComfyUI] 3%|▎ | 1/30 [00:06<03:07, 6.45s/it]\n[ComfyUI] 7%|▋ | 2/30 [00:15<03:45, 8.05s/it]\n[ComfyUI] 10%|█ | 3/30 [00:24<03:51, 8.57s/it]\n[ComfyUI] TeaCache: Initialized\n[ComfyUI]\n[ComfyUI] 13%|█▎ | 4/30 [00:37<04:20, 10.02s/it]\n[ComfyUI] 20%|██ | 6/30 [00:46<02:54, 7.25s/it]\n[ComfyUI] 27%|██▋ | 8/30 [00:56<02:16, 6.19s/it]\n[ComfyUI] 33%|███▎ | 10/30 [01:05<01:53, 5.66s/it]\n[ComfyUI] 40%|████ | 12/30 [01:15<01:36, 5.35s/it]\n[ComfyUI] 47%|████▋ | 14/30 [01:25<01:22, 5.17s/it]\n[ComfyUI] 53%|█████▎ | 16/30 [01:34<01:10, 5.05s/it]\n[ComfyUI] 60%|██████ | 18/30 [01:44<00:59, 4.97s/it]\n[ComfyUI] 67%|██████▋ | 20/30 [01:53<00:49, 4.92s/it]\n[ComfyUI] 73%|███████▎ | 22/30 [02:03<00:39, 4.88s/it]\n[ComfyUI] 80%|████████ | 24/30 [02:12<00:29, 4.85s/it]\n[ComfyUI] 87%|████████▋ | 26/30 [02:22<00:19, 4.84s/it]\n[ComfyUI] 93%|█████████▎| 28/30 [02:32<00:09, 4.83s/it]\n[ComfyUI] 100%|██████████| 30/30 [02:41<00:00, 4.82s/it]\nExecuting node 8, title: VAE Decode, class type: VAEDecode\nExecuting node 50, title: Video Combine 🎥🅥🅗🅢, class type: VHS_VideoCombine\n[ComfyUI] 100%|██████████| 30/30 [02:41<00:00, 5.39s/it]\n[ComfyUI] Prompt executed in 174.00 seconds\noutputs: {'50': {'gifs': [{'filename': 'R8_Wan_00001.mp4', 'subfolder': '', 'type': 'output', 'format': 'video/h264-mp4', 'frame_rate': 16.0, 'workflow': 'R8_Wan_00001.png', 'fullpath': '/tmp/outputs/R8_Wan_00001.mp4'}]}}\n====================================\nR8_Wan_00001.png\nR8_Wan_00001.mp4",
"metrics": {
"predict_time": 176.545920851,
"total_time": 176.554893
},
"output": [
"https://replicate.delivery/xezq/CSYVt5bJv54ZFNUhHqNwCgdpcPfnnYQiZMC6ljk9BYF4UbOKA/R8_Wan_00001.mp4"
],
"started_at": "2025-03-27T20:40:31.796972Z",
"status": "succeeded",
"urls": {
"stream": "https://stream.replicate.com/v1/files/bcwr-yjfcuop5abm76zy6hg2l4763rqqryfs7a2mlyylfyrggn465wtwa",
"get": "https://api.replicate.com/v1/predictions/c433gap55hrm80cnv5avdhsjmw",
"cancel": "https://api.replicate.com/v1/predictions/c433gap55hrm80cnv5avdhsjmw/cancel"
},
"version": "7549a1cfbc75152feec6bae45d51c7d6006203999234953d2443c6802c67ad15"
}
Random seed set to: 3927730274
2025-03-27T20:40:31Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp28p91pyr/weights url=https://replicate.delivery/xezq/n0RvPffWzRpWkE0wB6fJqWPKtujMUdQnLlQQz4ibXcgM9s5oA/trained_model.tar
2025-03-27T20:40:34Z | INFO | [ Complete ] dest=/tmp/tmp28p91pyr/weights size="307 MB" total_elapsed=2.336s url=https://replicate.delivery/xezq/n0RvPffWzRpWkE0wB6fJqWPKtujMUdQnLlQQz4ibXcgM9s5oA/trained_model.tar
Checking inputs
====================================
Checking weights
✅ umt5_xxl_fp16.safetensors exists in ComfyUI/models/text_encoders
✅ 14b_b10322233ae37dabb3c31bcf57a0abdf.safetensors exists in loras directory
✅ wan_2.1_vae.safetensors exists in ComfyUI/models/vae
✅ wan2.1_t2v_14B_bf16.safetensors exists in ComfyUI/models/diffusion_models
====================================
Running workflow
[ComfyUI] got prompt
Executing node 40, title: EmptyHunyuanLatentVideo, class type: EmptyHunyuanLatentVideo
Executing node 49, title: Load LoRA, class type: LoraLoader
[ComfyUI] Requested to load WanTEModel
Executing node 6, title: CLIP Text Encode (Positive Prompt), class type: CLIPTextEncode
[ComfyUI] loaded completely 113273.66620521546 10835.4765625 True
Executing node 48, title: ModelSamplingSD3, class type: ModelSamplingSD3
Executing node 3, title: KSampler, class type: KSampler
[ComfyUI] Requested to load WAN21
[ComfyUI] loaded completely 123801.91498866271 27251.406372070312 True
[ComfyUI]
[ComfyUI] 0%| | 0/30 [00:00<?, ?it/s]
[ComfyUI] Resetting TeaCache state
[ComfyUI]
[ComfyUI] 3%|▎ | 1/30 [00:06<03:07, 6.45s/it]
[ComfyUI] 7%|▋ | 2/30 [00:15<03:45, 8.05s/it]
[ComfyUI] 10%|█ | 3/30 [00:24<03:51, 8.57s/it]
[ComfyUI] TeaCache: Initialized
[ComfyUI]
[ComfyUI] 13%|█▎ | 4/30 [00:37<04:20, 10.02s/it]
[ComfyUI] 20%|██ | 6/30 [00:46<02:54, 7.25s/it]
[ComfyUI] 27%|██▋ | 8/30 [00:56<02:16, 6.19s/it]
[ComfyUI] 33%|███▎ | 10/30 [01:05<01:53, 5.66s/it]
[ComfyUI] 40%|████ | 12/30 [01:15<01:36, 5.35s/it]
[ComfyUI] 47%|████▋ | 14/30 [01:25<01:22, 5.17s/it]
[ComfyUI] 53%|█████▎ | 16/30 [01:34<01:10, 5.05s/it]
[ComfyUI] 60%|██████ | 18/30 [01:44<00:59, 4.97s/it]
[ComfyUI] 67%|██████▋ | 20/30 [01:53<00:49, 4.92s/it]
[ComfyUI] 73%|███████▎ | 22/30 [02:03<00:39, 4.88s/it]
[ComfyUI] 80%|████████ | 24/30 [02:12<00:29, 4.85s/it]
[ComfyUI] 87%|████████▋ | 26/30 [02:22<00:19, 4.84s/it]
[ComfyUI] 93%|█████████▎| 28/30 [02:32<00:09, 4.83s/it]
[ComfyUI] 100%|██████████| 30/30 [02:41<00:00, 4.82s/it]
Executing node 8, title: VAE Decode, class type: VAEDecode
Executing node 50, title: Video Combine 🎥🅥🅗🅢, class type: VHS_VideoCombine
[ComfyUI] 100%|██████████| 30/30 [02:41<00:00, 5.39s/it]
[ComfyUI] Prompt executed in 174.00 seconds
outputs: {'50': {'gifs': [{'filename': 'R8_Wan_00001.mp4', 'subfolder': '', 'type': 'output', 'format': 'video/h264-mp4', 'frame_rate': 16.0, 'workflow': 'R8_Wan_00001.png', 'fullpath': '/tmp/outputs/R8_Wan_00001.mp4'}]}}
====================================
R8_Wan_00001.png
R8_Wan_00001.mp4