TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

I used Stable Diffusion and Dreambooth to create an art portrait of my dog

663 pointsby jakedahnabout 2 years ago

37 comments

pjgalbraithabout 2 years ago
Some feedback on workflow:<p><pre><code> - Automatic1111 outpainting works well but you need to enable the outpainting script. I would recommend Outpainting MK2. What the author did was just resize with fill which doesn&#x27;t do any diffusion on the outpainted sections. - There are much better resizing workflows, at a minumum I would recommend using the &quot;SD Upscale Script&quot;. However you can get great results by resizing the image to high-res (4-8k) using lanczos then using inpainting to manually diffuse the image at a much higher resolution with prompt control. In this case &quot;SD Upscale&quot; is fine but the inpaint based upscale works well with complex compositions. - When training I would typically recommend to keep the background. This allows for a more versitile finetuned model. - You can get a lot more control of final output by using ControlNet. This is especially great if you have illustration skills. But it is also great to generate varitions in a different style but keep the composition and details. In this case you could have taken a portrait photo of the subject and used ControlNet to adjust the style (without and finetuning required).</code></pre>
评论 #35595929 未加载
评论 #35598653 未加载
评论 #35595266 未加载
simonwabout 2 years ago
I love how much work went into this.<p>There&#x27;s a great deal of pushback against AI art from the wider online art community at the moment, a lot of which is motivated by a sense of unfairness: if you&#x27;re not going to put in the time and effort, why do you deserve to create such high equality imagery?<p>(I do not share this opinion myself, but it&#x27;s something I&#x27;ve seen a lot)<p>This is another great counter-example showing how much work it takes to get the best, deliberate results out of these tools.
评论 #35595068 未加载
评论 #35593361 未加载
评论 #35594592 未加载
评论 #35593380 未加载
评论 #35594901 未加载
评论 #35593589 未加载
评论 #35593829 未加载
评论 #35595013 未加载
评论 #35594049 未加载
AuryGlenzabout 2 years ago
I&#x27;ve done so much with a fine-tuned model of my dog.<p>I previously made coloring pages for my daughter of our dog as an astronaut, wild west sheriff, etc. They&#x27;re the first pages she ever &quot;colored,&quot; which was pretty special for us. Currently I&#x27;m working on making her into every type of Pokemon, just for fun.
评论 #35593653 未加载
评论 #35593472 未加载
评论 #35594764 未加载
skorabout 2 years ago
I liked the original more than the final version. The vector style drawing was much more futuristic and more interesting.<p>Seems like lots of work went into that and I hope the author enjoyed the process and enjoys the final result.
评论 #35596283 未加载
sinmanabout 2 years ago
I did something loosely related. As a present for my girlfriend&#x27;s birthday, I made her a &quot;90s website&quot; with AI portraits of her dog: <a href="https:&#x2F;&#x2F;simoninman.github.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;simoninman.github.io&#x2F;</a><p>It wasn&#x27;t actually particularly hard - I used a Colab notebook on the free tier to fine-tune the model, and even got chatGPT to write some of the prompts.
评论 #35593601 未加载
评论 #35594308 未加载
wincyabout 2 years ago
He mentions the Colab for Dreambooth, that only takes ten minutes or so to train using an A100 (the premium GPU) and you can have it turn off after it finishes, and saves to Google Drive. Super easy.
评论 #35594270 未加载
评论 #35608283 未加载
frindoabout 2 years ago
I did the exact same thing when I saw DreamBooth for the first time! I showed it to a bunch of friends and they convinced me to turn it into an iOS app. <a href="https:&#x2F;&#x2F;apps.apple.com&#x2F;app&#x2F;ai-avatar-for-dogs-floof-ai&#x2F;id1659283776" rel="nofollow">https:&#x2F;&#x2F;apps.apple.com&#x2F;app&#x2F;ai-avatar-for-dogs-floof-ai&#x2F;id165...</a><p>People have been sending me the cute pics the AI generates of their pups. I think this is arguably the best thing so far in this latest wave of AI releases!
Aeolunabout 2 years ago
The dog picture is really nice, but then it’s hung on the same wall as 20 other crowded pieces of (in my opinion) dubious quality.<p>This would have been much better standalone.
nbzsoabout 2 years ago
Valuable processing info in the comments. But why so much effort to produce something without the option to have ownership (copyright) over my product? If I draw a strange line with any digital painting tool and put a circle and a square around, I sign this art and this is my Art. If a spend a day with prompting, upscaling, fixing with Control net in the end of the day I will have a funny picture which is not mine.<p><a href="https:&#x2F;&#x2F;fortune.com&#x2F;2023&#x2F;02&#x2F;23&#x2F;no-copyright-images-made-ai-artificial-intelligence&#x2F;" rel="nofollow">https:&#x2F;&#x2F;fortune.com&#x2F;2023&#x2F;02&#x2F;23&#x2F;no-copyright-images-made-ai-a...</a>
评论 #35607995 未加载
cinntaileabout 2 years ago
It&#x27;s unfortunate a lot of the nice artsy detail disappeared when he had to recreate part of the head, but I guess that is inevitable. Great work and interesting writeup.
asadlionpkabout 2 years ago
If anyone wants to try Dreambooth online, I made a free website for this: <a href="https:&#x2F;&#x2F;trainengine.ai" rel="nofollow">https:&#x2F;&#x2F;trainengine.ai</a>
spaceman_2020about 2 years ago
I would highly recommend using Photoroom&#x27;s background removal tool. Does a far, far better job than Photoshop.
评论 #35595076 未加载
ameliusabout 2 years ago
But why pick a dog as an example?<p>Humans are much worse in telling dogs apart than other humans (except perhaps the owner of the particular dog).<p>So for all we know, the AI didn&#x27;t generate a portrait of this particular dog but instead a generic picture of this breed of dog.
评论 #35594443 未加载
评论 #35594362 未加载
评论 #35594489 未加载
liuliuabout 2 years ago
There might be a few things Draw Things missing from this article: no mask blur, not selecting the inpainting model for inpainting work.<p>Tomorrow&#x27;s release should contain both mask blur and inpainting ControlNet, which might help these use cases.
评论 #35594303 未加载
GaggiXabout 2 years ago
&gt;I was wrong . it seemed to take the top and bottom-most row of pixels and extend them down from 512px tall to 1344px tall.<p>I mean you cannot outpaint in the img2img tab, load the image in the inpaint tab and possibly use the inpainting model.
评论 #35595272 未加载
indigodaddyabout 2 years ago
Pretty cool stuff. Personally though, not a huge fan of his “the one” choice. Some of the other images in his assortment were much better imo. Each to their own of course though!
评论 #35594502 未加载
评论 #35595736 未加载
penthiabout 2 years ago
Nicely done. I built a t-shirt&#x2F;mug&#x2F;frame printing app. I am using stablediffusion (intructpix2pix for selfies) with prompts pulled in from Lexica. The larger images are created with swinir and physical printing is from the good folks at printful.Com.<p>Big props to folks at replicate.Com for making solid infrastructure for ml.<p><a href="https:&#x2F;&#x2F;www.ai-ink.me&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.ai-ink.me&#x2F;</a>
mlbossabout 2 years ago
Awesome work. I build an app to train dreambooth model and generate images of hich makes this process very easy.<p>The app also has a rest endpoint for anybody to create app using it. Lot of clients create niche websites catering to different use cases. There is a kind of gold rush going on in this area.<p><a href="https:&#x2F;&#x2F;aipaintr.com" rel="nofollow">https:&#x2F;&#x2F;aipaintr.com</a>
cto_officialabout 2 years ago
Also how much $s were spent on the project?
mlsuabout 2 years ago
Fantastic! definitely bookmarking. I spent a big part of the last few days attempting this, my model didn&#x27;t come out nearly so well. I decided that it was because I don&#x27;t have enough training images, and so have been taking 3x as many pictures of my dog to compensate.
Borribleabout 2 years ago
Recently saw a nice replica of Duchamp&#x27;s work &#x27;Bottle Rack&#x27; from 1959. Readymade, but maybe a bit expensive. For the price they asked, I could do it myself in a blacksmithing class and have more fun.
hartatorabout 2 years ago
Isn’t disappointing that nothing important is open source these days in AI?
评论 #35595384 未加载
dezmouabout 2 years ago
I used Stable Diffusion Dreambooth to generate my github profil picture, what do you think ? <a href="https:&#x2F;&#x2F;github.com&#x2F;dezmou">https:&#x2F;&#x2F;github.com&#x2F;dezmou</a>
blitzarabout 2 years ago
This is the barely a full step from; &quot;I used Stable Diffusion and Dreambooth to create nudes of a person I know&quot;.<p>Yes, They&#x27;re Real and They&#x27;re Spectacular.
评论 #35599645 未加载
lxeabout 2 years ago
This is a great writeup on some of the nuances and gotchas you have to watch out for when finetuning using dreambooth and the generative creative process in general.
cto_officialabout 2 years ago
It&#x27;s impressive, The end result was beautiful. I always use to wonder how to generate some meaningful art<p>Any references where the same has been tried on humans ?
birdfoodabout 2 years ago
I find it interesting that this green&#x2F;orange colour palette so commonly appears in midjourney images, seemingly regardless of the subject.
评论 #35595852 未加载
cogitoergofutuoabout 2 years ago
This is really interesting. I do wish the author included the cost to train the model from replicate though.
tonmoyabout 2 years ago
If I wanted to do this, what kind of specs would I need to have on my Desktop Computer?
phonescreen_manabout 2 years ago
Is the link an AI generated tutorial? Write me a blog post tutorial pretend you are …
OOPManabout 2 years ago
&quot;art portrait&quot; seems grammatically wrong...?
yieldcrvabout 2 years ago
Results at the top of your article&#x2F;project please
renewiltordabout 2 years ago
Great work writing up the process. Much appreciated!
ronnykylinabout 2 years ago
The style looks Andy Warhol to me
EGregabout 2 years ago
What are the tools we can run on a Linux machine?<p>EDIT: four downvotes and zero answers how to run it on a Linux machine…
评论 #35594657 未加载
评论 #35594490 未加载
bigbillheckabout 2 years ago
Personally I paid a friend $200 to create an art portrait of my dog.
评论 #35595705 未加载
pxoeabout 2 years ago
the lengths techbros will go for in order to avoid paying an artist for artwork<p>as well as, doing all that nn&#x2F;ml stuff, instead of just, trying to learn a bit of how to make an artwork themselves, how to draw something, even by tracing over a photo, like doing a &#x27;how to do a vector colorful painting dog&#x27; search and going off on that.<p>like, this end result doesn&#x27;t even look far off from what a &#x27;colorful vector dog portrait&#x27; tutorial would yield. it just involves tons and tons of questionably sourced artwork, and violated copyrights. (i know techbros are very confused about copyrights, but stuff like licenses and copyrights actually do have their meanings, limitations, and liabilities)<p>specifically picking stablediffusion, probably the most blatantly stolen artwork-based model (given how open and clear it is with what data has been used for it, and how you can&#x27;t just squirm &#x27;i didn&#x27;t know what were the terms of use of their data&#x27; with other, more closed-off services), that&#x27;s just another great touch as well.
评论 #35597863 未加载
评论 #35596790 未加载
评论 #35597241 未加载
评论 #35596780 未加载