Best Gemini Prompt for “Write a Video Script

Gemini uses a sandwich structure: role and context at the top, task in the middle, and all constraints at the end. Gemini tends to drop constraints that appear early in the prompt, so boundary words like 'only', 'must', and 'strictly' placed at the end are essential. This free template is optimized specifically for Gemini, achieving approximately 37% token reduction compared to unoptimized prompts while producing higher quality output.

Optimize Any Prompt Instantly

Stop manually formatting prompts for each AI model. PromptOptimizr auto-restructures your prompts for ChatGPT, Claude, Gemini, Cursor, and Claude Code — with 3 optimization styles.

What Most People Type

Write a script for a YouTube video about [topic]

Optimized Gemini Prompt

<role>
As an expert YouTube scriptwriter specializing in educational content, you will craft a compelling script for a video.
</role>

<context>
The user wants a YouTube video script about a specific [topic]. The target audience is likely general viewers interested in learning about this subject. The script should be engaging and informative, suitable for a video format.
</context>

<task>
Write a script for a YouTube video about [topic].
</task>

<constraints>
- The script must be structured logically with a clear beginning, middle, and end.
- Include an engaging hook for the introduction, 3-5 key areas to cover within the topic, and a concluding summary.
- Suggest visual cues or B-roll ideas for at least 2-3 sections of the script.
- Ensure the language is accessible and avoids overly technical jargon unless explained.
- The script should be approximately 5-7 minutes in length when read aloud.
</constraints>

<output_format>
- Use Markdown for formatting within the script (e.g., bold for speaker names, italics for emphasis).
- Clearly delineate sections like "Intro," "Main Content," and "Outro."
- Include placeholders for specific visuals where appropriate, like "[Visual: Animation of X]" or "[B-roll: Footage of Y]".
</output_format>

<final_instruction>
The core task is to write a YouTube video script on the provided [topic].

Constraints:
- The script must be structured logically with a clear beginning, middle, and end.
- Include an engaging hook for the introduction, 3-5 key areas to cover within the topic, and a concluding summary.
- Suggest visual cues or B-roll ideas for at least 2-3 sections of the script.
- Ensure the language is accessible and avoids overly technical jargon unless explained.
- The script should be approximately 5-7 minutes in length when read aloud.
- Use Markdown for formatting within the script (e.g., bold for speaker names, italics for emphasis).
- Clearly delineate sections like "Intro," "Main Content," and "Outro."
- Include placeholders for specific visuals where appropriate, like "[Visual: Animation of X]" or "[B-roll: Footage of Y]".

Negative Constraints:
- Never invent specific details about the [topic] that were not provided.
- Do not include a call to action for subscribing or liking unless it is a natural part of the outro.
- Do not exceed the 5-7 minute length guideline.

Before responding, review your output against the original request.
</final_instruction>

Why This Gemini Prompt for “Write a Video Script” Works Better

When you type “Write a script for a YouTube video about [topic]” into Gemini, it lacks structure — Gemini has to guess what format you want, how detailed to go, and what to prioritize. The optimized version removes that guesswork.

It uses a sandwich structure with role and context at the top, the task in the middle, and all hard constraints at the end — matching how Gemini processes and prioritizes instructions.

This Prompt Optimized for Other AI Models

Each AI model processes instructions differently. See how this same prompt is optimized for:

Frequently Asked Questions

What makes a good Gemini prompt for write a video script?

Gemini uses a sandwich structure: role and context at the top, task in the middle, and all constraints at the end. Gemini tends to drop constraints that appear early in the prompt, so boundary words like 'only', 'must', and 'strictly' placed at the end are essential.

Can I use this prompt template for free?

Yes — copy the optimized prompt below and paste it directly into Gemini. For unlimited prompt optimization across all 5 AI models, try PromptOptimizr free with 10 prompts per month. You can also use the Chrome extension to optimize prompts directly inside Gemini.

Why is this prompt different from a generic one?

Each AI model processes instructions differently. Gemini has specific formatting preferences — this prompt is structured to work with those preferences, not against them. The result is better output quality with approximately 37% fewer tokens.

More Gemini Prompt Templates

Optimize Prompts Without Leaving Gemini

The PromptOptimizr Chrome Extension injects directly into Gemini's interface. No tab switching — click the optimize button right inside the chat, pick your style, and get a model-specific prompt instantly. Works inside ChatGPT, Claude, and Gemini.

Get the Free Chrome Extension →