/style-transfer

Style-Transfer: Apply the style of an image to another image

Primary LanguagePython

Style-Transfer: Apply the style of an image to another image

Website Twitter Follow

Replicate GitHub stars

My post on X/Twitter: https://x.com/philz1337x/status/1771559668910858246?s=20

👋 Hello

I build open source AI apps. To finance my work i also build paid versions of my code. But feel free to use the free code. I post features and new projects on https://twitter.com/philz1337x

🚀 Options to use Style-Transfer

User friendly Website

If you are not fimilar with the tools described here, you can use my paid version at ClarityAI.cc

Deploy and run with cog (locally or cloud)

If you are not familiar with cog read: cog docs

  • clone the repo
git clone github.com/philz1337x/style-transfer
cd style-transfer
  • download the weights
pip install diffusers
python download_weights.py
  • start a prediction
cog predict -i image="link-to-image" -i image_style="link-to-style-image"

Replicate API for app integration

Run with A1111 webUI

Use ControlNet Canny for the structure and IPAdapter for the style.

Run als a single script

  • change the image links in dev.py
  • run dev.py
python dev.py