How to Build a Video Generation Prompt Library: Taxonomy, Structure, and Practical Lessons
This article documents the process of building an open-source video generation prompt library. The author completed the first version in just over a day, organizing a set of cases with sample output videos. The taxonomy, directory structure, and field templates described here can be reused directly. The development environment and models mentioned reflect only the author's setup at the time—readers should verify interfaces and parameters against their own platforms.
This article documents the process of building an open-source video generation prompt library. The author completed the first version in just over a day, organizing a set of cases paired with their generated videos. The taxonomy, directory structure, and field templates described here can be reused directly. The development environment and models mentioned reflect only the author’s conditions at the time; readers should verify interfaces and parameters against their own platforms.
Project Goals and Scope
The library solves a specific problem. Video generation models are highly sensitive to prompt wording—the same scene described differently can produce very different results. Good prompts are usually scattered across personal notes and community discussions, which makes them slow to find and hard to compare. The project therefore does one thing: it organizes prompts, parameters, and generation results into searchable, comparable cases.
The project does not involve model training and does not provide a generation service. It is a system for organizing text and assets.
Directory Structure
A two-level “category / case” organization is recommended:
video-prompt-library/├── README.md├── categories/│ ├── landscape/ # Natural scenery│ │ ├── case-001.yaml│ │ └── case-002.yaml│ ├── city/ # Urban street scenes│ ├── scifi/ # Sci-fi and fantasy│ └── macro/ # Macro worlds└── assets/└── videos/ # Sample generated videos, filenames matching case IDs
Categories are divided by creative theme. Each category holds multiple cases, and each case lives in its own file, which makes editing and review easier.
Case Field Design
Each case contains at least the following fields:
id: city-004title: A rainy night in the cityprompt: >A city street on a rainy night, neon lights reflected on the wet asphalt,the camera slowly pushing forward, dense sound of rain hitting an umbrella,occasional car horns in the distance.tags: [city, night, rain, dolly]params:duration: 5saspect_ratio: "16:9"source: A platform's built-in video model, generated in a general development environmentvideo: assets/videos/city-004.mp4notes: Removing vague terms like "cinematic feel" improved visual stability.
The purpose of each field is as follows. The prompt field holds the full prompt text and is the most important content in the library. The params field records generation settings for reproducibility. The source field records the environment and model used, so readers can judge whether results are comparable. The notes field records findings from actual testing—it is the most valuable field and the one that needs continuous updating.
A Four-Dimension Taxonomy
When organizing samples, the author classified them along four dimensions. A single case can carry multiple tags.
| Dimension | Question it answers | Prompt example | Common mistake |
|---|---|---|---|
| Scene and subject | What words to use for a type of scene | Snow-capped mountains and a lake, morning mist | Scene descriptions too vague, leaving too much to the model |
| Camera language | How the camera moves | Slow orbiting shot, focus shifting from foreground to distant mountains | Multiple simultaneous movements the model cannot execute |
| Mood and style | What texture the image needs | Film grain, warm tones, low saturation | Piling on conflicting adjectives, e.g., “realistic cartoon style” |
| Motion and effects | How to write rain, snow, fire, particles | Sparks drifting in the wind, slow motion | Too many effect words, destabilizing the image |
For camera language, keep the verb count low. Describing only one or two movements per prompt usually produces more controllable results.
How to Write Prompts
The author’s approach is to write in order: subject and scene first, then camera, then style, and finally supporting details. This makes the role of each sentence visible to readers and makes it easier to swap out one part later for comparison.
Aspect ratio and duration are parameters and belong in params, not in the prompt body. This way the same text can be regenerated with different settings.
About Audio
Some video generation models can generate ambient sound, background audio, or dialogue alongside the video. If your model supports this, you can describe sound in the prompt—for example, “the dense sound of rain hitting an umbrella” or “car horns in the distance.”
The scope of this capability should be stated clearly. The more sound description you add, the more the visual subject tends to be weakened. Dialogue accuracy is also inconsistent, so results should be judged by actual output. The author has not run a systematic comparison across models, so the practices here should be treated only as a starting point.
Common Mistakes
First, copying community prompts without testing them yourself. The same text can produce different results on different models.
Second, recording only successes. Failed prompts are equally valuable; record the reasons for failure in the notes field.
Third, not recording parameters. If you later see a good result but cannot say what duration and aspect ratio produced it, the case loses its reproducibility value.
Fourth, over-granular classification. Too many tags make content harder, not easier, to find. The author’s practice is to keep only a few common tags per dimension.
Caveats
Model and platform capabilities change over time. The effect descriptions in this article reflect only the author’s tests at the time; readers should verify independently. Interfaces, parameter names, and billing rules may also change—consult the current official documentation before use.
If generated sample videos are to be published publicly, confirm the platform’s terms of use and check whether the material involves likeness or other rights issues.
Future Plans
The author plans to add three types of features to the library. First, a comparison page showing the same prompt across different models. Second, retrieval of the closest matching cases when a user enters a style description. Third, simple image-quality evaluation of generated results, using objective metrics to help judge whether a prompt revision actually helped. These features are still in planning and have not been implemented.
Community voting is also under consideration. Voting can help maintainers filter cases, but vote counts alone do not represent the objective quality of a prompt—results still need to be validated through actual testing.
Conclusion
The core work of building a prompt library is turning intuition-driven wording into reproducible records. Get three things right—taxonomy, fields, and test notes—and the library has basic usability. If you plan to build a similar library, start with ten cases, get the full workflow working end to end, and then expand gradually.
