I'm trying to create a certain style to print with my wall plotter. The limitation is that it is a pen plotter, so line width must be consistent with no shading. It's not so great at filling in black areas, but I can't quite eliminate them. I've made a few embeddings, and it has helped, but I was hoping to get some tips. My prompts, minus the embeddings, are mostly variations of: portrait of a woman in cyberpunk costume, standing, wide angle, head, full body, coloring book, black ink outline, line art, white background, a pattern of beautiful curls and lines in zentangle style, by moebius
You may want to check YouTube for some Photoshop tutorials on converting images to line art. To get you started, open in Photoshop, and play around with image>adjust>levels, and also duplicate the layer and change the new layer's blend mode to either color dodge or linear dodge. Should work similarly in Gimp or Krita if you don't have Photoshop.
I’ve custom trained a model on a series of coloring book pages I drew years ago. It’s not the same aesthetic that you’re shooting for, but the technique might be the same (I definitely have line width variation, but I’ve mostly gotten the images to not have shading).
I used dreambooth to train on a bunch of images with the desired rendering. I called mine FemmeColoringPages style. When I type my prompt in the automatic1111 repo, it looks like “[inked lineart of subject : FemmeColoringPages style : .5]” hopefully Reddit doesn’t bork that with auto formatting.
That prompt structure spends the first 50% of the steps trying to get the subject you want, and the last 50% of the steps are completely dedicated to rendering those results in the style you’re trying to impose.
Specifying lineart in the first half is a crapshoot, but it’s mostly there to make it easier for the second half. Also, the ratio can shift from prompt to prompt. But that’s the gist.
Good info, thanks. I'd hadn't thought to do the ratioed attention structure on the embeddings. I might have to go all in and train a full model, but I'll give this a try first.
7 comments
#4 is fire.
I wish I could print it, but my plotter can't do grey shading.
I'm trying to create a certain style to print with my wall plotter. The limitation is that it is a pen plotter, so line width must be consistent with no shading. It's not so great at filling in black areas, but I can't quite eliminate them. I've made a few embeddings, and it has helped, but I was hoping to get some tips. My prompts, minus the embeddings, are mostly variations of: portrait of a woman in cyberpunk costume, standing, wide angle, head, full body, coloring book, black ink outline, line art, white background, a pattern of beautiful curls and lines in zentangle style, by moebius
You may want to check YouTube for some Photoshop tutorials on converting images to line art. To get you started, open in Photoshop, and play around with image>adjust>levels, and also duplicate the layer and change the new layer's blend mode to either color dodge or linear dodge. Should work similarly in Gimp or Krita if you don't have Photoshop.
That's what I already do. It's a pain in the ass. I'd rather be able to get the style right in Stable Diffusion.
I’ve custom trained a model on a series of coloring book pages I drew years ago. It’s not the same aesthetic that you’re shooting for, but the technique might be the same (I definitely have line width variation, but I’ve mostly gotten the images to not have shading).
I used dreambooth to train on a bunch of images with the desired rendering. I called mine FemmeColoringPages style. When I type my prompt in the automatic1111 repo, it looks like “[inked lineart of subject : FemmeColoringPages style : .5]” hopefully Reddit doesn’t bork that with auto formatting.
That prompt structure spends the first 50% of the steps trying to get the subject you want, and the last 50% of the steps are completely dedicated to rendering those results in the style you’re trying to impose.
Specifying lineart in the first half is a crapshoot, but it’s mostly there to make it easier for the second half. Also, the ratio can shift from prompt to prompt. But that’s the gist.
Good info, thanks. I'd hadn't thought to do the ratioed attention structure on the embeddings. I might have to go all in and train a full model, but I'll give this a try first.