How to Write AI Video Prompts With an LLM Helper
Learning how to write ai video prompts is mostly learning to be specific about subject, motion, camera and light. A text LLM can draft and refine those prompts for you, and this guide shows the formula, a loop that improves a prompt step by step, and what a batch costs.


Key points
- A good video prompt names one subject, one action, a setting, a camera move, lighting and a style.
- Use the text API to expand rough ideas into this structure and to rewrite prompts after you see results.
- The API writes prompts only; it does not generate video, and you paste its output into your own video tool.
- Fifty refined prompts cost about $0.007, so iterating is cheap.
The formula behind a good video prompt
If you want to know how to write ai video prompts that give predictable clips, start with structure. Most video tools respond best to a compact description that covers six slots, in roughly this order:
| Slot | What to say | Example |
|---|---|---|
| Subject | One clear subject, with a few identifying details | an old fisherman in a yellow raincoat |
| Action | One motion, in the present tense | coils a rope on a wet dock |
| Setting | Place and time of day | a foggy harbour at dawn |
| Camera | Shot size and movement | slow push-in, eye level |
| Light and colour | Source, mood, palette | soft backlight, cold blue with warm lamps |
| Style | Film look or medium | 35mm documentary, shallow depth of field |
Joined together: "An old fisherman in a yellow raincoat coils a rope on a wet dock in a foggy harbour at dawn. Slow push-in at eye level. Soft backlight, cold blue with warm lamps. 35mm documentary look, shallow depth of field."
Different tools weigh these slots differently and cap prompt length and clip duration in different ways. Check the documentation of your video tool for its limits; this article cannot tell you those.
Common mistakes that waste generations
- Too many actions. "He runs, jumps, turns and waves" in a few seconds produces mush. One action per clip, then cut between clips.
- Abstract mood words alone. "Epic, cinematic, stunning" says little. Replace them with something the camera could see: a low angle, long shadows, a lens flare.
- Contradictions. "Bright noon sun" next to "moody night scene" makes the tool pick one at random.
- Negatives that name the thing. Telling a tool not to show something often draws attention to it. Describe what you want instead, or use the tool's dedicated negative field if it has one.
- No continuity notes. If you need the same character in five clips, repeat the same identifying phrase word for word in each prompt.
An LLM helper fixes the last problem especially well, because it can hold a character description and stamp it on every prompt in a series without drifting.
Use an LLM to draft the prompts
Writing forty prompts by hand is tedious. A text model can take a rough idea and expand it into your six-slot structure, in your preferred style. This service is an OpenAI-compatible text API with one model, uncensored. It is text only, so it cannot make the clip; it writes the prompt that you copy into a separate tool. The page on the video generation API covers that distinction.
Here is a script that turns one-line ideas into full prompts and keeps a fixed character description for continuity:
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.nsfwvideo.cc/v1",
api_key=os.environ["API_KEY"])
SYSTEM = (
"You write prompts for text-to-video tools. For each idea, output one paragraph "
"of 40 to 60 words covering subject, one action, setting, camera movement, "
"light and colour, and style. Present tense. No dialogue. No negatives. "
"Always describe the main character exactly as: {character}"
)
def expand(idea, character, style="35mm documentary look"):
r = client.chat.completions.create(
model="uncensored",
messages=[
{"role": "system", "content": SYSTEM.format(character=character)},
{"role": "user", "content": f"Idea: {idea}\nStyle: {style}"},
],
temperature=0.8,
max_tokens=200,
)
return r.choices[0].message.content.strip()
character = "an old fisherman in a yellow raincoat with a grey beard"
for idea in ["he arrives at the dock", "he mends a net", "he watches the storm approach"]:
print(expand(idea, character), "\n")
Because the character line is injected into every system prompt, all three outputs describe him identically.
Refine with feedback instead of starting over
The first generation from a video tool rarely matches what you pictured. Instead of rewriting from scratch, tell the LLM what went wrong and ask for a revised prompt. Keep the conversation short and send the previous prompt together with your note.
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.nsfwvideo.cc/v1",
api_key=os.environ["API_KEY"])
def refine(prompt, problem):
r = client.chat.completions.create(
model="uncensored",
messages=[
{"role": "system", "content": "Revise video prompts. Change only what the note asks for. Return the new prompt only."},
{"role": "user", "content": f"PROMPT:\n{prompt}\n\nPROBLEM:\n{problem}"},
],
temperature=0.5,
max_tokens=200,
)
return r.choices[0].message.content.strip()
print(refine(
"An old fisherman coils a rope on a wet dock at dawn, slow push-in, soft backlight.",
"The camera drifts too much and the dock looks too clean. Make it static and weathered.",
))
A lower temperature suits revision work, because you want a small controlled change rather than a new idea. Record each prompt and what you changed, so you can see which edits actually improved clips. A plain CSV with columns for prompt, note and rating is enough.
Batch cost and iteration budget
Prompts are short, so cost is tiny. Pricing is $0.15 per 1M input tokens and $0.50 per 1M output tokens. Suppose each expansion sends 300 tokens (the system message, the character line and the idea) and returns 200 tokens.
- Input: 300 x $0.15 / 1,000,000 = $0.000045
- Output: 200 x $0.50 / 1,000,000 = $0.0001
- Per prompt: $0.000145
- Batch of 50: $0.00725
- 1,000 prompts: $0.145
Even five revision rounds on every prompt in a 50-prompt batch cost about $0.04 in total. The expensive part of a video workflow is the video tool, not the text helper, so use the LLM to improve your hit rate before you spend credits there. Failed or refused requests are not charged.
New users get $0.50 of trial credit, which covers more than 3,000 prompts of this size ($0.50 / $0.000145 is about 3,448). Paid top-ups are whole amounts from $20 to $500 with bonuses of 5%, 10% and 15% at $50, $100 and $200; the pricing page lists them. Payment is crypto only, in USDT on TRC20 or USDC on Base.
Before and after: one idea, three passes
Here is how a rough idea changes as you run it through the helper.
- Idea: "a lighthouse in a storm".
- First expansion: "A weathered white lighthouse stands on a black rock as waves break over its base at night. Slow upward tilt from the surface of the water to the lamp. Rain streaks in the beam, cold teal shadows with one warm lamp. Moody 35mm film look."
- Note back to the helper: "Waves look chaotic. Calmer sea, more fog, still a storm sky." The revised prompt swaps breaking waves for a heaving swell under low fog and keeps the tilt and the lamp.
Notice that each pass changed one thing. When a revision changes five things at once, you cannot tell which edit helped. Keep notes short, concrete and singular, and the loop converges in two or three tries.
Practical tips for consistent series
- Keep a style block. Write one sentence for look, one for colour and one for lens, and reuse them verbatim. Variation should come from the action and setting only.
- Number your shots. Ask the model for a shot list of eight shots with a one-line purpose each, then expand each into a full prompt. The list keeps pacing in view.
- Ask for two options. A request for "two alternative prompts, one literal and one more atmospheric" doubles your useful material for almost no extra cost.
- Cap the length. Say "40 to 60 words" in the instruction. Longer prompts are not better and many tools truncate them.
- Use JSON for batches. JSON mode returns a list of prompts that your code can write straight to a file. See the documentation for the
response_formatparameter.
For a chat interface instead of code, the Open WebUI page explains how to add an OpenAI-compatible connection, so you can paste ideas and iterate by hand.
Rules and limits to remember
The model is tuned to answer without content refusals for lawful adult use, which suits mature, dark or stylised fiction. It will not help with sexual content involving minors, a hard limit with no exceptions. Prompts are not used for training.
A full key allows 8 concurrent requests and 300 per minute, a trial key 2 and 60. A 429 error with code rate_limited or concurrency means you went over, and Retry-After: 5 means wait five seconds. Context is 100,000 tokens, far more than a prompt-writing job needs. Start by claiming the trial on the API key page; no payment details are required.
More guides
Questions and answers
What should an AI video prompt include?
A single subject, one action, the setting, a camera movement, lighting and colour, and a visual style. Keep it to a short paragraph.
Can I generate the actual video with this API?
No. The API is text only. It drafts and refines prompts that you paste into a separate video tool.
How do I keep the same character across clips?
Write one fixed description and insert it word for word into every prompt. Put it in the system message so the LLM does it automatically.
How much does it cost to generate 50 video prompts?
About $0.007 for prompts of 300 input and 200 output tokens each, at $0.15 and $0.50 per 1M tokens.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.
Get API key