This is the repository that contains source code for the Reality-and-Fantasy website.
This work builds upon the codebase of LLM-grounded Diffusion (LMD). Strongly recommend referring to the original LMD work for further insights and context.
pip install -r requirements.txt
python prompt_batch.py --prompt-type demo --model gpt-4 --always-save --template_version v0.1
python generate.py --prompt-type demo --model gpt-4 --save-suffix "gpt-4" --repeats 4 --frozen_step_ratio 0.5 --regenerate 1 --force_run_ind 0 --run-model lmd --use-sdv2 --no-scale-boxes-default --template_version v0.1 --sdxl
@article{yao2024fabricationrealityfantasyscene,
title = {The Fabrication of Reality and Fantasy: Scene Generation with LLM-Assisted Prompt Interpretation},
author = {Yi Yao and Chan-Feng Hsu and Jhe-Hao Lin and Hongxia Xie and Terence Lin and Yi-Ning Huang and Hong-Han Shuai and Wen-Huang Cheng},
year = {2024},
eprint = {2407.12579},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
url = {https://arxiv.org/abs/2407.12579}
}