File size: 996 Bytes
c6eb9ce
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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.