https://github.com/philz1337x/style-transfer
Style-Transfer: Apply the style of an image to another image
https://github.com/philz1337x/style-transfer
ai ai-art controlnet diffusers image2image img2img ip-adapter stable-diffusion style-transfer
Last synced: 10 months ago
JSON representation
Style-Transfer: Apply the style of an image to another image
- Host: GitHub
- URL: https://github.com/philz1337x/style-transfer
- Owner: philz1337x
- Created: 2024-03-20T03:04:46.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-23T15:38:52.000Z (about 2 years ago)
- Last Synced: 2025-06-04T07:48:14.400Z (about 1 year ago)
- Topics: ai, ai-art, controlnet, diffusers, image2image, img2img, ip-adapter, stable-diffusion, style-transfer
- Language: Python
- Homepage: https://ClarityAI.cc
- Size: 5.86 KB
- Stars: 52
- Watchers: 2
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Style-Transfer: Apply the style of an image to another image
[](https://ClarityAI.cc) [](https://twitter.com/philz1337x)
[](https://replicate.com/philz1337x/style-transfer)

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](https://ClarityAI.cc)
## Deploy and run with cog (locally or cloud)
If you are not familiar with cog read: cog docs
- clone the repo
```bash
git clone github.com/philz1337x/style-transfer
cd style-transfer
```
- download the weights
```bash
pip install diffusers
python download_weights.py
```
- start a prediction
```bash
cog predict -i image="link-to-image" -i image_style="link-to-style-image"
```
## Replicate API for app integration
- go to https://replicate.com/philz1337x/style-transfer/api
## 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
```bash
python dev.py
```