ComfyUI/README.md
2025-06-21 05:42:19 +08:00

2.6 KiB
Raw Blame History

Auto Image Generator Puteri Gunung Ledang (with filename_prefix)

This Python script is part of a digital project inspired by the Malaysian legend of Puteri Gunung Ledang, a mystical Malay princess known for her wisdom, strength, and unattainability. The script automatically sends 7 prompts to ComfyUI API to generate anime-style images based on this legend.


🧝‍♀️ About the Project

This project reimagines Puteri Gunung Ledang, the legendary princess who resides on Gunung Ledang, through the lens of modern AI-generated art. The 7 image prompts reflect key parts of the legend, including her mystical beauty and the seven impossible conditions she set for the Sultan of Melaka.

We generated the images using ComfyUI with a customized workflow and converted them into a short video.

🎥 Video Showcase:
📎 Watch the final video here (replace with actual link)


👨‍👩‍👧‍👦 Team Info


🛠 Tools & Resources


🔧 Customizations in This Project

  • Forked and ran ComfyUI locally
  • Integrated the Illustrious-XL-v0.1-GUIDED model manually
  • Designed custom workflows (puteri_1.json to puteri_7.json) tailored to different scenes
  • Wrote a Python script (main.py) that:
    • Automatically loads 7 prompt workflows
    • Sends them to ComfyUI API (localhost)
    • Sets seed, saves images with filename_prefix
  • All prompts are structured to reflect the seven legendary conditions or scenes in the story

Requirements


🚀 How to Start

  1. Launch ComfyUI
git clone https://github.com/weiyangfoh/ComfyUI

```bash
cd ComfyUI

```bash
python main.py
- Make sure the Illustrious XL model is placed in your models/checkpoints folder.

3. Run Our Script
```bash
cd Group-Hello-Kitty

- In the Group-Hello-Kitty folder:
```bash
python main.py

- It will automatically call ComfyUI to generate 7 images with the correct filename prefix.
- Images will be saved to your ComfyUI /output/ folder.