Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save Jonseed/ce98489a981829ddd697fd498e2f3e22 to your computer and use it in GitHub Desktop.

Select an option

Save Jonseed/ce98489a981829ddd697fd498e2f3e22 to your computer and use it in GitHub Desktop.
Mochi txt2vid with Mochi Decode
{
"last_node_id": 48,
"last_link_id": 87,
"nodes": [
{
"id": 7,
"type": "CLIPTextEncode",
"pos": {
"0": 413,
"1": 389
},
"size": {
"0": 425.27801513671875,
"1": 180.6060791015625
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 75
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
52
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
]
},
{
"id": 38,
"type": "CLIPLoader",
"pos": {
"0": 40,
"1": 270
},
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
74,
75
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPLoader"
},
"widgets_values": [
"t5xxl_fp8_e4m3fn_scaled.safetensors",
"mochi"
]
},
{
"id": 37,
"type": "UNETLoader",
"pos": {
"0": 420,
"1": 40
},
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
79
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"mochi\\mochi_preview_fp8_scaled.safetensors",
"default"
]
},
{
"id": 28,
"type": "SaveAnimatedWEBP",
"pos": {
"0": 1597,
"1": 189
},
"size": {
"0": 543.7349243164062,
"1": 617.9680786132812
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 82
}
],
"outputs": [],
"properties": {},
"widgets_values": [
"ComfyUI",
24,
false,
80,
"default",
null
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": {
"0": 1240,
"1": 189
},
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 8,
"mode": 4,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 35
},
{
"name": "vae",
"type": "VAE",
"link": 76
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": {
"0": 415,
"1": 186
},
"size": {
"0": 422.84503173828125,
"1": 164.31304931640625
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 74
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
46
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"A warm, vibrant scene in Pixar style: a middle-aged man with olive skin, graying dark hair, and a gentle, fatherly expression hands a colorful, ornate cloak to a teenage boy around 17 years old. The boy has light olive skin, curly dark hair, and big brown eyes filled with surprise and pride. They stand under a sprawling tree with golden sunlight filtering through, giving the scene a peaceful, almost sacred atmosphere. The father’s eyes shine with affection as the boy receives the cloak —ar 16:9"
]
},
{
"id": 43,
"type": "MochiVAELoader",
"pos": {
"0": 888,
"1": 614
},
"size": [
279.7024158886031,
82
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "torch_compile_args",
"type": "MOCHICOMPILEARGS",
"link": null,
"shape": 7
}
],
"outputs": [
{
"name": "mochi_vae",
"type": "MOCHIVAE",
"links": [
85
]
}
],
"properties": {
"Node name for S&R": "MochiVAELoader"
},
"widgets_values": [
"mochi_preview_vae_decoder_bf16.safetensors",
"bf16"
]
},
{
"id": 21,
"type": "EmptyMochiLatentVideo",
"pos": {
"0": 525,
"1": 619
},
"size": {
"0": 315,
"1": 130
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
38
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyMochiLatentVideo"
},
"widgets_values": [
848,
480,
61,
1
]
},
{
"id": 39,
"type": "VAELoader",
"pos": {
"0": 890,
"1": 500
},
"size": {
"0": 278.68310546875,
"1": 58
},
"flags": {},
"order": 4,
"mode": 4,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
76
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"mochi_vae.safetensors"
]
},
{
"id": 40,
"type": "MochiDecode",
"pos": {
"0": 1226,
"1": 290
},
"size": {
"0": 315,
"1": 246
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "vae",
"type": "MOCHIVAE",
"link": 85
},
{
"name": "samples",
"type": "LATENT",
"link": 87
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
82
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MochiDecode"
},
"widgets_values": [
true,
true,
6,
160,
288,
0.1666,
0.2,
false
]
},
{
"id": 3,
"type": "KSampler",
"pos": {
"0": 865,
"1": 175
},
"size": {
"0": 315,
"1": 262
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 79
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 46
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 52
},
{
"name": "latent_image",
"type": "LATENT",
"link": 38
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
35,
86
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
250815706250743,
"fixed",
30,
4.5,
"euler",
"simple",
1
]
},
{
"id": 48,
"type": "UnloadAllModels",
"pos": {
"0": 1211,
"1": 100
},
"size": {
"0": 210,
"1": 26
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "value",
"type": "*",
"link": 86
}
],
"outputs": [
{
"name": "*",
"type": "*",
"links": [
87
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UnloadAllModels"
}
}
],
"links": [
[
35,
3,
0,
8,
0,
"LATENT"
],
[
38,
21,
0,
3,
3,
"LATENT"
],
[
46,
6,
0,
3,
1,
"CONDITIONING"
],
[
52,
7,
0,
3,
2,
"CONDITIONING"
],
[
74,
38,
0,
6,
0,
"CLIP"
],
[
75,
38,
0,
7,
0,
"CLIP"
],
[
76,
39,
0,
8,
1,
"VAE"
],
[
79,
37,
0,
3,
0,
"MODEL"
],
[
82,
40,
0,
28,
0,
"IMAGE"
],
[
85,
43,
0,
40,
0,
"MOCHIVAE"
],
[
86,
3,
0,
48,
0,
"*"
],
[
87,
48,
0,
40,
1,
"LATENT"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.8390545288824288,
"offset": [
34.22512112337581,
107.716714273335
]
}
},
"version": 0.4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment