/text-to-image-generator

Text to image generator app using streamlit and replicate with sdxl model by stability ai

Primary LanguagePython

✨ Image Generation App ✨

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.

demo

Technical Features

  • 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.

Getting Started

  1. Clone the repository:

    git clone https://github.com/codemaker2015/text-to-image-generator.git
  2. Navigate to the project directory:

    cd image-generator-app
  3. Install the dependencies:

    pip install -r requirements.txt
  4. Paste your Replicate API token in the secrets.toml file:

    REPLICATE_API_TOKEN = "paste-your-replicate-api-token-here"

Usage

  1. Run the Streamlit app:

    streamlit run streamlit_app.py
  2. Navigate to the provided local URL, and voila! Start crafting your visual narratives.