Image Generator App: where art meets algorithms and dreams meet pixels! 🚀
Powered by cutting-edge AI models running on Replicate and wrapped in a Streamlit interface, this app lets you transform plain text prompts into mesmerizing visual masterpieces.
- Neural Model: Leverages the power of the replicate.run model for image generation, providing detailed and accurate depictions.
- Streamlit Framework: Built atop the versatile Streamlit library, ensuring a smooth and responsive UI/UX.
- Dynamic Customization: You can peek "under the hood", tune hyperparameters like guidance_scale, prompt_strength, and more for fine-grained control.
- Gallery: A curated gallery for inspiration, showcasing the prowess of the underlying model.
-
Clone the repository:
git clone https://github.com/tonykipkemboi/streamlit-replicate-img-app.git
-
Navigate to the project directory:
cd streamlit-replicate-img-app
-
Install the dependencies:
pip install -r requirements.txt
-
Rename the
.streamlit/example_secrets.toml
file to.streamlit/secrets.toml
. -
Paste your Replicate API token in the secrets.toml file:
REPLICATE_API_TOKEN = "paste-your-replicate-api-token-here"
-
Run the Streamlit app:
streamlit run streamlit_app.py
-
Navigate to the provided local URL, and voila! Start crafting your visual narratives.
Your insights can make this tool even better! Feel free to fork, make enhancements, and raise a PR.
-
Developed by: The wizards over at Stability AI 🧙♂️
-
Model type: Diffusion-based text-to-image generative model
-
License: CreativeML Open RAIL++-M License
-
Model Description: This is a model that can be used to generate and modify images based on text prompts. It is a Latent Diffusion Model that uses two fixed, pretrained text encoders (OpenCLIP-ViT/G and CLIP-ViT/L).
-
Resources for more information: Check out our GitHub Repository and the SDXL report on arXiv.