Use AWS. Ec2 instance with any range of gpus you want. It’ll cost you like a dollar an hour or something. You can keep upgrading your gpu as the tech progresses.
I would def recommend aws again for your purpose. 10-12 images a day is probably gonna run you 2 bucks a day. You can even scale as models get bigger or your requirements change. And that isnt a low power gpu. You could generate crazy resolutions with a cost distinction.
But definitely a good idea to wait for things to stabilize in this field.
Save the dough. Set up an AWS instance with GPU support. Models are getting bigger and bigger so if you buy a 16gb gpu now you can expect it to be insufficient next year.
An aws ec2 is gonna cost you like 50 cents for every hour you’re using it, plus you can actually use your comp while generating.
Keep saving up your money, wait til you can afford something state of the art, then pull the trigger.
Its possible they could have masks for the skin and use interrogation to deduce the skin tone. Then masks the skin and use the interrogated tone to img2img the skin. Then after they do the face swap.
There are controlnets for color as well.
But really, if they just have one person doing touch ups manually on the backend, they could fix probably 100 orders a day.
Can you create more than 1 template (different skin tones) and have your user choose a template that matches the tone they want?
You could also try and use this template as a controlnet image and have the user input some details about skin tone (or interrogate the submitted image and scrape any pertinent tags from there).
Just put all your models in a external drive and create a symbolic link in the folder where your UIs expect the models. Ln -s path/to/extdrive nameoflink
Then you can keep them all together and not need duplicates or moving them (i use a1111 and comfy every blue moon).
This is for Linux. If you use windows, you might be able to accomplish the same thing using WSL or there might be a similar Windows functionality.
Just keep adding concepts
Img/7_handsonhips
Img/5_touchinglips
Img/9_otherconcepts
You could also just caption your images and include that keyword. The benefit of doing it the folder way is you can configure the repeats. (Maybe you have only 10 hands on hips images and 30 touching lips. Repeat that folder a few more times than touchinglips. Then one concept doesn’t overshadow the other.)
I built up a good collection of prompts by taking a lot of the composition words (RAW photo, photorealistic, etc..), and using dynamic prompts to randomly choose between 2-10 of them {$2-10:RAW photo|hyperrealism|etc..} and then using attention grabber and magic prompt as well.
Then xyz with different samplers, checkpoints, and CFG.
Let that run with combinatorial generation for like 20 hours or so and save the png metadata of the good pictures.
I think the uniformity of everything is what gives it away. I cant really describe it but it seems like the shadows, lines, colors, textures…everything is there to give the perception of depth, not depth creating those dynamically. Obviously thats because it’s created by a computer, but it feels like to really look real there has to be something unexpected. Everything is just too in-place.
You could use Inpainting and Controlnet. Set that picture as the Controlnet image (tile/reference). Then inpaint. Probably set the model strength to 1.2 or something and it should work.
If you haven’t had success yet, I was able to run network rank 64, alpha mask 32, with the same set up as most people below. What I haven’t seen mention (shout out to the SECourses guys for bringing it up), is to disable bucketing and crop/resize your images to 1024x1024 beforehand.
I can’t go higher than 64 network rank but I think it makes a difference. Youtube SECourses dude has a video on training lora SDXL that should get you to that level.
I also had to disable hardware acceleration for firefox which free’d up 400mb of vram. So now when I’m training kohya uses about 11.6gb lol.
Use AWS. Ec2 instance with any range of gpus you want. It’ll cost you like a dollar an hour or something. You can keep upgrading your gpu as the tech progresses.
I would def recommend aws again for your purpose. 10-12 images a day is probably gonna run you 2 bucks a day. You can even scale as models get bigger or your requirements change. And that isnt a low power gpu. You could generate crazy resolutions with a cost distinction.
But definitely a good idea to wait for things to stabilize in this field.
Good luck!
Save the dough. Set up an AWS instance with GPU support. Models are getting bigger and bigger so if you buy a 16gb gpu now you can expect it to be insufficient next year.
An aws ec2 is gonna cost you like 50 cents for every hour you’re using it, plus you can actually use your comp while generating.
Keep saving up your money, wait til you can afford something state of the art, then pull the trigger.
Its possible they could have masks for the skin and use interrogation to deduce the skin tone. Then masks the skin and use the interrogated tone to img2img the skin. Then after they do the face swap.
There are controlnets for color as well.
But really, if they just have one person doing touch ups manually on the backend, they could fix probably 100 orders a day.
They probably have some quality assurance fixing things that go wrong manually.
Can you create more than 1 template (different skin tones) and have your user choose a template that matches the tone they want?
You could also try and use this template as a controlnet image and have the user input some details about skin tone (or interrogate the submitted image and scrape any pertinent tags from there).
Why dont you just img2img inpaint for the skin tone you want, then face swap?
Dynamic prompts is a huge win.
Just put all your models in a external drive and create a symbolic link in the folder where your UIs expect the models. Ln -s path/to/extdrive nameoflink
Then you can keep them all together and not need duplicates or moving them (i use a1111 and comfy every blue moon).
This is for Linux. If you use windows, you might be able to accomplish the same thing using WSL or there might be a similar Windows functionality.
GL
Just keep adding concepts Img/7_handsonhips Img/5_touchinglips Img/9_otherconcepts
You could also just caption your images and include that keyword. The benefit of doing it the folder way is you can configure the repeats. (Maybe you have only 10 hands on hips images and 30 touching lips. Repeat that folder a few more times than touchinglips. Then one concept doesn’t overshadow the other.)
Just train a lora quickly to get that behavior.
I built up a good collection of prompts by taking a lot of the composition words (RAW photo, photorealistic, etc..), and using dynamic prompts to randomly choose between 2-10 of them {$2-10:RAW photo|hyperrealism|etc..} and then using attention grabber and magic prompt as well. Then xyz with different samplers, checkpoints, and CFG.
Let that run with combinatorial generation for like 20 hours or so and save the png metadata of the good pictures.
Lol @ the OP getting flamed for shitting on an open source tool and not realizing he’s the douche.
I think the uniformity of everything is what gives it away. I cant really describe it but it seems like the shadows, lines, colors, textures…everything is there to give the perception of depth, not depth creating those dynamically. Obviously thats because it’s created by a computer, but it feels like to really look real there has to be something unexpected. Everything is just too in-place.
Regional prompter and a controlnet.
Very cool.
So..this means every ckpt can be morphed into a Lora? What was the size of the resulting Lora vs the .ckpt?
Did you try running —medvram or —lowvram? Not sure about the quality but you’ll be able to hires fix larger images I believe.
Can’t answer to the quality of rendering large no hires fix tho, sry.
You could use Inpainting and Controlnet. Set that picture as the Controlnet image (tile/reference). Then inpaint. Probably set the model strength to 1.2 or something and it should work.
If you haven’t had success yet, I was able to run network rank 64, alpha mask 32, with the same set up as most people below. What I haven’t seen mention (shout out to the SECourses guys for bringing it up), is to disable bucketing and crop/resize your images to 1024x1024 beforehand.
I can’t go higher than 64 network rank but I think it makes a difference. Youtube SECourses dude has a video on training lora SDXL that should get you to that level.
I also had to disable hardware acceleration for firefox which free’d up 400mb of vram. So now when I’m training kohya uses about 11.6gb lol.
GL
End of this list.
Back to top