Failed to load versions. Head to the versions page to see all versions for this model.
You're looking at a specific version of this model. Jump to the model overview.
shridharathi /ghibli-vid:e65c22b7
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/ghibli-vid using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"shridharathi/ghibli-vid:e65c22b73e9df842276a6321a718152d591ddad2e36eb6441606bc06c3d133d0",
{
input: {
frames: 81,
prompt: "GHIBLI style, anime, a girl is running through new york city eating a burger",
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/ghibli-vid using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"shridharathi/ghibli-vid:e65c22b73e9df842276a6321a718152d591ddad2e36eb6441606bc06c3d133d0",
input={
"frames": 81,
"prompt": "GHIBLI style, anime, a girl is running through new york city eating a burger",
"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/ghibli-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/ghibli-vid:e65c22b73e9df842276a6321a718152d591ddad2e36eb6441606bc06c3d133d0",
"input": {
"frames": 81,
"prompt": "GHIBLI style, anime, a girl is running through new york city eating a burger",
"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.
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-27T06:24:49.527176Z",
"created_at": "2025-03-27T06:22:02.020000Z",
"data_removed": false,
"error": null,
"id": "zjem6aeb4hrma0cnts1s7563y0",
"input": {
"frames": 81,
"prompt": "GHIBLI style, anime, a girl is running through new york city eating a burger",
"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: 2292279831\n✅ 14b_d21761924b1fb223ad93c834ec74afd9.safetensors already cached\nChecking inputs\n====================================\nChecking weights\n✅ umt5_xxl_fp16.safetensors exists in ComfyUI/models/text_encoders\n✅ wan2.1_t2v_14B_bf16.safetensors exists in ComfyUI/models/diffusion_models\n✅ 14b_d21761924b1fb223ad93c834ec74afd9.safetensors exists in loras directory\n✅ wan_2.1_vae.safetensors exists in ComfyUI/models/vae\n====================================\nRunning workflow\n[ComfyUI] got prompt\nExecuting node 6, title: CLIP Text Encode (Positive Prompt), class type: CLIPTextEncode\nExecuting node 3, title: KSampler, class type: KSampler\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:10, 6.56s/it]\n[ComfyUI] 7%|▋ | 2/30 [00:15<03:49, 8.20s/it]\n[ComfyUI] 10%|█ | 3/30 [00:25<03:55, 8.73s/it]\n[ComfyUI] TeaCache: Initialized\n[ComfyUI]\n[ComfyUI] 13%|█▎ | 4/30 [00:37<04:27, 10.29s/it]\n[ComfyUI] 20%|██ | 6/30 [00:47<02:58, 7.43s/it]\n[ComfyUI] 27%|██▋ | 8/30 [00:57<02:19, 6.32s/it]\n[ComfyUI] 33%|███▎ | 10/30 [01:07<01:55, 5.77s/it]\n[ComfyUI] 40%|████ | 12/30 [01:16<01:38, 5.45s/it]\n[ComfyUI] 47%|████▋ | 14/30 [01:26<01:24, 5.26s/it]\n[ComfyUI] 53%|█████▎ | 16/30 [01:36<01:11, 5.13s/it]\n[ComfyUI] 60%|██████ | 18/30 [01:46<01:00, 5.05s/it]\n[ComfyUI] 67%|██████▋ | 20/30 [01:55<00:49, 4.99s/it]\n[ComfyUI] 73%|███████▎ | 22/30 [02:05<00:39, 4.95s/it]\n[ComfyUI] 80%|████████ | 24/30 [02:15<00:29, 4.92s/it]\n[ComfyUI] 87%|████████▋ | 26/30 [02:25<00:19, 4.91s/it]\n[ComfyUI] 93%|█████████▎| 28/30 [02:34<00:09, 4.89s/it]\n[ComfyUI] 100%|██████████| 30/30 [02:44<00:00, 4.89s/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:44<00:00, 5.48s/it]\n[ComfyUI] Prompt executed in 167.33 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": 167.499011914,
"total_time": 167.507176
},
"output": [
"https://replicate.delivery/xezq/ZpdYHH27kh7DHVl3gZgOEqBW886amWmcobcWhcPzBOWMhKHF/R8_Wan_00001.mp4"
],
"started_at": "2025-03-27T06:22:02.028164Z",
"status": "succeeded",
"urls": {
"stream": "https://stream.replicate.com/v1/files/bcwr-uumyflz5bbtl6hrdrmf3w2bnw6rvqh4rm2szrdu6s4ks6u4ci5sq",
"get": "https://api.replicate.com/v1/predictions/zjem6aeb4hrma0cnts1s7563y0",
"cancel": "https://api.replicate.com/v1/predictions/zjem6aeb4hrma0cnts1s7563y0/cancel"
},
"version": "e65c22b73e9df842276a6321a718152d591ddad2e36eb6441606bc06c3d133d0"
}
Random seed set to: 2292279831
✅ 14b_d21761924b1fb223ad93c834ec74afd9.safetensors already cached
Checking inputs
====================================
Checking weights
✅ umt5_xxl_fp16.safetensors exists in ComfyUI/models/text_encoders
✅ wan2.1_t2v_14B_bf16.safetensors exists in ComfyUI/models/diffusion_models
✅ 14b_d21761924b1fb223ad93c834ec74afd9.safetensors exists in loras directory
✅ wan_2.1_vae.safetensors exists in ComfyUI/models/vae
====================================
Running workflow
[ComfyUI] got prompt
Executing node 6, title: CLIP Text Encode (Positive Prompt), class type: CLIPTextEncode
Executing node 3, title: KSampler, class type: KSampler
[ComfyUI]
[ComfyUI] 0%| | 0/30 [00:00<?, ?it/s]
[ComfyUI] Resetting TeaCache state
[ComfyUI]
[ComfyUI] 3%|▎ | 1/30 [00:06<03:10, 6.56s/it]
[ComfyUI] 7%|▋ | 2/30 [00:15<03:49, 8.20s/it]
[ComfyUI] 10%|█ | 3/30 [00:25<03:55, 8.73s/it]
[ComfyUI] TeaCache: Initialized
[ComfyUI]
[ComfyUI] 13%|█▎ | 4/30 [00:37<04:27, 10.29s/it]
[ComfyUI] 20%|██ | 6/30 [00:47<02:58, 7.43s/it]
[ComfyUI] 27%|██▋ | 8/30 [00:57<02:19, 6.32s/it]
[ComfyUI] 33%|███▎ | 10/30 [01:07<01:55, 5.77s/it]
[ComfyUI] 40%|████ | 12/30 [01:16<01:38, 5.45s/it]
[ComfyUI] 47%|████▋ | 14/30 [01:26<01:24, 5.26s/it]
[ComfyUI] 53%|█████▎ | 16/30 [01:36<01:11, 5.13s/it]
[ComfyUI] 60%|██████ | 18/30 [01:46<01:00, 5.05s/it]
[ComfyUI] 67%|██████▋ | 20/30 [01:55<00:49, 4.99s/it]
[ComfyUI] 73%|███████▎ | 22/30 [02:05<00:39, 4.95s/it]
[ComfyUI] 80%|████████ | 24/30 [02:15<00:29, 4.92s/it]
[ComfyUI] 87%|████████▋ | 26/30 [02:25<00:19, 4.91s/it]
[ComfyUI] 93%|█████████▎| 28/30 [02:34<00:09, 4.89s/it]
[ComfyUI] 100%|██████████| 30/30 [02:44<00:00, 4.89s/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:44<00:00, 5.48s/it]
[ComfyUI] Prompt executed in 167.33 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