前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >手把手从买HAI服务器开始教你搭建自己照片转绘动漫工作流

手把手从买HAI服务器开始教你搭建自己照片转绘动漫工作流

原创
作者头像
怪盗LYL
发布2024-03-13 03:20:45
8410
发布2024-03-13 03:20:45
举报
文章被收录于专栏:AI绘画测试开发真货

所需用到工具

高性能应用服务HAI、comfyui

前言

  • 最近沉迷ai绘画,这里分享下comfyui风格转绘的工作流,按照我的风格,直接实操,不讲理论,先玩起来再学习理论。首先是设备的选择,这里对比了几家选择了腾讯的高性能应用服务HAI,价格和服务都比较合适。
  • 一定要开完全部再开始照着做,写完这篇文章大概花了五六个小时,大部分时间都是下载模型浪费了。

高性能应用服务HAI

现在好像比我之前买的时候有优惠,可以花一块钱试试。

1.购买:

  • 点击立即使用进入控制台,在控制台点击新建。
  • 我这里使用comfyui工作流模式,因为相对应ui模式吃显存比较小,我本地的显存不够。推荐选择首尔地域,虽然过年地域腾讯云也提供加速,但是总有这样那样问题(实际遇到过)不如直接选首尔地域,实例名称随便填,云硬盘可以之后按需调整,之后点击立即购买
  • 显示创建中就是购买成功了等待一会。

2.运行

  • 我们先打开web页面查看是否成功。 如果出现下面的页面就是创建运行成功了。
  • HAI包里面默认装好了中文节点和管理节点。可以切换中文。安装模型和节点
  • 首先下载一个动漫风格的模型,我平常喜欢这个画风。
  • 考虑到有一些可能访问不了c站,可以试试liblib少一些但是大部分的模型也有,本身我是使用v3类型的,既然从新开始这里重新下一下v1版本。

HAI给了几种下载建议,我选择第三种(如果huggingface/github有你需要的模型我推荐第一种直接服务器命令下载)。下载以后上传到腾讯的COS桶,在使用wget命令下载到comfyui服务器里。

创建cos桶

  • 详情里面的这个地址就是我们的文件地址了。

打开cmd控制台,分别执行:cd /root/ComfyUI/models/checkpoints

和:wget https://hai-ai1-1255992870.cos.ap-seoul.myqcloud.com/%E7%BB%AA%E5%84%BF-%E5%8A%A8%E6%BC%AB%20%E5%B8%85%E5%93%A5%E7%BE%8E%E5%A5%B3%E6%A8%A1%E5%9E%8B_%E5%8F%AF%E7%88%B1%E9%A3%8EV1.safetensors (wget 刚刚复制的地址)

  • 再刷新下页面就可以加载啦。

加载工作流

将工作流拖入页面,会自动加载,之后会显示哪些节点还没有安装,我将一步步讲解。

1.关闭提示

2.点击右下角的Manager

3.点击弹框的安装缺失节点、勾选所有节点并安装。

  • 控制台可以查看下载进度:
  • 当出现:To apply the installed/updated/disabled/enabled custom node, please RESTART ComfyUI. And refresh browser.时候点击RESTART重启,或者控制台页面有重启命令(遇事不决重启)
  • 再次运行、报错啦!为什么呢,因为我们有一些加载的东西没有获取到哦。
  • 我们先使用官方给的、这两个命令下载controlnet和vae(秒速五公里),注意controlnet

可以不都下载自己去选择下载(会超硬盘存量需要扩储存)。

  • 刷新再次运行,只剩下三个节点了(记得加载图片),IP-Adapter Face ID是换脸模型,可以保持脸部一致性,我们现在去下载它需要的模型。
代码语言:sh
复制
cd /root/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus/models
wget htttp:xxxxx/ip-adapter-faceid-plusv2_sd15.bin(你的地址,注意权限要是公开读取的)
cd /root/ComfyUI/models/loras
wget htttp:xxxxx/ip-adapter-faceid-plusv2_sd15_lora.safetensors(你的地址,注意权限要是公开读取的)
cd /root/ComfyUI/models/clip_vision
wget htttp:xxxxx/CLIP-ViT-H-14-laion2B-s32B-b79K.safetensors(你的地址,注意权限要是公开读取的)
cd /root/ComfyUI/models/upscale_models
wget htttp:xxxxx/4x-UltraSharp.pth(你的地址,注意权限要是公开读取的)
  • 再次运行

-可以正常生成图片了

  • 我们可以不换脸运行、忽略换脸组、再次运行

总结:

  • 一个可以运行的图片转绘工作流就搭好了。分别使用了以下组

1.反推提示词 通过加载图片反推提示词和要合并的提示词合并输入采样器,也可以不使用直接输入文本提示词。

  • 一个白头发女孩 2.效率加载器 加载大模型、vea,设置高度、宽度。 3.保持原造型的controlnet加载器 输出的是线稿
  • 将线稿当做正面条件输入了采样器。 4.faceid换脸 从加载的图片获取人物样子作为模型输入采样器

5.放大修复 采用tile模型在原图型上加细节等于高清修复

最后:

代码语言:json
复制
/*
* 提示:该行代码过长,系统自动注释不进行高亮。一键复制会移除系统注释 
* {"last_node_id":159,"last_link_id":336,"nodes":[{"id":9,"type":"IPAdapterModelLoader","pos":[1840.14859891529,24.19836712671707],"size":{"0":438.6328430175781,"1":58},"flags":{},"order":0,"mode":0,"outputs":[{"name":"IPADAPTER","type":"IPADAPTER","links":[81],"shape":3,"slot_index":0,"label":"IP适配"}],"properties":{"Node name for S&R":"IPAdapterModelLoader"},"widgets_values":["ip-adapter-faceid-plusv2_sd15.bin"],"color":"#223","bgcolor":"#335"},{"id":14,"type":"LoraLoaderModelOnly","pos":[1733.14859891529,341.1983671267168],"size":{"0":508.95147705078125,"1":82},"flags":{},"order":16,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":270,"label":"模型"}],"outputs":[{"name":"MODEL","type":"MODEL","links":[97],"shape":3,"slot_index":0,"label":"模型"}],"properties":{"Node name for S&R":"LoraLoaderModelOnly"},"widgets_values":["ip-adapter-faceid-plusv2_sd15_lora.safetensors",0.9],"color":"#223","bgcolor":"#335"},{"id":31,"type":"CLIPVisionLoader","pos":[1735.14859891529,153.198367126717],"size":{"0":488.0539245605469,"1":58.61859130859375},"flags":{},"order":1,"mode":0,"outputs":[{"name":"CLIP_VISION","type":"CLIP_VISION","links":[82],"shape":3,"slot_index":0,"label":"CLIP视觉"}],"properties":{"Node name for S&R":"CLIPVisionLoader"},"widgets_values":["CLIP-ViT-H-14-laion2B-s32B-b79K.safetensors"],"color":"#223","bgcolor":"#335"},{"id":32,"type":"InsightFaceLoader","pos":[1782.14859891529,248.1983671267169],"size":{"0":290,"1":60},"flags":{},"order":2,"mode":0,"outputs":[{"name":"INSIGHTFACE","type":"INSIGHTFACE","links":[84],"shape":3,"slot_index":0,"label":"INSIGHTFACE"}],"properties":{"Node name for S&R":"InsightFaceLoader"},"widgets_values":["CUDA"],"color":"#223","bgcolor":"#335"},{"id":150,"type":"ImageUpscaleWithModel","pos":[3084.203871718748,1107.6407830296873],"size":{"0":241.79998779296875,"1":46},"flags":{},"order":23,"mode":4,"inputs":[{"name":"upscale_model","type":"UPSCALE_MODEL","link":313,"label":"放大模型","slot_index":0},{"name":"image","type":"IMAGE","link":326,"label":"图像"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[314],"shape":3,"label":"图像","slot_index":0}],"properties":{"Node name for S&R":"ImageUpscaleWithModel"}},{"id":151,"type":"ImageScaleBy","pos":[3396.2038717187484,1038.6407830296873],"size":{"0":315,"1":82},"flags":{},"order":24,"mode":4,"inputs":[{"name":"image","type":"IMAGE","link":314,"label":"图像"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[315,317],"shape":3,"label":"图像","slot_index":0}],"properties":{"Node name for S&R":"ImageScaleBy"},"widgets_values":["nearest-exact",0.5]},{"id":155,"type":"VAEDecode","pos":[4456.203871718744,829.640783029688],"size":{"0":210,"1":46},"flags":{},"order":28,"mode":4,"inputs":[{"name":"samples","type":"LATENT","link":322,"label":"Latent"},{"name":"vae","type":"VAE","link":330,"label":"VAE","slot_index":1}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[323],"shape":3,"label":"图像","slot_index":0}],"properties":{"Node name for S&R":"VAEDecode"}},{"id":149,"type":"RescaleCFG","pos":[3284.203871718748,668.640783029688],"size":{"0":315,"1":58},"flags":{},"order":17,"mode":4,"inputs":[{"name":"model","type":"MODEL","link":325,"label":"模型","slot_index":0}],"outputs":[{"name":"MODEL","type":"MODEL","links":[318],"shape":3,"label":"模型","slot_index":0}],"properties":{"Node name for S&R":"RescaleCFG"},"widgets_values":[0.7000000000000001]},{"id":153,"type":"ControlNetApplyAdvanced","pos":[3370.203871718748,813.640783029688],"size":{"0":315,"1":166},"flags":{},"order":26,"mode":4,"inputs":[{"name":"positive","type":"CONDITIONING","link":328,"label":"正面条件"},{"name":"negative","type":"CONDITIONING","link":329,"label":"负面条件","slot_index":1},{"name":"control_net","type":"CONTROL_NET","link":316,"label":"ControlNet","slot_index":2},{"name":"image","type":"IMAGE","link":317,"label":"图像"}],"outputs":[{"name":"positive","type":"CONDITIONING","links":[319],"shape":3,"label":"正面条件","slot_index":0},{"name":"negative","type":"CONDITIONING","links":[320],"shape":3,"label":"负面条件","slot_index":1}],"properties":{"Node name for S&R":"ControlNetApplyAdvanced"},"widgets_values":[1,0,0.7000000000000001]},{"id":148,"type":"ControlNetLoaderAdvanced","pos":[3079.203871718748,1447.6407830296873],"size":{"0":367.79998779296875,"1":58},"flags":{},"order":3,"mode":4,"inputs":[{"name":"timestep_keyframe","type":"TIMESTEP_KEYFRAME","link":null,"label":"帧间隔"}],"outputs":[{"name":"CONTROL_NET","type":"CONTROL_NET","links":[316],"shape":3,"label":"ControlNet"}],"properties":{"Node name for S&R":"ControlNetLoaderAdvanced"},"widgets_values":["control_v11f1e_sd15_tile.pth"]},{"id":129,"type":"Text Concatenate","pos":[645.2301634283201,398.28116369453056],"size":{"0":310.2707824707031,"1":282.97552490234375},"flags":{},"order":12,"mode":0,"inputs":[{"name":"text_a","type":"STRING","link":280,"widget":{"name":"text_a"},"label":"文本_A"},{"name":"text_b","type":"STRING","link":281,"widget":{"name":"text_b"},"label":"文本_B"},{"name":"text_c","type":"STRING","link":null,"widget":{"name":"text_c"},"label":"文本_C"},{"name":"text_d","type":"STRING","link":null,"widget":{"name":"text_d"},"label":"文本_d"}],"outputs":[{"name":"STRING","type":"STRING","links":[282],"shape":3,"slot_index":0,"label":"字符串"}],"properties":{"Node name for S&R":"Text Concatenate"},"widgets_values":["","true","false","","",","],"color":"#233","bgcolor":"#355"},{"id":128,"type":"WD14Tagger|pysssss","pos":[832.2301634283202,890.2811636945318],"size":{"0":514.7947998046875,"1":392.2752380371094},"flags":{},"order":10,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":279,"label":"图像"}],"outputs":[{"name":"STRING","type":"STRING","links":[281],"shape":6,"slot_index":0,"label":"字符串"}],"properties":{"Node name for S&R":"WD14Tagger|pysssss"},"widgets_values":["wd-v1-4-moat-tagger-v2",0.35,0.85," 1boy,male_focus,beard,facial_hair, ",false,"","long hair, blue eyes, multiple girls, blonde hair, dress, 2girls, jewelry, full body, earrings, outdoors, wings, sky, day, cloud, white dress, sandals, grass, feathered wings, flying, angel wings, white wings, angel"],"color":"#233","bgcolor":"#355"},{"id":131,"type":"ControlNetApply","pos":[1509,-608],"size":{"0":317.4000244140625,"1":98},"flags":{},"order":18,"mode":0,"inputs":[{"name":"conditioning","type":"CONDITIONING","link":288,"label":"条件","slot_index":0},{"name":"control_net","type":"CONTROL_NET","link":289,"label":"ControlNet","slot_index":1},{"name":"image","type":"IMAGE","link":290,"label":"图像","slot_index":2}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[287],"shape":3,"label":"条件","slot_index":0}],"properties":{"Node name for S&R":"ControlNetApply"},"widgets_values":[1]},{"id":132,"type":"ControlNetLoader","pos":[1471,-435],"size":{"0":440.0733947753906,"1":102.8798599243164},"flags":{},"order":4,"mode":0,"outputs":[{"name":"CONTROL_NET","type":"CONTROL_NET","links":[289],"shape":3,"label":"ControlNet"}],"properties":{"Node name for S&R":"ControlNetLoader"},"widgets_values":["control_v11p_sd15_canny.pth"]},{"id":133,"type":"CannyEdgePreprocessor","pos":[1508,-769],"size":{"0":315,"1":106},"flags":{},"order":11,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":291,"label":"图像","slot_index":0}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[290,292],"shape":3,"label":"图像","slot_index":0}],"properties":{"Node name for S&R":"CannyEdgePreprocessor"},"widgets_values":[101,200,1024]},{"id":134,"type":"PreviewImage","pos":[1961,-768],"size":{"0":531.0390014648438,"1":358.8157958984375},"flags":{},"order":13,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":292,"label":"图像"}],"properties":{"Node name for S&R":"PreviewImage"}},{"id":157,"type":"PreviewImage","pos":[2064,787],"size":[544.5643192500006,402.80573875781283],"flags":{},"order":30,"mode":4,"inputs":[{"name":"images","type":"IMAGE","link":324,"label":"图像"}],"properties":{"Node name for S&R":"PreviewImage"}},{"id":76,"type":"KSampler","pos":[2990,-43],"size":{"0":528.3920288085938,"1":571.88037109375},"flags":{},"order":20,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":332,"slot_index":0,"label":"模型"},{"name":"positive","type":"CONDITIONING","link":287,"slot_index":1,"label":"正面条件"},{"name":"negative","type":"CONDITIONING","link":273,"slot_index":2,"label":"负面条件"},{"name":"latent_image","type":"LATENT","link":275,"label":"Latent"},{"name":"seed","type":"INT","link":142,"widget":{"name":"seed"},"slot_index":4,"label":"随机种"}],"outputs":[{"name":"LATENT","type":"LATENT","links":[139],"shape":3,"slot_index":0,"label":"Latent"}],"properties":{"Node name for S&R":"KSampler"},"widgets_values":[201435270672523,"randomize",28,1,"dpmpp_2m","karras",1]},{"id":6,"type":"VAEDecode","pos":[2439,678],"size":{"0":271.8097229003906,"1":53.521175384521484},"flags":{},"order":21,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":139,"label":"Latent"},{"name":"vae","type":"VAE","link":276,"label":"VAE"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[72,326],"slot_index":0,"label":"图像"}],"properties":{"Node name for S&R":"VAEDecode"}},{"id":152,"type":"VAEEncode","pos":[3740,941],"size":{"0":210,"1":46},"flags":{},"order":25,"mode":4,"inputs":[{"name":"pixels","type":"IMAGE","link":315,"label":"图像"},{"name":"vae","type":"VAE","link":327,"label":"VAE","slot_index":1}],"outputs":[{"name":"LATENT","type":"LATENT","links":[321],"shape":3,"label":"Latent","slot_index":0}],"properties":{"Node name for S&R":"VAEEncode"}},{"id":22,"type":"PreviewImage","pos":[1473,746],"size":[444.6188547070308,449.6348419628903],"flags":{},"order":22,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":72,"label":"图像"}],"properties":{"Node name for S&R":"PreviewImage"}},{"id":78,"type":"Seed (rgthree)","pos":[2590,777],"size":{"0":225,"1":130},"flags":{},"order":5,"mode":0,"outputs":[{"name":"SEED","type":"INT","links":[142],"shape":3,"slot_index":0,"label":"随机种","dir":4}],"properties":{"Node name for S&R":"Seed (rgthree)"},"widgets_values":[-1,null,null,null]},{"id":147,"type":"UpscaleModelLoader","pos":[2939,936],"size":{"0":315,"1":58},"flags":{},"order":6,"mode":4,"outputs":[{"name":"UPSCALE_MODEL","type":"UPSCALE_MODEL","links":[313],"shape":3,"label":"放大模型"}],"properties":{"Node name for S&R":"UpscaleModelLoader"},"widgets_values":["4x-UltraSharp.pth"]},{"id":33,"type":"IPAdapterApplyFaceID","pos":[2338.1485989152893,58.198367126717145],"size":{"0":314.7999267578125,"1":410.800048828125},"flags":{},"order":19,"mode":0,"inputs":[{"name":"ipadapter","type":"IPADAPTER","link":81,"label":"IP适配"},{"name":"clip_vision","type":"CLIP_VISION","link":82,"label":"CLIP视觉"},{"name":"insightface","type":"INSIGHTFACE","link":84,"label":"InsightFace"},{"name":"image","type":"IMAGE","link":309,"label":"图像"},{"name":"model","type":"MODEL","link":97,"label":"模型"},{"name":"attn_mask","type":"MASK","link":null,"label":"关注层遮罩"}],"outputs":[{"name":"MODEL","type":"MODEL","links":[332],"shape":3,"slot_index":0,"label":"模型"}],"properties":{"Node name for S&R":"IPAdapterApplyFaceID"},"widgets_values":[3,0,"original",0,1,true,1,false],"color":"#223","bgcolor":"#335"},{"id":126,"type":"CR Prompt Text","pos":[179,393],"size":{"0":400,"1":200},"flags":{},"order":7,"mode":0,"outputs":[{"name":"prompt","type":"STRING","links":[280],"shape":3,"slot_index":0,"label":"提示词文本"},{"name":"show_help","type":"STRING","links":null,"shape":3,"label":"show_help"}],"properties":{"Node name for S&R":"CR Prompt Text"},"widgets_values":["realistic hyperdetalization,real real photography,\nmake up,lips,"],"color":"#232","bgcolor":"#353"},{"id":127,"type":"CR Prompt Text","pos":[963,593],"size":{"0":400,"1":200},"flags":{},"order":8,"mode":0,"outputs":[{"name":"prompt","type":"STRING","links":[283],"shape":3,"slot_index":0,"label":"提示词文本"},{"name":"show_help","type":"STRING","links":null,"shape":3,"label":"show_help"}],"properties":{"Node name for S&R":"CR Prompt Text"},"widgets_values":["(EasyNegative:1.0), (badhandv4:1.2), (ng_deepnegative_v1_75t:1.0),(bad_prompt:1.0),nsfw(worst quality:2), (low quality:2), lowres, normal quality,skin spots, acnes, skin blemishes, age spot, bad anatomy,text,error, missing fngers,extra digt ,fewer digits,cropped, wort quality , jpeg, username, blurry, artist name,((disfigured)), ((bad art)), ((deformed)),((extra limbs)),((close up)),((b&w)), wierd colors, blurry, (((duplicate))), ((morbid)), ((mutilated)), [out of frame], (((extra fingers, mutated hands))), ((poorly drawn hands)), ((poorly drawn face)), (((mutation))), (((deformed))), ((ugly)), blurry, ((bad anatomy)), (((bad proportions))), ((extra limbs)), cloned face, (((disfigured))), out of frame, ugly, extra limbs, (bad anatomy), gross proportions, (malformed limbs), ((missing arms)), ((missing legs)), (((extra arms))), (((extra legs))), mutated hands, (fused fingers), (too many fingers), (((long neck))), "],"color":"#332922","bgcolor":"#593930"},{"id":154,"type":"KSampler","pos":[4068.203871718745,819.640783029688],"size":{"0":315,"1":262},"flags":{},"order":27,"mode":4,"inputs":[{"name":"model","type":"MODEL","link":318,"label":"模型","slot_index":0},{"name":"positive","type":"CONDITIONING","link":319,"label":"正面条件","slot_index":1},{"name":"negative","type":"CONDITIONING","link":320,"label":"负面条件","slot_index":2},{"name":"latent_image","type":"LATENT","link":321,"label":"Latent","slot_index":3}],"outputs":[{"name":"LATENT","type":"LATENT","links":[322],"shape":3,"label":"Latent","slot_index":0}],"properties":{"Node name for S&R":"KSampler"},"widgets_values":[926799794242659,"fixed",20,1,"dpmpp_2m","karras",0.4]},{"id":156,"type":"ImageCASharpening+","pos":[4062,1350],"size":{"0":315,"1":58},"flags":{},"order":29,"mode":4,"inputs":[{"name":"image","type":"IMAGE","link":323,"label":"image"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[324],"shape":3,"label":"IMAGE","slot_index":0}],"properties":{"Node name for S&R":"ImageCASharpening+"},"widgets_values":[0.4]},{"id":125,"type":"LoadImage","pos":[470.2301634283201,837.2811636945319],"size":{"0":329.34735107421875,"1":411.5579528808594},"flags":{},"order":9,"mode":0,"outputs":[{"name":"IMAGE","type":"IMAGE","links":[279,291,309],"shape":3,"slot_index":0,"label":"图像"},{"name":"MASK","type":"MASK","links":null,"shape":3,"label":"遮罩"}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["00111-3983614341-20230531173418.png","image"]},{"id":130,"type":"SDXLPromptStyler","pos":[1000,382],"size":{"0":304,"1":158.00006103515625},"flags":{},"order":14,"mode":0,"inputs":[{"name":"text_positive","type":"STRING","link":282,"widget":{"name":"text_positive"},"label":"正面条件"},{"name":"text_negative","type":"STRING","link":283,"widget":{"name":"text_negative"},"label":"负面条件","slot_index":1}],"outputs":[{"name":"positive_prompt_text_g","type":"STRING","links":[335],"shape":3,"slot_index":0,"label":"positive_prompt_text_g"},{"name":"negative_prompt_text_g","type":"STRING","links":[336],"shape":3,"slot_index":1,"label":"negative_prompt_text_g"}],"properties":{"Node name for S&R":"SDXLPromptStyler"},"widgets_values":["","","sai-anime","Yes","",true],"color":"#232","bgcolor":"#353"},{"id":124,"type":"Efficient Loader","pos":[902,-185],"size":{"0":400,"1":462.00006103515625},"flags":{},"order":15,"mode":0,"inputs":[{"name":"lora_stack","type":"LORA_STACK","link":null,"slot_index":0,"label":"LoRA堆"},{"name":"cnet_stack","type":"CONTROL_NET_STACK","link":null,"label":"ControlNet堆","slot_index":1},{"name":"positive","type":"STRING","link":335,"widget":{"name":"positive"},"label":"正面条件"},{"name":"negative","type":"STRING","link":336,"widget":{"name":"negative"},"label":"负面条件"}],"outputs":[{"name":"MODEL","type":"MODEL","links":[270,325],"shape":3,"slot_index":0,"label":"模型"},{"name":"CONDITIONING+","type":"CONDITIONING","links":[288,328],"shape":3,"slot_index":1,"label":"正面条件"},{"name":"CONDITIONING-","type":"CONDITIONING","links":[273,329],"shape":3,"slot_index":2,"label":"负面条件"},{"name":"LATENT","type":"LATENT","links":[275],"shape":3,"label":"Latent","slot_index":3},{"name":"VAE","type":"VAE","links":[276,327,330],"shape":3,"slot_index":4,"label":"VAE"},{"name":"CLIP","type":"CLIP","links":null,"shape":3,"label":"CLIP"},{"name":"DEPENDENCIES","type":"DEPENDENCIES","links":null,"shape":3,"label":"依赖"}],"properties":{"Node name for S&R":"Efficient Loader"},"widgets_values":["绪儿-动漫 帅哥美女模型_可爱风V1.safetensors","vae-ft-mse-840000-ema-pruned.safetensors",-1,"None",1,1,"CLIP_POSITIVE","CLIP_NEGATIVE","none","comfy",1024,1024,1],"color":"#332233","bgcolor":"#553355","shape":1}],"links":[[72,6,0,22,0,"IMAGE"],[81,9,0,33,0,"IPADAPTER"],[82,31,0,33,1,"CLIP_VISION"],[84,32,0,33,2,"INSIGHTFACE"],[97,14,0,33,4,"MODEL"],[139,76,0,6,0,"LATENT"],[142,78,0,76,4,"INT"],[270,124,0,14,0,"MODEL"],[273,124,2,76,2,"CONDITIONING"],[275,124,3,76,3,"LATENT"],[276,124,4,6,1,"VAE"],[279,125,0,128,0,"IMAGE"],[280,126,0,129,0,"STRING"],[281,128,0,129,1,"STRING"],[282,129,0,130,0,"STRING"],[283,127,0,130,1,"STRING"],[287,131,0,76,1,"CONDITIONING"],[288,124,1,131,0,"CONDITIONING"],[289,132,0,131,1,"CONTROL_NET"],[290,133,0,131,2,"IMAGE"],[291,125,0,133,0,"IMAGE"],[292,133,0,134,0,"IMAGE"],[309,125,0,33,3,"IMAGE"],[313,147,0,150,0,"UPSCALE_MODEL"],[314,150,0,151,0,"IMAGE"],[315,151,0,152,0,"IMAGE"],[316,148,0,153,2,"CONTROL_NET"],[317,151,0,153,3,"IMAGE"],[318,149,0,154,0,"MODEL"],[319,153,0,154,1,"CONDITIONING"],[320,153,1,154,2,"CONDITIONING"],[321,152,0,154,3,"LATENT"],[322,154,0,155,0,"LATENT"],[323,155,0,156,0,"IMAGE"],[324,156,0,157,0,"IMAGE"],[325,124,0,149,0,"MODEL"],[326,6,0,150,1,"IMAGE"],[327,124,4,152,1,"VAE"],[328,124,1,153,0,"CONDITIONING"],[329,124,2,153,1,"CONDITIONING"],[330,124,4,155,1,"VAE"],[332,33,0,76,0,"MODEL"],[335,130,0,124,2,"STRING"],[336,130,1,124,3,"STRING"]],"groups":[{"title":"换脸","bounding":[1476,-54,1413,595],"color":"#3f789e","font_size":24,"locked":false},{"title":"预览","bounding":[1402,685,1412,520],"color":"#3f789e","font_size":24,"locked":false},{"title":"放大修复","bounding":[2865,595,1812,1001],"color":"#3f789e","font_size":24,"locked":false},{"title":"反推提示词","bounding":[169,308,1204,984],"color":"#3f789e","font_size":24,"locked":false},{"title":"获取线条","bounding":[1461,-843,1009,521],"color":"#3f789e","font_size":24,"locked":false}],"config":{},"extra":{"groupNodes":{}},"version":0.4}
*/
  • 这是工作流的json字符串复制到文件里面保存为.json的文件即可

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 前言
  • 高性能应用服务HAI
  • 总结:
  • 最后:
相关产品与服务
对象存储
对象存储(Cloud Object Storage,COS)是由腾讯云推出的无目录层次结构、无数据格式限制,可容纳海量数据且支持 HTTP/HTTPS 协议访问的分布式存储服务。腾讯云 COS 的存储桶空间无容量上限,无需分区管理,适用于 CDN 数据分发、数据万象处理或大数据计算与分析的数据湖等多种场景。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档