{"id":2607,"date":"2023-04-12T17:29:38","date_gmt":"2023-04-12T21:29:38","guid":{"rendered":"http:\/\/blog.veronika-zemanova.info\/?p=2607"},"modified":"2023-04-12T17:31:49","modified_gmt":"2023-04-12T21:31:49","slug":"veronika-c-o-stable-diffusion-textual-inversion","status":"publish","type":"post","link":"http:\/\/blog.veronika-zemanova.info\/?p=2607","title":{"rendered":"Veronika c\/o Stable Diffusion Textual Inversion"},"content":{"rendered":"\n<p>I was introduced to the power of Stable Diffusion a few weeks ago when I saw works of art literally created out of thin air by simply &#8220;describing&#8221; what you wanted the content of the image to contain. I explored the power of this a little more and discovered that it was also able to create a likeness of anyone through the use of &#8220;embeddings&#8221; where you produce a file containing the necessary parameters needed to steer the Stable Diffusion algorithm in the direction to the desired subject. This got me thinking &#8230;. oh &#8230; we can get Veronika out retirement and create a &#8220;metaverse&#8221; version. I searching around, I had found that someone on one of the AI forums had already created a basic Veronika model I could start with. After about 1.5 hours of loading the Stable Diffusion AI software on my server and then about another 2 days of playing around with settings, I was able to come up with these 2 almost photo realistic &#8220;new&#8221; AI created pictures of Veronika:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.veronika-zemanova.info\/wp-content\/uploads\/2023\/04\/Stable-Diffusion-Example-1.jpg\" alt=\"\" class=\"wp-image-2605\" width=\"372\" height=\"500\" srcset=\"http:\/\/blog.veronika-zemanova.info\/wp-content\/uploads\/2023\/04\/Stable-Diffusion-Example-1.jpg 744w, http:\/\/blog.veronika-zemanova.info\/wp-content\/uploads\/2023\/04\/Stable-Diffusion-Example-1-223x300.jpg 223w\" sizes=\"auto, (max-width: 372px) 100vw, 372px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.veronika-zemanova.info\/wp-content\/uploads\/2023\/04\/Stable-Diffusion-Example-2.jpg\" alt=\"\" class=\"wp-image-2606\" width=\"372\" height=\"500\" srcset=\"http:\/\/blog.veronika-zemanova.info\/wp-content\/uploads\/2023\/04\/Stable-Diffusion-Example-2.jpg 744w, http:\/\/blog.veronika-zemanova.info\/wp-content\/uploads\/2023\/04\/Stable-Diffusion-Example-2-223x300.jpg 223w\" sizes=\"auto, (max-width: 372px) 100vw, 372px\" \/><\/figure><\/div>\n\n\n\n<p>The resemblance if almost perfect. Of course there is still work to do to better refine the model but certainly a very good start.<\/p>\n\n\n\n<p>If anyone is interested in learning more about Stable Diffusion and how it works you can consult the following Wikipedia link on the topic:  <a href=\"https:\/\/en.m.wikipedia.org\/wiki\/Stable_Diffusion\">https:\/\/en.m.wikipedia.org\/wiki\/Stable_Diffusion<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was introduced to the power of Stable Diffusion a few weeks ago when I saw works of art literally created out of thin air by simply &#8220;describing&#8221; what you wanted the content of the image to contain. I explored the power of this a little more and discovered that it was also able to &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/blog.veronika-zemanova.info\/?p=2607\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Veronika c\/o Stable Diffusion Textual Inversion&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[88,87,1],"tags":[],"class_list":["post-2607","post","type-post","status-publish","format-standard","hentry","category-ai","category-stable-diffusion","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/blog.veronika-zemanova.info\/index.php?rest_route=\/wp\/v2\/posts\/2607","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.veronika-zemanova.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.veronika-zemanova.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.veronika-zemanova.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.veronika-zemanova.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2607"}],"version-history":[{"count":2,"href":"http:\/\/blog.veronika-zemanova.info\/index.php?rest_route=\/wp\/v2\/posts\/2607\/revisions"}],"predecessor-version":[{"id":2609,"href":"http:\/\/blog.veronika-zemanova.info\/index.php?rest_route=\/wp\/v2\/posts\/2607\/revisions\/2609"}],"wp:attachment":[{"href":"http:\/\/blog.veronika-zemanova.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2607"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.veronika-zemanova.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2607"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.veronika-zemanova.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}