Guest User

API

a guest
Feb 21st, 2025
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.09 KB | None | 0 0
  1. {
  2. "1": {
  3. "inputs": {
  4. "model": "skyreels_hunyuan_i2v_bf16.safetensors",
  5. "base_precision": "bf16",
  6. "quantization": "disabled",
  7. "load_device": "offload_device",
  8. "attention_mode": "sageattn_varlen",
  9. "auto_cpu_offload": false,
  10. "upcast_rope": true,
  11. "compile_args": [
  12. "57",
  13. 0
  14. ],
  15. "block_swap_args": [
  16. "59",
  17. 0
  18. ],
  19. "lora": [
  20. "80",
  21. 0
  22. ]
  23. },
  24. "class_type": "HyVideoModelLoader",
  25. "_meta": {
  26. "title": "HunyuanVideo Model Loader"
  27. }
  28. },
  29. "3": {
  30. "inputs": {
  31. "width": [
  32. "45",
  33. 1
  34. ],
  35. "height": [
  36. "45",
  37. 2
  38. ],
  39. "num_frames": 97,
  40. "steps": 30,
  41. "embedded_guidance_scale": 1,
  42. "flow_shift": 9,
  43. "seed": 15,
  44. "force_offload": 1,
  45. "denoise_strength": 1,
  46. "scheduler": "SDE-DPMSolverMultistepScheduler",
  47. "model": [
  48. "1",
  49. 0
  50. ],
  51. "hyvid_embeds": [
  52. "30",
  53. 0
  54. ],
  55. "stg_args": [
  56. "43",
  57. 0
  58. ],
  59. "teacache_args": [
  60. "64",
  61. 0
  62. ]
  63. },
  64. "class_type": "HyVideoSampler",
  65. "_meta": {
  66. "title": "HunyuanVideo Sampler"
  67. }
  68. },
  69. "5": {
  70. "inputs": {
  71. "enable_vae_tiling": true,
  72. "temporal_tiling_sample_size": 64,
  73. "spatial_tile_sample_min_size": 192,
  74. "auto_tile_size": false,
  75. "vae": [
  76. "7",
  77. 0
  78. ],
  79. "samples": [
  80. "3",
  81. 0
  82. ]
  83. },
  84. "class_type": "HyVideoDecode",
  85. "_meta": {
  86. "title": "HunyuanVideo Decode"
  87. }
  88. },
  89. "7": {
  90. "inputs": {
  91. "model_name": "hunyuan_video_vae_fp32_kijai.safetensors",
  92. "precision": "fp32",
  93. "compile_args": [
  94. "57",
  95. 0
  96. ]
  97. },
  98. "class_type": "HyVideoVAELoader",
  99. "_meta": {
  100. "title": "HunyuanVideo VAE Loader"
  101. }
  102. },
  103. "16": {
  104. "inputs": {
  105. "llm_model": "Kijai/llava-llama-3-8b-text-encoder-tokenizer",
  106. "clip_model": "openai/clip-vit-large-patch14",
  107. "precision": "bf16",
  108. "apply_final_norm": false,
  109. "hidden_state_skip_layer": 3,
  110. "quantization": "disabled",
  111. "load_device": "offload_device"
  112. },
  113. "class_type": "DownloadAndLoadHyVideoTextEncoder",
  114. "_meta": {
  115. "title": "(Down)Load HunyuanVideo TextEncoder"
  116. }
  117. },
  118. "30": {
  119. "inputs": {
  120. "prompt": "Cinematic scene shows a woman getting up and walking away.The background remains consistent throughout the scene. ",
  121. "force_offload": "bad quality video",
  122. "prompt_template": "video",
  123. "text_encoders": [
  124. "16",
  125. 0
  126. ],
  127. "custom_prompt_template": [
  128. "88",
  129. 0
  130. ],
  131. "hyvid_cfg": [
  132. "58",
  133. 0
  134. ]
  135. },
  136. "class_type": "HyVideoTextEncode",
  137. "_meta": {
  138. "title": "HunyuanVideo TextEncode"
  139. }
  140. },
  141. "34": {
  142. "inputs": {
  143. "frame_rate": 24,
  144. "loop_count": 0,
  145. "filename_prefix": "HunyuanVideo_skyreel_I2V",
  146. "format": "video/h264-mp4",
  147. "pix_fmt": "yuv420p",
  148. "crf": 19,
  149. "save_metadata": true,
  150. "trim_to_audio": false,
  151. "pingpong": false,
  152. "save_output": true,
  153. "images": [
  154. "52",
  155. 0
  156. ]
  157. },
  158. "class_type": "VHS_VideoCombine",
  159. "_meta": {
  160. "title": "Video Combine 🎥🅥🅗🅢"
  161. }
  162. },
  163. "43": {
  164. "inputs": {
  165. "enable_vae_tiling": false,
  166. "temporal_tiling_sample_size": 64,
  167. "spatial_tile_sample_min_size": 256,
  168. "auto_tile_size": true,
  169. "noise_aug_strength": 0.04,
  170. "latent_strength": 1,
  171. "vae": [
  172. "7",
  173. 0
  174. ],
  175. "image": [
  176. "45",
  177. 0
  178. ]
  179. },
  180. "class_type": "HyVideoEncode",
  181. "_meta": {
  182. "title": "HunyuanVideo Encode"
  183. }
  184. },
  185. "45": {
  186. "inputs": {
  187. "width": 544,
  188. "height": 960,
  189. "upscale_method": "lanczos",
  190. "keep_proportion": false,
  191. "divisible_by": 2,
  192. "crop": "center",
  193. "image": [
  194. "79",
  195. 0
  196. ]
  197. },
  198. "class_type": "ImageResizeKJ",
  199. "_meta": {
  200. "title": "Resize Image"
  201. }
  202. },
  203. "52": {
  204. "inputs": {
  205. "inputcount": 2,
  206. "direction": "right",
  207. "match_image_size": false,
  208. "Update inputs": null,
  209. "image_1": [
  210. "45",
  211. 0
  212. ],
  213. "image_2": [
  214. "60",
  215. 0
  216. ]
  217. },
  218. "class_type": "ImageConcatMulti",
  219. "_meta": {
  220. "title": "Image Concatenate Multi"
  221. }
  222. },
  223. "57": {
  224. "inputs": {
  225. "backend": "inductor",
  226. "fullgraph": false,
  227. "mode": "default",
  228. "dynamic": false,
  229. "dynamo_cache_size_limit": 64,
  230. "compile_single_blocks": true,
  231. "compile_double_blocks": true,
  232. "compile_txt_in": false,
  233. "compile_vector_in": false,
  234. "compile_final_layer": false
  235. },
  236. "class_type": "HyVideoTorchCompileSettings",
  237. "_meta": {
  238. "title": "HunyuanVideo Torch Compile Settings"
  239. }
  240. },
  241. "58": {
  242. "inputs": {
  243. "negative_prompt": "camera movement, jump cut, scene cut, transition, fading, morphing",
  244. "cfg": 6,
  245. "start_percent": 0,
  246. "end_percent": 0.5
  247. },
  248. "class_type": "HyVideoCFG",
  249. "_meta": {
  250. "title": "HunyuanVideo CFG"
  251. }
  252. },
  253. "59": {
  254. "inputs": {
  255. "double_blocks_to_swap": 20,
  256. "single_blocks_to_swap": 10,
  257. "offload_txt_in": false,
  258. "offload_img_in": false
  259. },
  260. "class_type": "HyVideoBlockSwap",
  261. "_meta": {
  262. "title": "HunyuanVideo BlockSwap"
  263. }
  264. },
  265. "60": {
  266. "inputs": {
  267. "method": "mkl",
  268. "strength": 1,
  269. "image_ref": [
  270. "45",
  271. 0
  272. ],
  273. "image_target": [
  274. "5",
  275. 0
  276. ]
  277. },
  278. "class_type": "ColorMatch",
  279. "_meta": {
  280. "title": "Color Match"
  281. }
  282. },
  283. "64": {
  284. "inputs": {
  285. "weight": 4,
  286. "single_blocks": true,
  287. "double_blocks": true,
  288. "start_percent": 0,
  289. "end_percent": 1
  290. },
  291. "class_type": "HyVideoEnhanceAVideo",
  292. "_meta": {
  293. "title": "HunyuanVideo Enhance A Video"
  294. }
  295. },
  296. "78": {
  297. "inputs": {
  298. "frame_rate": 24,
  299. "loop_count": 0,
  300. "filename_prefix": "HunyuanVideo_skyreel_I2V",
  301. "format": "video/h264-mp4",
  302. "pix_fmt": "yuv420p",
  303. "crf": 19,
  304. "save_metadata": true,
  305. "trim_to_audio": false,
  306. "pingpong": false,
  307. "save_output": true,
  308. "images": [
  309. "60",
  310. 0
  311. ]
  312. },
  313. "class_type": "VHS_VideoCombine",
  314. "_meta": {
  315. "title": "Video Combine 🎥🅥🅗🅢"
  316. }
  317. },
  318. "79": {
  319. "inputs": {
  320. "image": "image__01418_.png",
  321. "upload": "image"
  322. },
  323. "class_type": "LoadImage",
  324. "_meta": {
  325. "title": "Load Image"
  326. }
  327. },
  328. "80": {
  329. "inputs": {
  330. "lora": "hunyuan_video/skyreels-i2v-smooth-lora-test-00000350.safetensors",
  331. "strength": 0.6
  332. },
  333. "class_type": "HyVideoLoraSelect",
  334. "_meta": {
  335. "title": "HunyuanVideo Lora Select"
  336. }
  337. },
  338. "88": {
  339. "inputs": {
  340. "custom_prompt_template": "<|start_header_id|>system<|end_header_id|>\n\nYou are a professional Content Analyst. As a specialist Scene Annotator, you tag and describe scenes in detail, paying special attention to the temporal coherence and sequence of events in the scene.\n\n# INSTRUCTIONS\n\nYou will receive two inputs:\n\n1. The first frame of a video;\n2. A short description of the scene.\n\nYour job is to write a comprehensive description of the scene based on the inputs.\n\n# IMPORTANT INFORMATION \n\nThe scene is only 4s (four seconds long).\nThe scene has 98 frames in total at 24 frames per second (24 fps).\n\n# GUIDELINES\n\n- Write a detailed description based on the inputs.\n- Use your expertise to adapt the scene description so that it is consistent and coherent.\n- Ensure the actions and events described can fit reasonably in a 4 second clip.\n- Be concise and avoid abstract qualifiers, focus on concrete aspects of the scene, in particular the main subject, the motion, actions and events.\n- Use the input image, which is the fisrt frame of the video, to infer the visual qualities, mood and tone of the overall scene.\n- Always consider the appropriate sequence of events for the scene so it fits the four seconds legth of the clip.\n\n# DELIVERABLES\n\nYou will deliver a concise and detailed description of the scene that is consistent with the inputs you receive, and temporally coherent given the length of the scene. You should output something like this:\n\nDETAILED DESCRIPTION OF THE VIDEO SCENE IN APPROPRIATE TEMPORAL SEQUENCE. OVERALL MOOD OF THE SCENE BASED ON THE FIRST FRAME. 3 TO 5 TAGS THAT REPRESENT THE SCENE GENRE/STYLE/CATEGORY.\n\n\nWrite the scene description: \n\n<|eot_id|><|start_header_id|>user<|end_header_id|>\n\n{}<|eot_id|>",
  341. "crop_start": 95
  342. },
  343. "class_type": "HyVideoCustomPromptTemplate",
  344. "_meta": {
  345. "title": "HunyuanVideo Custom Prompt Template"
  346. }
  347. }
  348. }
Advertisement
Add Comment
Please, Sign In to add comment