Weights: https://huggingface.co/CiaraRowles/stylecodes
Paper: https://ciarastrawberry.github.io/stylecodes.github.io/website/stylecodes.pdf
Project Page: https://ciarastrawberry.github.io/stylecodes.github.io/
Demo: https://huggingface.co/spaces/CiaraRowles/stylecodes-sd15-demo
Recent advances in Image generation have propelled capabilities to new heights, however existing methods of control for these models are insufficient for many use cases and social contexts.
One of the most impressive recent examples of both beneficial controllability and the packaging of that in a way that allows for social control of generation models are the proliferation of srefs, these are codes used with MidJourneys image generation tool to encode a specific image style into a short numeric code. Allowing users to quickly share with their friends how to make images in a similar style to their art.
The only main drawback with this tool currently is both the inability to generate your own code from an image and the lack of an knowledge on how to reproduce this functionality. Stylecodes attempts to resolve both these issues by providing an open research solution to generating codes from images with a custom style Encoder.
How to use
pip install -r requirements.txt
download the models from here: https://huggingface.co/CiaraRowles/stylecodes
place them in the "models" folder
run either demo.py, demo_make_stylecode.py or demo_use_stylecode.py with the provided args (demo just works as normal)
If you find this work helpful, please consider citing:
@article{rowles2024stylecodes,
title={Stylecodes: Encoding Stylistic Information For Image Generation},
author={Rowles, Ciara},
journal={arXiv preprint arXiv:2411.12811},
year={2024}
}
22 commits
Python
100.0%
Weights: https://huggingface.co/CiaraRowles/stylecodes
Paper: https://ciarastrawberry.github.io/stylecodes.github.io/website/stylecodes.pdf
Project Page: https://ciarastrawberry.github.io/stylecodes.github.io/
Demo: https://huggingface.co/spaces/CiaraRowles/stylecodes-sd15-demo
Recent advances in Image generation have propelled capabilities to new heights, however existing methods of control for these models are insufficient for many use cases and social contexts.
One of the most impressive recent examples of both beneficial controllability and the packaging of that in a way that allows for social control of generation models are the proliferation of srefs, these are codes used with MidJourneys image generation tool to encode a specific image style into a short numeric code. Allowing users to quickly share with their friends how to make images in a similar style to their art.
The only main drawback with this tool currently is both the inability to generate your own code from an image and the lack of an knowledge on how to reproduce this functionality. Stylecodes attempts to resolve both these issues by providing an open research solution to generating codes from images with a custom style Encoder.
How to use
pip install -r requirements.txt
download the models from here: https://huggingface.co/CiaraRowles/stylecodes
place them in the "models" folder
run either demo.py, demo_make_stylecode.py or demo_use_stylecode.py with the provided args (demo just works as normal)
If you find this work helpful, please consider citing:
@article{rowles2024stylecodes,
title={Stylecodes: Encoding Stylistic Information For Image Generation},
author={Rowles, Ciara},
journal={arXiv preprint arXiv:2411.12811},
year={2024}
}
22 commits
Python
100.0%