New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

wan27-prompt-helper

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wan27-prompt-helper

AI video prompt templates and generation utilities for creating high-quality video generation prompts. Powered by Wan2-7.

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

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'

// List all available styles
console.log(listStyles())
// → ['cinematic', 'anime', 'documentary', 'commercial', 'dreamlike', 'retro', 'scifi', 'nature']

// Generate a prompt
const prompt = generatePrompt({
  style: 'cinematic',
  subject: 'a wolf running through a snowy forest',
  duration: '5s',
  camera: 'tracking shot',
})

console.log(prompt)
// → "cinematic style, tracking shot, a wolf running through a snowy forest, dramatic lighting, shallow depth of field, film grain, high quality, 4K, 5s"

API

generatePrompt(options)

Generate a video prompt string.

OptionTypeRequiredDescription
subjectstringYesMain subject of the video
stylestringNoStyle template (default: 'cinematic')
durationstringNoVideo duration (e.g. '5s')
camerastringNoCamera movement (e.g. 'tracking shot')
extrasstring[]NoAdditional 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

StyleDescription
cinematicFilm-like quality with dramatic lighting
animeJapanese animation style
documentaryRealistic documentary footage
commercialPolished advertising style
dreamlikeSurreal and ethereal visuals
retroVintage and nostalgic look
scifiFuturistic science fiction visuals
natureBeautiful 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

Keywords

ai

FAQs

Package last updated on 18 Mar 2026

Related posts