WeavePrompt / README_HF.md
kevin1kevin1k's picture
Upload folder using huggingface_hub
81c7b48 verified

WeavePrompt

An intelligent prompt optimization system that iteratively refines text-to-image generation prompts to better match target images.

Features

  • 🎯 Target-driven optimization: Upload a target image and get optimized prompts
  • 🔄 Iterative refinement: Automatically improves prompts through multiple iterations
  • 📊 Similarity tracking: Monitor progress with visual similarity metrics
  • 🎨 High-quality generation: Uses advanced text-to-image models

How it works

  1. Upload your target image
  2. Provide an initial prompt (or let the system generate one)
  3. Watch as the system iteratively refines the prompt
  4. Get optimized prompts that better match your target image

Usage

Simply run the Streamlit app and follow the interactive interface to optimize your prompts!

Configuration

Set your API keys as environment variables:

  • FAL_KEY: Your FAL AI API key for image generation

Built with ❤️ using Streamlit and advanced AI models.