I actually worked on this feature at krea, happy to answer any technical questions about how this works / is trained
in terms of technicalities, it is a fine-tuned version of control-net combined with classical image processing algorithms (gauss blur, binarization, etc) on the backend.