Readme
This model doesn't have a readme.
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 fofr/wan-14b-cybercab using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"fofr/wan-14b-cybercab:621a5ba2fe78c961a421a1ad2f0cf4fc52c4764d612d53f5350f659a90a3e26c",
{
input: {
frames: 81,
prompt: "a CYBERCAB drives away",
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 fofr/wan-14b-cybercab using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"fofr/wan-14b-cybercab:621a5ba2fe78c961a421a1ad2f0cf4fc52c4764d612d53f5350f659a90a3e26c",
input={
"frames": 81,
"prompt": "a CYBERCAB drives away",
"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 fofr/wan-14b-cybercab 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": "fofr/wan-14b-cybercab:621a5ba2fe78c961a421a1ad2f0cf4fc52c4764d612d53f5350f659a90a3e26c",
"input": {
"frames": 81,
"prompt": "a CYBERCAB drives away",
"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
{
"completed_at": "2025-03-12T13:39:58.966171Z",
"created_at": "2025-03-12T13:36:26.494000Z",
"data_removed": false,
"error": null,
"id": "gpbzag0xfsrmc0cnha9b08jwhc",
"input": {
"frames": 81,
"prompt": "a CYBERCAB drives away",
"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: 2212045692\n2025-03-12T13:36:49Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp9tvl8mkd/weights url=https://replicate.delivery/xezq/k2ngzDaZe3wfokJs2TzppPMW7PRUefrf1ERjIfT6s4DeG85LKA/trained_model.tar\n2025-03-12T13:36:51Z | INFO | [ Complete ] dest=/tmp/tmp9tvl8mkd/weights size=\"307 MB\" total_elapsed=2.113s url=https://replicate.delivery/xezq/k2ngzDaZe3wfokJs2TzppPMW7PRUefrf1ERjIfT6s4DeG85LKA/trained_model.tar\nChecking inputs\n====================================\nChecking weights\n✅ 69f856c60fdecc69a618f11467900dd2.safetensors exists in loras directory\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✅ wan_2.1_vae.safetensors exists in ComfyUI/models/vae\n====================================\nRunning workflow\n[ComfyUI] got prompt\nExecuting node 39, title: Load VAE, class type: VAELoader\n[ComfyUI] Using pytorch attention in VAE\n[ComfyUI] Using pytorch attention in VAE\n[ComfyUI] VAE load device: cuda:0, offload device: cpu, dtype: torch.bfloat16\nExecuting node 40, title: EmptyHunyuanLatentVideo, class type: EmptyHunyuanLatentVideo\nExecuting node 38, title: Load CLIP, class type: CLIPLoader\n[ComfyUI] CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cpu, dtype: torch.float16\n[ComfyUI] Requested to load WanTEModel\nExecuting node 7, title: CLIP Text Encode (Negative Prompt), class type: CLIPTextEncode\n[ComfyUI] loaded completely 141327.4875 10835.4765625 True\nExecuting node 37, title: Load Diffusion Model, class type: UNETLoader\n[ComfyUI] model weight dtype torch.float16, manual cast: None\n[ComfyUI] model_type FLOW\nExecuting node 53, title: WanVideo Enhance A Video (native), class type: WanVideoEnhanceAVideoKJ\nExecuting node 54, title: WanVideo Tea Cache (native), class type: WanVideoTeaCacheKJ\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 141069.4875 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 124343.96281542968 27251.406372070312 True\n[ComfyUI]\n[ComfyUI] 0%| | 0/30 [00:00<?, ?it/s]\n[ComfyUI] 3%|▎ | 1/30 [00:07<03:42, 7.68s/it]\n[ComfyUI] 7%|▋ | 2/30 [00:17<04:03, 8.69s/it]\n[ComfyUI] 10%|█ | 3/30 [00:26<04:04, 9.07s/it]\n[ComfyUI] TeaCache: Initialized\n[ComfyUI]\n[ComfyUI] 13%|█▎ | 4/30 [00:38<04:27, 10.30s/it]\n[ComfyUI] 20%|██ | 6/30 [00:48<02:59, 7.47s/it]\n[ComfyUI] 27%|██▋ | 8/30 [00:58<02:21, 6.44s/it]\n[ComfyUI] 30%|███ | 9/30 [00:58<01:43, 4.95s/it]\n[ComfyUI] 33%|███▎ | 10/30 [01:08<02:03, 6.19s/it]\n[ComfyUI] 40%|████ | 12/30 [01:18<01:42, 5.67s/it]\n[ComfyUI] 47%|████▋ | 14/30 [01:28<01:26, 5.41s/it]\n[ComfyUI] 53%|█████▎ | 16/30 [01:38<01:13, 5.25s/it]\n[ComfyUI] 60%|██████ | 18/30 [01:48<01:01, 5.16s/it]\n[ComfyUI] 67%|██████▋ | 20/30 [01:58<00:50, 5.10s/it]\n[ComfyUI] 73%|███████▎ | 22/30 [02:08<00:40, 5.06s/it]\n[ComfyUI] 80%|████████ | 24/30 [02:18<00:30, 5.03s/it]\n[ComfyUI] 87%|████████▋ | 26/30 [02:28<00:20, 5.01s/it]\n[ComfyUI] 93%|█████████▎| 28/30 [02:38<00:09, 5.00s/it]\n[ComfyUI] 100%|██████████| 30/30 [02:48<00:00, 4.98s/it]\n[ComfyUI] 100%|██████████| 30/30 [02:48<00:00, 5.60s/it]\n[ComfyUI] Requested to load WanVAE\nExecuting node 8, title: VAE Decode, class type: VAEDecode\n[ComfyUI] loaded completely 98169.38668441772 242.02829551696777 True\nExecuting node 50, title: Video Combine 🎥🅥🅗🅢, class type: VHS_VideoCombine\n[ComfyUI] Prompt executed in 187.44 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": 189.93773753,
"total_time": 212.472171
},
"output": [
"https://replicate.delivery/xezq/4j4dASWSMH5WKx6XI9FRoV7Nbzovqz75Q5xaUtdnPfQXB6LKA/R8_Wan_00001.mp4"
],
"started_at": "2025-03-12T13:36:49.028433Z",
"status": "succeeded",
"urls": {
"stream": "https://stream.replicate.com/v1/files/bcwr-ok4i2empn7dzdnpkh3oggxflsn26hgtraxwzm2fft6ao2x4sr4ka",
"get": "https://api.replicate.com/v1/predictions/gpbzag0xfsrmc0cnha9b08jwhc",
"cancel": "https://api.replicate.com/v1/predictions/gpbzag0xfsrmc0cnha9b08jwhc/cancel"
},
"version": "621a5ba2fe78c961a421a1ad2f0cf4fc52c4764d612d53f5350f659a90a3e26c"
}
Random seed set to: 2212045692
2025-03-12T13:36:49Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp9tvl8mkd/weights url=https://replicate.delivery/xezq/k2ngzDaZe3wfokJs2TzppPMW7PRUefrf1ERjIfT6s4DeG85LKA/trained_model.tar
2025-03-12T13:36:51Z | INFO | [ Complete ] dest=/tmp/tmp9tvl8mkd/weights size="307 MB" total_elapsed=2.113s url=https://replicate.delivery/xezq/k2ngzDaZe3wfokJs2TzppPMW7PRUefrf1ERjIfT6s4DeG85LKA/trained_model.tar
Checking inputs
====================================
Checking weights
✅ 69f856c60fdecc69a618f11467900dd2.safetensors exists in loras directory
✅ umt5_xxl_fp16.safetensors exists in ComfyUI/models/text_encoders
✅ wan2.1_t2v_14B_bf16.safetensors exists in ComfyUI/models/diffusion_models
✅ wan_2.1_vae.safetensors exists in ComfyUI/models/vae
====================================
Running workflow
[ComfyUI] got prompt
Executing node 39, title: Load VAE, class type: VAELoader
[ComfyUI] Using pytorch attention in VAE
[ComfyUI] Using pytorch attention in VAE
[ComfyUI] VAE load device: cuda:0, offload device: cpu, dtype: torch.bfloat16
Executing node 40, title: EmptyHunyuanLatentVideo, class type: EmptyHunyuanLatentVideo
Executing node 38, title: Load CLIP, class type: CLIPLoader
[ComfyUI] CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cpu, dtype: torch.float16
[ComfyUI] Requested to load WanTEModel
Executing node 7, title: CLIP Text Encode (Negative Prompt), class type: CLIPTextEncode
[ComfyUI] loaded completely 141327.4875 10835.4765625 True
Executing node 37, title: Load Diffusion Model, class type: UNETLoader
[ComfyUI] model weight dtype torch.float16, manual cast: None
[ComfyUI] model_type FLOW
Executing node 53, title: WanVideo Enhance A Video (native), class type: WanVideoEnhanceAVideoKJ
Executing node 54, title: WanVideo Tea Cache (native), class type: WanVideoTeaCacheKJ
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 141069.4875 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 124343.96281542968 27251.406372070312 True
[ComfyUI]
[ComfyUI] 0%| | 0/30 [00:00<?, ?it/s]
[ComfyUI] 3%|▎ | 1/30 [00:07<03:42, 7.68s/it]
[ComfyUI] 7%|▋ | 2/30 [00:17<04:03, 8.69s/it]
[ComfyUI] 10%|█ | 3/30 [00:26<04:04, 9.07s/it]
[ComfyUI] TeaCache: Initialized
[ComfyUI]
[ComfyUI] 13%|█▎ | 4/30 [00:38<04:27, 10.30s/it]
[ComfyUI] 20%|██ | 6/30 [00:48<02:59, 7.47s/it]
[ComfyUI] 27%|██▋ | 8/30 [00:58<02:21, 6.44s/it]
[ComfyUI] 30%|███ | 9/30 [00:58<01:43, 4.95s/it]
[ComfyUI] 33%|███▎ | 10/30 [01:08<02:03, 6.19s/it]
[ComfyUI] 40%|████ | 12/30 [01:18<01:42, 5.67s/it]
[ComfyUI] 47%|████▋ | 14/30 [01:28<01:26, 5.41s/it]
[ComfyUI] 53%|█████▎ | 16/30 [01:38<01:13, 5.25s/it]
[ComfyUI] 60%|██████ | 18/30 [01:48<01:01, 5.16s/it]
[ComfyUI] 67%|██████▋ | 20/30 [01:58<00:50, 5.10s/it]
[ComfyUI] 73%|███████▎ | 22/30 [02:08<00:40, 5.06s/it]
[ComfyUI] 80%|████████ | 24/30 [02:18<00:30, 5.03s/it]
[ComfyUI] 87%|████████▋ | 26/30 [02:28<00:20, 5.01s/it]
[ComfyUI] 93%|█████████▎| 28/30 [02:38<00:09, 5.00s/it]
[ComfyUI] 100%|██████████| 30/30 [02:48<00:00, 4.98s/it]
[ComfyUI] 100%|██████████| 30/30 [02:48<00:00, 5.60s/it]
[ComfyUI] Requested to load WanVAE
Executing node 8, title: VAE Decode, class type: VAEDecode
[ComfyUI] loaded completely 98169.38668441772 242.02829551696777 True
Executing node 50, title: Video Combine 🎥🅥🅗🅢, class type: VHS_VideoCombine
[ComfyUI] Prompt executed in 187.44 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
This model runs on Nvidia H100 GPU hardware. We don't yet have enough runs of this model to provide performance information.
This model doesn't have a readme.
This model is warm. You'll get a fast response if the model is warm and already running, and a slower response if the model is cold and starting up.
Choose a file from your machine
Hint: you can also drag files onto the input
Random seed set to: 2212045692
2025-03-12T13:36:49Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp9tvl8mkd/weights url=https://replicate.delivery/xezq/k2ngzDaZe3wfokJs2TzppPMW7PRUefrf1ERjIfT6s4DeG85LKA/trained_model.tar
2025-03-12T13:36:51Z | INFO | [ Complete ] dest=/tmp/tmp9tvl8mkd/weights size="307 MB" total_elapsed=2.113s url=https://replicate.delivery/xezq/k2ngzDaZe3wfokJs2TzppPMW7PRUefrf1ERjIfT6s4DeG85LKA/trained_model.tar
Checking inputs
====================================
Checking weights
✅ 69f856c60fdecc69a618f11467900dd2.safetensors exists in loras directory
✅ umt5_xxl_fp16.safetensors exists in ComfyUI/models/text_encoders
✅ wan2.1_t2v_14B_bf16.safetensors exists in ComfyUI/models/diffusion_models
✅ wan_2.1_vae.safetensors exists in ComfyUI/models/vae
====================================
Running workflow
[ComfyUI] got prompt
Executing node 39, title: Load VAE, class type: VAELoader
[ComfyUI] Using pytorch attention in VAE
[ComfyUI] Using pytorch attention in VAE
[ComfyUI] VAE load device: cuda:0, offload device: cpu, dtype: torch.bfloat16
Executing node 40, title: EmptyHunyuanLatentVideo, class type: EmptyHunyuanLatentVideo
Executing node 38, title: Load CLIP, class type: CLIPLoader
[ComfyUI] CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cpu, dtype: torch.float16
[ComfyUI] Requested to load WanTEModel
Executing node 7, title: CLIP Text Encode (Negative Prompt), class type: CLIPTextEncode
[ComfyUI] loaded completely 141327.4875 10835.4765625 True
Executing node 37, title: Load Diffusion Model, class type: UNETLoader
[ComfyUI] model weight dtype torch.float16, manual cast: None
[ComfyUI] model_type FLOW
Executing node 53, title: WanVideo Enhance A Video (native), class type: WanVideoEnhanceAVideoKJ
Executing node 54, title: WanVideo Tea Cache (native), class type: WanVideoTeaCacheKJ
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 141069.4875 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 124343.96281542968 27251.406372070312 True
[ComfyUI]
[ComfyUI] 0%| | 0/30 [00:00<?, ?it/s]
[ComfyUI] 3%|▎ | 1/30 [00:07<03:42, 7.68s/it]
[ComfyUI] 7%|▋ | 2/30 [00:17<04:03, 8.69s/it]
[ComfyUI] 10%|█ | 3/30 [00:26<04:04, 9.07s/it]
[ComfyUI] TeaCache: Initialized
[ComfyUI]
[ComfyUI] 13%|█▎ | 4/30 [00:38<04:27, 10.30s/it]
[ComfyUI] 20%|██ | 6/30 [00:48<02:59, 7.47s/it]
[ComfyUI] 27%|██▋ | 8/30 [00:58<02:21, 6.44s/it]
[ComfyUI] 30%|███ | 9/30 [00:58<01:43, 4.95s/it]
[ComfyUI] 33%|███▎ | 10/30 [01:08<02:03, 6.19s/it]
[ComfyUI] 40%|████ | 12/30 [01:18<01:42, 5.67s/it]
[ComfyUI] 47%|████▋ | 14/30 [01:28<01:26, 5.41s/it]
[ComfyUI] 53%|█████▎ | 16/30 [01:38<01:13, 5.25s/it]
[ComfyUI] 60%|██████ | 18/30 [01:48<01:01, 5.16s/it]
[ComfyUI] 67%|██████▋ | 20/30 [01:58<00:50, 5.10s/it]
[ComfyUI] 73%|███████▎ | 22/30 [02:08<00:40, 5.06s/it]
[ComfyUI] 80%|████████ | 24/30 [02:18<00:30, 5.03s/it]
[ComfyUI] 87%|████████▋ | 26/30 [02:28<00:20, 5.01s/it]
[ComfyUI] 93%|█████████▎| 28/30 [02:38<00:09, 5.00s/it]
[ComfyUI] 100%|██████████| 30/30 [02:48<00:00, 4.98s/it]
[ComfyUI] 100%|██████████| 30/30 [02:48<00:00, 5.60s/it]
[ComfyUI] Requested to load WanVAE
Executing node 8, title: VAE Decode, class type: VAEDecode
[ComfyUI] loaded completely 98169.38668441772 242.02829551696777 True
Executing node 50, title: Video Combine 🎥🅥🅗🅢, class type: VHS_VideoCombine
[ComfyUI] Prompt executed in 187.44 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