Spaces:
Runtime error
Runtime error
| title: Drakosfires Dungeons and Dragons Item Card Generator | |
| emoji: ๐ | |
| colorFrom: yellow | |
| colorTo: purple | |
| sdk: gradio | |
| sdk_version: 4.44.0 | |
| app_file: app.py | |
| pinned: false | |
| # Drakosfire's Cyber Pet Card Generator | |
| This is a tool built to generate custom cyborg pets for an unnanounced creative project. | |
| ## Overview | |
| This generator leverages an API call to FAL.ai to generate images with a custom LoRA trained off of my card dataset as well as OpenAI's GPT-4o to generate text and image prompts for the images. | |
| ## Key Features | |
| - **Custom Fine-Tuning**: The backbone of this generator is a fine-tuned Flux.1 model, specifically optimized for generating high-quality, pet images on a unique card border that is flavored by your imagination. | |
| - **Consistent Card Design**: To ensure each card maintains a uniform appearance, a LoRA (Low-Rank Adaptation) technique was used. This involved training the model with a hand-crafted dataset of card border images, enabling the system to generate new cards with consistent text and image spaces where the generated text and images can be elegantly integrated. | |
| ## How It Works | |
| 1. Your intitial text along with the prompt is sent to OpenAI's GPT-4o to generate a JSON. | |
| 2. This JSON will be parsed into textboxes to review and edit. | |
| 3. The final text field is the image prompt, these generate like one sentence stories describing the scene of your pet. | |
| 4. **Image and Text Generation**: Now generate 4 blank cards in about 15 seconds. | |
| 5. Finally, click the add text button to add text to your favorite template. | |
| 3. **Result**: The final product is a beautifully crafted collectible pet card. | |
| ## Example Cards | |
| Below are a few examples of the item cards I've generated: | |
|  | |
|  | |
|  | |