{"id":24124,"date":"2026-06-10T15:06:21","date_gmt":"2026-06-10T07:06:21","guid":{"rendered":"https:\/\/ab123.xyz\/?p=24124"},"modified":"2026-06-10T15:06:21","modified_gmt":"2026-06-10T07:06:21","slug":"stable-diffusion-controlnet-%e8%be%b9%e7%bc%98%e6%a3%80%e6%b5%8b%e5%8f%82%e6%95%b0%e8%af%a6%e8%a7%a3%ef%bc%9a%e7%b2%be%e5%87%86%e6%8e%a7%e5%88%b6%e5%9b%be%e5%83%8f%e7%94%9f%e6%88%90%e7%9a%84%e6%9d%83","status":"publish","type":"post","link":"https:\/\/ab123.xyz\/?p=24124","title":{"rendered":"Stable Diffusion ControlNet \u8fb9\u7f18\u68c0\u6d4b\u53c2\u6570\u8be6\u89e3\uff1a\u7cbe\u51c6\u63a7\u5236\u56fe\u50cf\u751f\u6210\u7684\u6743\u5a01\u6307\u5357"},"content":{"rendered":"<p>Stable Diffusion ControlNet \u662f\u5f53\u524d\u6700\u5f3a\u5927\u7684 AI \u56fe\u50cf\u751f\u6210\u63a7\u5236\u5de5\u5177\u4e4b\u4e00\uff0c\u800c\u8fb9\u7f18\u68c0\u6d4b\u53c2\u6570\u5219\u662f\u53d1\u6325\u5176\u6f5c\u529b\u7684\u5173\u952e\u3002\u901a\u8fc7\u7cbe\u786e\u8c03\u6574 Canny\u3001HED \u6216 SoftEdge \u7b49\u9884\u5904\u7406\u5668\u7684\u53c2\u6570\uff0c\u7528\u6237\u53ef\u4ee5\u5c06\u8349\u56fe\u3001\u7ebf\u7a3f\u8f6c\u5316\u4e3a\u9ad8\u8d28\u91cf\u56fe\u50cf\uff0c\u540c\u65f6\u4fdd\u7559\u539f\u59cb\u6784\u56fe\u3002\u672c\u6587\u4f5c\u4e3a\u6743\u5a01\u6307\u5357\uff0c\u6df1\u5165\u89e3\u6790 ControlNet \u8fb9\u7f18\u68c0\u6d4b\u7684\u6838\u5fc3\u53c2\u6570\u53ca\u5176\u5e94\u7528\u6280\u5de7\uff0c\u5e76\u9644\u4e0a<a href=\"https:\/\/github.com\/lllyasviel\/ControlNet\" target=\"_blank\">\u5b98\u65b9\u7f51\u7ad9<\/a>\u4f9b\u5b9e\u8df5\u53c2\u8003\u3002<\/p>\n<h2>\u4ec0\u4e48\u662f ControlNet \u8fb9\u7f18\u68c0\u6d4b\uff1f<\/h2>\n<p>ControlNet \u901a\u8fc7\u5f15\u5165\u6761\u4ef6\u8f93\u5165\uff08\u5982\u8fb9\u7f18\u56fe\u3001\u6df1\u5ea6\u56fe\uff09\u6765\u5f15\u5bfc Stable Diffusion \u7684\u751f\u6210\u8fc7\u7a0b\u3002\u8fb9\u7f18\u68c0\u6d4b\u53c2\u6570\u63a7\u5236\u6a21\u578b\u5bf9\u7ebf\u6761\u3001\u8f6e\u5ed3\u7684\u654f\u611f\u5ea6\u4e0e\u7cbe\u7ec6\u5ea6\uff0c\u76f4\u63a5\u5f71\u54cd\u8f93\u51fa\u7ed3\u679c\u4e0e\u53c2\u8003\u56fe\u7684\u7b26\u5408\u7a0b\u5ea6\u3002\u5e38\u7528\u7684\u8fb9\u7f18\u68c0\u6d4b\u5668\u5305\u62ec Canny\uff08\u9ad8\u7cbe\u5ea6\u3001\u4f4e\u566a\u58f0\uff09\u3001HED\uff08\u4fdd\u7559\u7ec6\u90e8\u7ebf\u6761\uff09\u548c SoftEdge\uff08\u67d4\u5316\u8fc7\u6e21\uff09\u3002<\/p>\n<h3>\u6838\u5fc3\u53c2\u6570\u8be6\u89e3<\/h3>\n<ul>\n<li><strong>\u9884\u5904\u7406\u5668\u5206\u8fa8\u7387 (Preprocessor Resolution)<\/strong>\uff1a\u5efa\u8bae\u8bbe\u4e3a 512 \u6216 1024\uff0c\u5e73\u8861\u7ec6\u8282\u4e0e\u6027\u80fd\u3002\u8fc7\u4f4e\u4f1a\u5bfc\u81f4\u8fb9\u7f18\u6a21\u7cca\uff0c\u8fc7\u9ad8\u5219\u589e\u52a0\u663e\u5b58\u5360\u7528\u3002<\/li>\n<li><strong>Canny \u4f4e\u9608\u503c \/ \u9ad8\u9608\u503c<\/strong>\uff1a\u4f4e\u9608\u503c\u63a7\u5236\u8fb9\u7f18\u8fde\u63a5\u7684\u7075\u654f\u5ea6\uff08\u901a\u5e38 50-100\uff09\uff0c\u9ad8\u9608\u503c\u8fc7\u6ee4\u566a\u58f0\uff08\u5efa\u8bae 150-200\uff09\u3002\u82e5\u751f\u6210\u7684\u56fe\u50cf\u7ebf\u6761\u8fc7\u5bc6\uff0c\u53ef\u8c03\u9ad8\u9ad8\u9608\u503c\u3002<\/li>\n<li><strong>\u5f15\u5bfc\u5f3a\u5ea6 (Control Weight)<\/strong>\uff1a0.5-1.5 \u8303\u56f4\uff0c\u503c\u8d8a\u5927\u751f\u6210\u8d8a\u8d34\u8fd1\u8fb9\u7f18\u56fe\u3002\u63a8\u8350\u4ece 0.8 \u5f00\u59cb\u5fae\u8c03\u3002<\/li>\n<li><strong>\u8d77\u59cb\u4e0e\u7ec8\u6b62\u6b65\u6570 (Start\/End Control Step)<\/strong>\uff1a\u5efa\u8bae\u8d77\u59cb\u6b65 0\uff0c\u7ec8\u6b62\u6b65 0.8\uff0c\u8ba9\u6a21\u578b\u5728\u521d\u671f\u4e25\u683c\u8ddf\u968f\u8fb9\u7f18\uff0c\u540e\u671f\u81ea\u7531\u53d1\u6325\u7eb9\u7406\u7ec6\u8282\u3002<\/li>\n<\/ul>\n<h2>\u4f18\u52bf\u4e0e\u5b9e\u7528\u6280\u5de7<\/h2>\n<p>\u76f8\u6bd4\u4f20\u7edf img2img\uff0cControlNet \u8fb9\u7f18\u68c0\u6d4b\u5177\u5907\u4e09\u5927\u4f18\u52bf\uff1a<strong>\u6784\u56fe\u4fdd\u771f<\/strong>\uff08\u590d\u6742\u4eba\u7269\u52a8\u4f5c\u4e0d\u53d8\u5f62\uff09\u3001<strong>\u98ce\u683c\u8fc1\u79fb<\/strong>\uff08\u5c06\u7167\u7247\u8f6c\u4e3a\u7ebf\u7a3f\u518d\u751f\u6210\u6cb9\u753b\/\u52a8\u6f2b\uff09\u3001<strong>\u4e8c\u6b21\u521b\u4f5c<\/strong>\uff08\u4fdd\u7559\u539f\u56fe\u9aa8\u67b6\u66ff\u6362\u6750\u8d28\uff09\u3002\u8fdb\u9636\u6280\u5de7\u5305\u62ec\uff1a\u7ed3\u5408 LoRA \u6a21\u578b\u63d0\u5347\u7279\u5b9a\u98ce\u683c\u6548\u679c\uff1b\u4f7f\u7528\u591a\u5c42 ControlNet\uff08\u5982\u8fb9\u7f18+\u6df1\u5ea6\uff09\u5b9e\u73b0\u7acb\u4f53\u611f\uff1b\u8c03\u6574 CFG Scale \u914d\u5408\u63a7\u5236\u6743\u91cd\u907f\u514d\u8fc7\u62df\u5408\u3002<\/p>\n<h3>\u5e94\u7528\u573a\u666f<\/h3>\n<ul>\n<li><strong>\u6e38\u620f\u539f\u753b<\/strong>\uff1a\u5c06\u6982\u5ff5\u8349\u56fe\u5feb\u901f\u8f6c\u5316\u4e3a\u4e0a\u8272\u4f5c\u54c1\u3002<\/li>\n<li><strong>\u5efa\u7b51\u8bbe\u8ba1<\/strong>\uff1a\u4ece CAD \u7ebf\u7a3f\u751f\u6210\u591a\u79cd\u6e32\u67d3\u98ce\u683c\u3002<\/li>\n<li><strong>\u7535\u5546\u8bbe\u8ba1<\/strong>\uff1a\u4fdd\u7559\u4ea7\u54c1\u8f6e\u5ed3\uff0c\u4e00\u952e\u66ff\u6362\u80cc\u666f\u548c\u6750\u8d28\u3002<\/li>\n<li><strong>\u6559\u80b2\u63d2\u753b<\/strong>\uff1a\u5c06\u624b\u7ed8\u6559\u5b66\u56fe\u8f6c\u4e3a\u6e05\u6670\u7535\u5b50\u7a3f\u3002<\/li>\n<\/ul>\n<h2>\u5982\u4f55\u5f00\u59cb\u4f7f\u7528\uff1f<\/h2>\n<p>\u5b89\u88c5\u6b65\u9aa4\uff1a\u4e0b\u8f7d\u6700\u65b0\u7248 Stable Diffusion WebUI \u2192 \u5728\u6269\u5c55\u83dc\u5355\u5b89\u88c5 ControlNet \u63d2\u4ef6 \u2192 \u4e0b\u8f7d\u5bf9\u5e94\u7684\u8fb9\u7f18\u68c0\u6d4b\u9884\u5904\u7406\u5668\u6a21\u578b\uff08\u5982 ControlNet-v1-1 \u7684 Canny \u7248\u672c\uff09\u3002\u5728\u751f\u56fe\u754c\u9762\u52fe\u9009\u201c\u542f\u7528 ControlNet\u201d\uff0c\u4e0a\u4f20\u7ebf\u7a3f\u56fe\uff0c\u9009\u62e9\u9884\u5904\u7406\u5668\uff08\u5982 Canny\uff09\uff0c\u8c03\u6574\u4e0a\u8ff0\u53c2\u6570\u5373\u53ef\u751f\u6210\u3002\u5efa\u8bae\u521d\u6b21\u4f7f\u7528\u8005\u4ece\u5b98\u65b9\u793a\u4f8b\u53c2\u6570\u5f00\u59cb\uff0c\u9010\u6b65\u8c03\u4f18\u3002<\/p>\n<p>\u638c\u63e1 ControlNet \u8fb9\u7f18\u68c0\u6d4b\u53c2\u6570\u662f\u901a\u5f80\u4e13\u4e1a AI \u7ed8\u753b\u7684\u5fc5\u7ecf\u4e4b\u8def\u3002\u901a\u8fc7\u53cd\u590d\u5b9e\u9a8c\u9884\u5904\u7406\u5668\u5206\u8fa8\u7387\u3001\u9608\u503c\u548c\u6743\u91cd\uff0c\u4f60\u5c06\u80fd\u7cbe\u51c6\u63a7\u5236\u6bcf\u4e00\u6b21\u521b\u4f5c\uff0c\u8ba9 AI \u6210\u4e3a\u4f60\u7684\u5f97\u529b\u52a9\u624b\u3002\u7acb\u5373\u8bbf\u95ee<a href=\"https:\/\/github.com\/lllyasviel\/ControlNet\" target=\"_blank\">\u5b98\u65b9\u7f51\u7ad9<\/a>\u83b7\u53d6\u6700\u65b0\u6a21\u578b\u4e0e\u6587\u6863\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Stable Diffusion ControlNet \u662f\u5f53\u524d\u6700\u5f3a\u5927\u7684 AI \u56fe\u50cf\u751f\u6210\u63a7\u5236\u5de5\u5177\u4e4b\u4e00\uff0c\u800c\u8fb9\u7f18\u68c0\u6d4b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[3176,27085,6219,6215,27082],"class_list":["post-24124","post","type-post","status-publish","format-standard","hentry","category-4","tag-ai","tag-canny","tag-controlnet","tag-stable-diffusion-controlnet","tag-27082"],"_links":{"self":[{"href":"https:\/\/ab123.xyz\/index.php?rest_route=\/wp\/v2\/posts\/24124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ab123.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ab123.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ab123.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ab123.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=24124"}],"version-history":[{"count":1,"href":"https:\/\/ab123.xyz\/index.php?rest_route=\/wp\/v2\/posts\/24124\/revisions"}],"predecessor-version":[{"id":24125,"href":"https:\/\/ab123.xyz\/index.php?rest_route=\/wp\/v2\/posts\/24124\/revisions\/24125"}],"wp:attachment":[{"href":"https:\/\/ab123.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=24124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ab123.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ab123.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}