Fork from dom-to-image with more maintainable code and some new features. Get the raw pixel data as a Uint8Array with every 4 array elements representing the RGBA data of a pixel: A function taking ...
num_inference_steps = 8 # you can also use the 8-step model to improve the quality rank = 32 # you can also use the rank=128 model to improve the quality model_path ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results