{"id":2788,"date":"2023-02-21T22:35:30","date_gmt":"2023-02-21T14:35:30","guid":{"rendered":"https:\/\/nullthought.net\/?p=2788"},"modified":"2023-02-24T14:50:33","modified_gmt":"2023-02-24T06:50:33","slug":"stable-diffusion","status":"publish","type":"post","link":"https:\/\/nullthought.net\/?p=2788","title":{"rendered":"Stable Diffusion img2img"},"content":{"rendered":"\n<p>\u8bd5\u4e86\u4e00\u4e0b<a href=\"https:\/\/github.com\/AUTOMATIC1111\/stable-diffusion-webui\" target=\"_blank\" rel=\"noreferrer noopener\">Stable Diffusion<\/a>\u7684img2img\uff0c\u7ed9\u51fa\u7684prompt\u662f\uff1aDisney style, 3D render, a man, thinking and smiling, James Bond style\uff08\u8fea\u65af\u5c3c\u98ce\u683c\uff0c3D\uff0c\u601d\u8003\u5e76\u5fae\u7b11\uff0c\u8a79\u59c6\u65af\u90a6\u5fb7\u8303\u513f\uff09\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"506\" src=\"https:\/\/nullthought.net\/wp-content\/uploads\/2023\/02\/Stable-Diffusion_img2img_test-1024x506.png\" alt=\"\" class=\"wp-image-2789\" srcset=\"https:\/\/nullthought.net\/wp-content\/uploads\/2023\/02\/Stable-Diffusion_img2img_test-1024x506.png 1024w, https:\/\/nullthought.net\/wp-content\/uploads\/2023\/02\/Stable-Diffusion_img2img_test-300x148.png 300w, https:\/\/nullthought.net\/wp-content\/uploads\/2023\/02\/Stable-Diffusion_img2img_test-768x380.png 768w, https:\/\/nullthought.net\/wp-content\/uploads\/2023\/02\/Stable-Diffusion_img2img_test-1536x759.png 1536w, https:\/\/nullthought.net\/wp-content\/uploads\/2023\/02\/Stable-Diffusion_img2img_test.png 1889w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Stable Diffusion img2img test<\/figcaption><\/figure>\n\n\n\n<p>\u751f\u6210\u7684\u56fe\u50cf\u8fd8\u86ee\u9177\ud83d\ude0e<\/p>\n\n\n\n<p>\u7535\u8111GPU\u7684VRAM\u53ea\u67092G\uff0c\u6240\u4ee5\u8bbe\u7f6e\u4e86\u53c2\u6570\u2018&#8211;lowvram\u2019\u624d\u8dd1\u8d77\u6765\u3002\u5177\u4f53\u5982\u4e0b\uff1a<\/p>\n\n\n\n<p>COMMANDLINE_ARGS=&#8211;lowvram &#8211;always-batch-cond-uncond &#8211;precision full &#8211;no-half<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8bd5\u4e86\u4e00\u4e0bStable Diffusion\u7684img2img\uff0c\u7ed9\u51fa\u7684prompt\u662f\uff1aDisney style, 3 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[3,8],"tags":[39],"class_list":["post-2788","post","type-post","status-publish","format-standard","hentry","category-it","category-tech","tag-ai"],"rttpg_featured_image_url":null,"rttpg_author":{"display_name":"NullThought","author_link":"https:\/\/nullthought.net\/?author=1"},"rttpg_comment":0,"rttpg_category":"<a href=\"https:\/\/nullthought.net\/?cat=3\" rel=\"category\">IT<\/a> <a href=\"https:\/\/nullthought.net\/?cat=8\" rel=\"category\">Tech<\/a>","rttpg_excerpt":"\u8bd5\u4e86\u4e00\u4e0bStable Diffusion\u7684img2img\uff0c\u7ed9\u51fa\u7684prompt\u662f\uff1aDisney style, 3&hellip;","_links":{"self":[{"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/posts\/2788","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nullthought.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2788"}],"version-history":[{"count":2,"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/posts\/2788\/revisions"}],"predecessor-version":[{"id":2796,"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/posts\/2788\/revisions\/2796"}],"wp:attachment":[{"href":"https:\/\/nullthought.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2788"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nullthought.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2788"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nullthought.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2788"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}