Guest User

Krea 2 ComfyUI Workflow for SillyTavern

a guest
Jul 31st, 2026
590
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.99 KB | None | 0 0
  1. {
  2. "1": {
  3. "inputs": {
  4. "unet_name": "%model%",
  5. "weight_dtype": "default"
  6. },
  7. "class_type": "UNETLoader",
  8. "_meta": {
  9. "title": "Load Diffusion Model"
  10. }
  11. },
  12. "3": {
  13. "inputs": {
  14. "clip_name": "qwen3vl_4b_bf16.safetensors",
  15. "type": "krea2",
  16. "device": "default"
  17. },
  18. "class_type": "CLIPLoader",
  19. "_meta": {
  20. "title": "Load CLIP"
  21. }
  22. },
  23. "11": {
  24. "inputs": {
  25. "width": "%width%",
  26. "height": "%height%",
  27. "batch_size": 1
  28. },
  29. "class_type": "EmptyLatentImage",
  30. "_meta": {
  31. "title": "Empty Latent Image"
  32. }
  33. },
  34. "14": {
  35. "inputs": {
  36. "images": [
  37. "228",
  38. 0
  39. ]
  40. },
  41. "class_type": "PreviewImage",
  42. "_meta": {
  43. "title": "Preview Image"
  44. }
  45. },
  46. "16": {
  47. "inputs": {
  48. "vae_name": "wan_2.1_vae.safetensors"
  49. },
  50. "class_type": "VAELoader",
  51. "_meta": {
  52. "title": "Load VAE"
  53. }
  54. },
  55. "119": {
  56. "inputs": {
  57. "value": "%prompt%"
  58. },
  59. "class_type": "PrimitiveStringMultiline",
  60. "_meta": {
  61. "title": "User Prompt"
  62. }
  63. },
  64. "227": {
  65. "inputs": {
  66. "filename_prefix": "ComfyUI",
  67. "images": [
  68. "228",
  69. 0
  70. ]
  71. },
  72. "class_type": "SaveImage",
  73. "_meta": {
  74. "title": "Save Image"
  75. }
  76. },
  77. "228": {
  78. "inputs": {
  79. "value": [
  80. "123:102",
  81. 0
  82. ]
  83. },
  84. "class_type": "UnloadAllModels",
  85. "_meta": {
  86. "title": "UnloadAllModels"
  87. }
  88. },
  89. "123:8": {
  90. "inputs": {
  91. "text": [
  92. "123:115",
  93. 0
  94. ],
  95. "clip": [
  96. "3",
  97. 0
  98. ]
  99. },
  100. "class_type": "CLIPTextEncode",
  101. "_meta": {
  102. "title": "CLIP Text Encode (Prompt)"
  103. }
  104. },
  105. "123:29": {
  106. "inputs": {
  107. "conditioning": [
  108. "123:8",
  109. 0
  110. ]
  111. },
  112. "class_type": "ConditioningZeroOut",
  113. "_meta": {
  114. "title": "Conditioning Zero Out"
  115. }
  116. },
  117. "123:189": {
  118. "inputs": {
  119. "shift": 4,
  120. "model": [
  121. "1",
  122. 0
  123. ]
  124. },
  125. "class_type": "ModelSamplingAuraFlow",
  126. "_meta": {
  127. "title": "ModelSamplingAuraFlow"
  128. }
  129. },
  130. "123:113": {
  131. "inputs": {
  132. "string_a": [
  133. "123:114",
  134. 0
  135. ],
  136. "string_b": [
  137. "119",
  138. 0
  139. ],
  140. "delimiter": ""
  141. },
  142. "class_type": "StringConcatenate",
  143. "_meta": {
  144. "title": "Concatenate Text"
  145. }
  146. },
  147. "123:117": {
  148. "inputs": {
  149. "string_a": [
  150. "123:116",
  151. 0
  152. ],
  153. "string_b": "",
  154. "delimiter": ", "
  155. },
  156. "class_type": "StringConcatenate",
  157. "_meta": {
  158. "title": "Concatenate Text (LoRA Trigger Word)"
  159. }
  160. },
  161. "123:118": {
  162. "inputs": {
  163. "switch": false,
  164. "on_false": [
  165. "123:116",
  166. 0
  167. ],
  168. "on_true": [
  169. "123:117",
  170. 0
  171. ]
  172. },
  173. "class_type": "ComfySwitchNode",
  174. "_meta": {
  175. "title": "If/Else Switch"
  176. }
  177. },
  178. "123:114": {
  179. "inputs": {
  180. "value": "Role: Autonomous prompt expander for a vision-language model.\nTask: Convert brief input into a fluid 7-9 sentence paragraph mirroring exact training data formats.\n\nCRITICAL RULES:\n- Zero Conversation: Output ONLY the descriptive paragraph. No intros, no meta-text, no regurgitation of rules.\n- Absolute Autonomy: If input is short/vague, hallucinate ALL missing details. NEVER ask for details.\n- Strictly Optical: Describe ONLY visible pixels. ZERO invisible senses (smells, sounds, temperature) or narrative conclusions.\n- Mandatory Sequence: \n1) Subject & Action (use \"naked\"/\"nude\" if unclothed), \n2) Traits & Attire (assign age strictly as \"18-years-old\", \"25-years-old\" etc.), \n3) Setting & Background, \n4) Lighting & Dominant Colors, \n5) Camera Angle, \n6-9) Optical Micro-Details (textures, shadows).\n- Banned Vocabulary: scent, smell, fragrance, sound, hears, feels, striking, embodies, personifying, narrative, masterpiece, hyper-realistic, realistic, 4k, possesses.\n\nEXAMPLE INPUT:\nwoman on bed in a room. she is dressed\n\nEXAMPLE OUTPUT:\nA 25-years-old woman sits on the edge of a bed, leaning forward slightly with her hands resting on her knees. She wears a faded oversized band t-shirt and ripped black denim shorts, her dark hair pulled into a bun. The bedroom behind her is cluttered with clothes scattered across a wooden floor and posters peeling off the walls. The camera captures her in a medium-wide shot from a slightly high angle, emphasizing the clutter around her feet. A silver ring catches a glint of light on her right hand. The bedsheets are crumpled, showing tight folds and heavy creases where she sits.\n\nNow, process the following input. Output ONLY the final visual description paragraph.\n\nUSER'S INPUT:"
  181. },
  182. "class_type": "PrimitiveStringMultiline",
  183. "_meta": {
  184. "title": "System Prompt"
  185. }
  186. },
  187. "123:115": {
  188. "inputs": {
  189. "source": [
  190. "123:118",
  191. 0
  192. ]
  193. },
  194. "class_type": "PreviewAny",
  195. "_meta": {
  196. "title": "Preview as Text"
  197. }
  198. },
  199. "123:102": {
  200. "inputs": {
  201. "samples": [
  202. "123:6",
  203. 0
  204. ],
  205. "vae": [
  206. "16",
  207. 0
  208. ]
  209. },
  210. "class_type": "VAEDecode",
  211. "_meta": {
  212. "title": "VAE Decode"
  213. }
  214. },
  215. "123:221": {
  216. "inputs": {
  217. "image": [
  218. "123:102",
  219. 0
  220. ]
  221. },
  222. "class_type": "GetImageSize",
  223. "_meta": {
  224. "title": "Get Image Size"
  225. }
  226. },
  227. "123:6": {
  228. "inputs": {
  229. "seed": "%seed%",
  230. "steps": "%steps%",
  231. "cfg": "%scale%",
  232. "sampler_name": "%sampler%",
  233. "scheduler": "%scheduler%",
  234. "denoise": 1,
  235. "model": [
  236. "123:189",
  237. 0
  238. ],
  239. "positive": [
  240. "123:8",
  241. 0
  242. ],
  243. "negative": [
  244. "123:29",
  245. 0
  246. ],
  247. "latent_image": [
  248. "11",
  249. 0
  250. ]
  251. },
  252. "class_type": "KSampler",
  253. "_meta": {
  254. "title": "KSampler"
  255. }
  256. },
  257. "123:112": {
  258. "inputs": {
  259. "prompt": [
  260. "123:113",
  261. 0
  262. ],
  263. "max_length": 512,
  264. "sampling_mode": "on",
  265. "sampling_mode.temperature": 0.7,
  266. "sampling_mode.top_k": 64,
  267. "sampling_mode.top_p": 0.95,
  268. "sampling_mode.min_p": 0.05,
  269. "sampling_mode.repetition_penalty": 1.05,
  270. "sampling_mode.seed": 0,
  271. "sampling_mode.presence_penalty": 0,
  272. "thinking": false,
  273. "use_default_template": true,
  274. "clip": [
  275. "3",
  276. 0
  277. ]
  278. },
  279. "class_type": "TextGenerate",
  280. "_meta": {
  281. "title": "Generate Text"
  282. }
  283. },
  284. "123:116": {
  285. "inputs": {
  286. "switch": false,
  287. "on_false": [
  288. "119",
  289. 0
  290. ],
  291. "on_true": [
  292. "123:112",
  293. 0
  294. ]
  295. },
  296. "class_type": "ComfySwitchNode",
  297. "_meta": {
  298. "title": "If/Else Switch"
  299. }
  300. }
  301. }
Add Comment
Please, Sign In to add comment