wan27-prompt-helper
A lightweight utility for generating high-quality AI video prompts. Provides curated style templates and a simple API to craft prompts for AI video generation tools.
Built by Wan2-7 — Create stunning AI-generated videos with ease.
Install
npm install wan27-prompt-helper
Usage
import { generatePrompt, listStyles } from 'wan27-prompt-helper'
console.log(listStyles())
const prompt = generatePrompt({
style: 'cinematic',
subject: 'a wolf running through a snowy forest',
duration: '5s',
camera: 'tracking shot',
})
console.log(prompt)
API
generatePrompt(options)
Generate a video prompt string.
subject | string | Yes | Main subject of the video |
style | string | No | Style template (default: 'cinematic') |
duration | string | No | Video duration (e.g. '5s') |
camera | string | No | Camera movement (e.g. 'tracking shot') |
extras | string[] | No | Additional prompt modifiers |
listStyles()
Returns an array of available style names.
getStyleInfo(name)
Returns detailed info about a style template, or null if not found.
Available Styles
cinematic | Film-like quality with dramatic lighting |
anime | Japanese animation style |
documentary | Realistic documentary footage |
commercial | Polished advertising style |
dreamlike | Surreal and ethereal visuals |
retro | Vintage and nostalgic look |
scifi | Futuristic science fiction visuals |
nature | Beautiful nature and landscape footage |
About
This package is created and maintained by Wan2-7, an advanced AI video generation platform. Visit wan2-7.io to create AI-generated videos online.
License
MIT