SkillAgentSearch skills...

1Prompt1Story

🔥ICLR 2025 (Spotlight) One-Prompt-One-Story: Free-Lunch Consistent Text-to-Image Generation Using a Single Prompt

Install / Use

/learn @byliutao/1Prompt1Story
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<h1 align="center"> 🔥ICLR 2025 (Spotlight) One-Prompt-One-Story: Free-Lunch Consistent Text-to-Image Generation Using a Single Prompt <br> </h1> <div align="center"> <!-- <a href="http://59.110.93.62:7089/" style="display: inline-block;"> <img src="./resource/gradio.svg" alt="demo" style="height: 20px; vertical-align: middle;"> </a>&nbsp; --> <a href="https://arxiv.org/abs/2501.13554" style="display: inline-block;"> <img src="https://img.shields.io/badge/arXiv%20paper-2406.06525-b31b1b.svg" alt="arXiv" style="height: 20px; vertical-align: middle;"> </a>&nbsp; <a href="https://byliutao.github.io/1Prompt1Story.github.io/" style="display: inline-block;"> <img src="https://img.shields.io/badge/Project_page-More_visualizations-green" alt="project page" style="height: 20px; vertical-align: middle;"> </a>&nbsp; </div> <p align="center"> <a href="#key-features">Key Features</a> • <a href="#how-to-use">How To Use</a> • <a href="#license">License</a> • <a href="#citation">Citation</a> • <a href="#visualization">Visualization</a> </p>

Demo

Key Features

How To Use

# Clone this repository
$ git clone https://github.com/byliutao/1Prompt1Story

# Go into the repository
$ cd 1Prompt1Story

### Install dependencies ###
$ conda create --name 1p1s python=3.10
$ conda activate 1p1s
# choose the right cuda version of your device
$ conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia 
$ pip install transformers==4.46.3  # or: conda install conda-forge::transformers 
$ conda install -c conda-forge diffusers
$ pip install opencv-python scipy gradio==4.44.1 sympy==1.13.1
### Install dependencies ENDs ###

# Run infer code
$ python main.py

# Run gradio code
$ python app.py

# Run benchmark generation code
$ python -m resource.gen_benchmark --save_dir ./result/benchmark --benchmark_path ./resource/consistory+.yaml

License

This project is licensed under the MIT License - see the LICENSE file for details.

Citation

If our work assists your research, feel free to give us a star ⭐ or cite us using:

@inproceedings{
liu2025onepromptonestory,
title={One-Prompt-One-Story: Free-Lunch Consistent Text-to-Image Generation Using a Single Prompt},
author={Tao Liu and Kai Wang and Senmao Li and Joost van de Weijer and Fhad Khan and Shiqi Yang and Yaxing Wang and Jian Yang and Mingming Cheng},
booktitle={The Thirteenth International Conference on Learning Representations},
year={2025},
url={https://openreview.net/forum?id=cD1kl2QKv1}
}

Visualization

Multi-Subject Generation

<figure style="display: inline-block; margin: 20px; text-align: center; max-width: 700px;"> <img src="./resource/multi_subject.jpg" alt="multi_subject" style="width: 100%;"> </figure>

Comparison with Other Models

<figure style="display: inline-block; margin: 20px; text-align: center; max-width: 700px;"> <img src="./resource/other_model.jpg" alt="other_model" style="width: 100%;"> </figure>

Long Story Image Generation

<div align="center"> <figure style="display: inline-block; margin: 20px; text-align: center; max-width: 700px;"> <img src="./resource/long_story.jpg" alt="long_story" style="width: 100%;"> </figure>
View on GitHub
GitHub Stars315
CategoryContent
Updated1d ago
Forks39

Languages

Python

Security Score

100/100

Audited on Apr 8, 2026

No findings