choey / Comfy-Topaz

Topaz Photo AI integration for ComfyUI
MIT License
49 stars 6 forks source link

Lens and motion blur in sharpen #8

Open light-and-ray opened 3 months ago

light-and-ray commented 3 months ago

Hello again. I've found how lens and motion blur work. It's actually standard v1 model with different isLens flag. See my code here: https://github.com/light-and-ray/sd-webui-topaz-photo-ai-integration/blob/6b8740b98cb65abe4d542c21edaa8b73831a77e0/topaz_photo_ai/main.py#L15

I've found out it due to presets feature. You can set settings in GUI, save preset, and see options in .json file

Also I see in your code you use param1 and param2 in a wrong order. Correct is line 1 in ui -> param2 and line 2 in ui -> param1