三花快讯 · 2024, 5月18日

照片转动漫 ComfyUI 工作流

基于SDXL的照片转动漫风格的工作流,人物近景、风景和动物无需抽卡

三花 AI 上线新的照片转动漫风格的工作流,基于 SDXL,同样只需一张图片即可生成,对于人物近景、风景和动物无需抽卡,非常稳定,完全免费使用,缺点是不适合人多的照片(抽卡)。

如果你打不开上面的网站的话,可以直接复制下面的JSON

点击展开
{"last_node_id":35,"last_link_id":57,"nodes":[{"id":5,"type":"CheckpointLoaderSimple","pos":[-50,90],"size":{"0":461.2899475097656,"1":98},"flags":{"collapsed":true},"order":0,"mode":0,"outputs":[{"name":"MODEL","type":"MODEL","links":[3],"shape":3},{"name":"CLIP","type":"CLIP","links":[13],"shape":3,"slot_index":1},{"name":"VAE","type":"VAE","links":[43],"shape":3,"slot_index":2}],"properties":{"Node name for S&R":"CheckpointLoaderSimple"},"widgets_values":["SDXL/dreamshaperXL_sfwV2TurboDPMSDE.safetensors"]},{"id":4,"type":"CR Apply LoRA Stack","pos":[-50,130],"size":{"0":254.40000915527344,"1":66},"flags":{"collapsed":true},"order":4,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":3,"slot_index":0},{"name":"clip","type":"CLIP","link":13},{"name":"lora_stack","type":"LORA_STACK","link":2}],"outputs":[{"name":"MODEL","type":"MODEL","links":[49],"shape":3,"slot_index":0},{"name":"CLIP","type":"CLIP","links":[42],"shape":3,"slot_index":1},{"name":"show_help","type":"STRING","links":null,"shape":3}],"properties":{"Node name for S&R":"CR Apply LoRA Stack"}},{"id":3,"type":"CR LoRA Stack","pos":[-50,170],"size":{"0":264.2774658203125,"1":342},"flags":{},"order":1,"mode":0,"inputs":[{"name":"lora_stack","type":"LORA_STACK","link":null}],"outputs":[{"name":"LORA_STACK","type":"LORA_STACK","links":[2],"shape":3,"slot_index":0},{"name":"show_help","type":"STRING","links":null,"shape":3}],"properties":{"Node name for S&R":"CR LoRA Stack"},"widgets_values":["On","SDXL/StudioGhibli.Redmond-StdGBRRedmAF-StudioGhibli.safetensors",0.9,1,"Off","None",1,1,"Off","None",1,1]},{"id":17,"type":"AV_ControlNetPreprocessor","pos":[697.8777738085929,100.0389687979125],"size":{"0":315,"1":150},"flags":{"collapsed":true},"order":8,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":53}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[25],"shape":3,"slot_index":0},{"name":"CNET_NAME","type":"STRING","links":null,"shape":3}],"properties":{"Node name for S&R":"AV_ControlNetPreprocessor"},"widgets_values":["canny","sdxl",512,"None"]},{"id":18,"type":"CR Apply Multi-ControlNet","pos":[697.8777738085929,190.03896879791267],"size":{"0":330,"1":98},"flags":{"collapsed":true},"order":17,"mode":0,"inputs":[{"name":"base_positive","type":"CONDITIONING","link":26},{"name":"base_negative","type":"CONDITIONING","link":27},{"name":"controlnet_stack","type":"CONTROL_NET_STACK","link":24,"slot_index":2}],"outputs":[{"name":"base_pos","type":"CONDITIONING","links":[28],"shape":3,"slot_index":0},{"name":"base_neg","type":"CONDITIONING","links":[29],"shape":3,"slot_index":1},{"name":"show_help","type":"STRING","links":null,"shape":3}],"properties":{"Node name for S&R":"CR Apply Multi-ControlNet"},"widgets_values":["On"]},{"id":19,"type":"CR Multi-ControlNet Stack","pos":[694.8777738085929,233.03896879791267],"size":{"0":308.2232666015625,"1":457.7862548828125},"flags":{},"order":13,"mode":0,"inputs":[{"name":"image_1","type":"IMAGE","link":25},{"name":"image_2","type":"IMAGE","link":35},{"name":"image_3","type":"IMAGE","link":null},{"name":"controlnet_stack","type":"CONTROL_NET_STACK","link":null}],"outputs":[{"name":"CONTROLNET_STACK","type":"CONTROL_NET_STACK","links":[24],"shape":3},{"name":"show_help","type":"STRING","links":null,"shape":3}],"properties":{"Node name for S&R":"CR Multi-ControlNet Stack"},"widgets_values":["On","SDXL/sai_xl_canny_256lora.safetensors",0.7000000000000001,0,1,"On","SDXL/sai_xl_depth_256lora.safetensors",0.7000000000000001,0,1,"Off","None",1,0,1]},{"id":28,"type":"ReroutePrimitive|pysssss","pos":[304,-29],"size":[75,26],"flags":{},"order":7,"mode":0,"inputs":[{"name":"value","type":"*","link":42,"label":" "}],"outputs":[{"name":"*","type":"CLIP","links":[44,47],"shape":3,"label":"CLIP","slot_index":0}],"properties":{"Node name for S&R":"ReroutePrimitive|pysssss"}},{"id":27,"type":"ReroutePrimitive|pysssss","pos":[1110,-30],"size":[81.35637474106193,26],"flags":{},"order":6,"mode":0,"inputs":[{"name":"value","type":"*","link":49,"label":" "}],"outputs":[{"name":"*","type":"MODEL","links":[48],"shape":3,"label":"MODEL","slot_index":0}],"properties":{"Node name for S&R":"ReroutePrimitive|pysssss"}},{"id":16,"type":"VAEEncode","pos":[1086.5285959090193,93.1640026397705],"size":{"0":210,"1":46},"flags":{"collapsed":true},"order":15,"mode":0,"inputs":[{"name":"pixels","type":"IMAGE","link":57},{"name":"vae","type":"VAE","link":46}],"outputs":[{"name":"LATENT","type":"LATENT","links":[22],"shape":3,"slot_index":0}],"properties":{"Node name for S&R":"VAEEncode"}},{"id":1,"type":"KSampler","pos":[1087.5285959090193,137.1640026397705],"size":{"0":315,"1":262},"flags":{},"order":18,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":48,"slot_index":0},{"name":"positive","type":"CONDITIONING","link":28},{"name":"negative","type":"CONDITIONING","link":29},{"name":"latent_image","type":"LATENT","link":22,"slot_index":3}],"outputs":[{"name":"LATENT","type":"LATENT","links":[9],"shape":3,"slot_index":0}],"properties":{"Node name for S&R":"KSampler"},"widgets_values":[0,"fixed",6,2,"dpmpp_sde","karras",0.6]},{"id":8,"type":"VAEDecode","pos":[1094.5285959090193,444.16400263977056],"size":{"0":210,"1":46},"flags":{"collapsed":true},"order":19,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":9},{"name":"vae","type":"VAE","link":45}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[11],"shape":3,"slot_index":0}],"properties":{"Node name for S&R":"VAEDecode"}},{"id":29,"type":"ReroutePrimitive|pysssss","pos":[1220,-30],"size":[75,26],"flags":{},"order":3,"mode":0,"inputs":[{"name":"value","type":"*","link":43,"label":" "}],"outputs":[{"name":"*","type":"VAE","links":[45,46],"shape":3,"label":"VAE","slot_index":0}],"properties":{"Node name for S&R":"ReroutePrimitive|pysssss"}},{"id":31,"type":"ReroutePrimitive|pysssss","pos":[548,-26],"size":[75,26],"flags":{},"order":5,"mode":0,"inputs":[{"name":"value","type":"*","link":51,"label":" "}],"outputs":[{"name":"*","type":"IMAGE","links":[53,54,55,56],"shape":3,"label":"IMAGE","slot_index":0}],"properties":{"Node name for S&R":"ReroutePrimitive|pysssss"}},{"id":7,"type":"CLIPTextEncode","pos":[317,490],"size":{"0":400,"1":200},"flags":{"collapsed":true},"order":12,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":44}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[27],"shape":3,"slot_index":0}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["nsfw, paintings, cartoon, anime, sketches, worst quality, low quality, normal quality, lowres, watermark, monochrome, grayscale, ugly, blurry, Tan skin, dark skin, black skin, skin spots, skin blemishes, age spot, glans, disabled, distorted, bad anatomy, morbid, malformation, amputation, bad proportions, twins, missing body, fused body, extra head, poorly drawn face, bad eyes, deformed eye, unclear eyes, cross-eyed, long neck, malformed limbs, extra limbs, extra arms, missing arms, bad tongue, strange fingers, mutated hands, missing hands, poorly drawn hands, extra hands, fused hands, connected hand, bad hands, wrong fingers, missing fingers, extra fingers, 4 fingers, 3 fingers, deformed hands, extra legs, bad legs, many legs, more than two legs, bad feet, wrong feet, extra feets,"],"color":"#322","bgcolor":"#533"},{"id":6,"type":"CLIPTextEncode","pos":[317,440],"size":{"0":360.2917785644531,"1":55.37361145019531},"flags":{"collapsed":true},"order":16,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":47},{"name":"text","type":"STRING","link":19,"widget":{"name":"text"}}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[26],"shape":3,"slot_index":0}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":[""]},{"id":15,"type":"StringFunction|pysssss","pos":[317,390],"size":{"0":316.70458984375,"1":279.2037353515625},"flags":{"collapsed":true},"order":14,"mode":0,"inputs":[{"name":"text_b","type":"STRING","link":18,"widget":{"name":"text_b"}}],"outputs":[{"name":"STRING","type":"STRING","links":[19],"shape":3,"slot_index":0}],"properties":{"Node name for S&R":"StringFunction|pysssss"},"widgets_values":["append","yes","anime comic, cute, StdGBRedmAF, Studio Ghibli","","High quality, details, cartoonish, 8k","anime comic, cute, StdGBRedmAF, Studio Ghibli, solo, looking_at_viewer, short_hair, blonde_hair, simple_background, 1boy, closed_mouth, male_focus, lips, grey_eyes, black_background, portrait, realistic, High quality, details, cartoonish, 8k"]},{"id":14,"type":"WD14Tagger|pysssss","pos":[317,350],"size":{"0":315,"1":220},"flags":{"collapsed":true},"order":10,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":55}],"outputs":[{"name":"STRING","type":"STRING","links":[18],"shape":6,"slot_index":0}],"properties":{"Node name for S&R":"WD14Tagger|pysssss"},"widgets_values":["wd-v1-4-moat-tagger-v2",0.35,0.85,false,false,"","solo, looking_at_viewer, short_hair, blonde_hair, simple_background, 1boy, closed_mouth, male_focus, lips, grey_eyes, black_background, portrait, realistic"]},{"id":22,"type":"AV_ControlNetPreprocessor","pos":[694,147],"size":{"0":315,"1":150},"flags":{"collapsed":true},"order":9,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":54}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[35],"shape":3,"slot_index":0},{"name":"CNET_NAME","type":"STRING","links":null,"shape":3}],"properties":{"Node name for S&R":"AV_ControlNetPreprocessor"},"widgets_values":["depth_midas","sdxl",512,"None"]},{"id":32,"type":"ImageScaleToTotalPixels","pos":[319,97],"size":{"0":294.9588317871094,"1":82},"flags":{},"order":11,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":56}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[57],"shape":3,"slot_index":0}],"properties":{"Node name for S&R":"ImageScaleToTotalPixels"},"widgets_values":["nearest-exact",1]},{"id":30,"type":"LoadImageFromUrl","pos":[1074,-525],"size":{"0":219.65997314453125,"1":426.6618347167969},"flags":{},"order":2,"mode":0,"outputs":[{"name":"images","type":"IMAGE","links":[51],"shape":6,"slot_index":0},{"name":"masks","type":"MASK","links":null,"shape":6},{"name":"has_image","type":"BOOLEAN","links":null,"shape":3}],"properties":{"Node name for S&R":"LoadImageFromUrl"},"widgets_values":{"url":"/view?subfolder=&type=input&filename=4cb00b5abe7f41bcab90d3d5783165f9.jpeg","keep_alpha_channel":false,"output_mode":false,"choose image to upload":"image"}},{"id":9,"type":"PreviewImage","pos":[1473,-569],"size":{"0":1103.039306640625,"1":1386.1671142578125},"flags":{},"order":20,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":11}],"properties":{"Node name for S&R":"PreviewImage"}}],"links":[[2,3,0,4,2,"LORA_STACK"],[3,5,0,4,0,"MODEL"],[9,1,0,8,0,"LATENT"],[11,8,0,9,0,"IMAGE"],[13,5,1,4,1,"CLIP"],[18,14,0,15,0,"STRING"],[19,15,0,6,1,"STRING"],[22,16,0,1,3,"LATENT"],[24,19,0,18,2,"CONTROL_NET_STACK"],[25,17,0,19,0,"IMAGE"],[26,6,0,18,0,"CONDITIONING"],[27,7,0,18,1,"CONDITIONING"],[28,18,0,1,1,"CONDITIONING"],[29,18,1,1,2,"CONDITIONING"],[35,22,0,19,1,"IMAGE"],[42,4,1,28,0,"*"],[43,5,2,29,0,"*"],[44,28,0,7,0,"CLIP"],[45,29,0,8,1,"VAE"],[46,29,0,16,1,"VAE"],[47,28,0,6,0,"CLIP"],[48,27,0,1,0,"MODEL"],[49,4,0,27,0,"*"],[51,30,0,31,0,"*"],[53,31,0,17,0,"IMAGE"],[54,31,0,22,0,"IMAGE"],[55,31,0,14,0,"IMAGE"],[56,31,0,32,0,"IMAGE"],[57,32,0,16,0,"IMAGE"]],"groups":[{"title":"Models","bounding":[-65,14,311,514],"color":"#3f789e","font_size":24,"locked":false},{"title":"Prompt","bounding":[304,14,326,511],"color":"#3f789e","font_size":24,"locked":false},{"title":"ControlNet","bounding":[676,16,371,706],"color":"#3f789e","font_size":24,"locked":false},{"title":"KSampler","bounding":[1076,16,358,544],"color":"#3f789e","font_size":24,"locked":false}],"config":{},"extra":{},"version":0.4}

商业转载请联系三花微信公众号获得授权,非商业转载请注明本文出处及文章链接,您可以自由地在任何媒体以任何形式复制和分发作品,也可以修改和创作,但是分发衍生作品时必须采用相同的许可协议。

本文采用 CC BY-NC-SA 4.0 - 非商业性使用 - 相同方式共享 4.0 国际 进行许可。