How I Create YouTube Shorts With AI Prompts

A practical workflow for turning a technical idea into a structured YouTube Short using AI for scripting, scenes, visuals, voice-over, and captions.

AI workflows2026-08-207 min read

Why I use a structured workflow

Creating a YouTube Short with AI is not just a matter of asking a model to "make a video." A useful short has to communicate one idea quickly, maintain a consistent visual direction, and fit naturally into a short amount of time.

I therefore treat the process as a pipeline. The topic is first converted into a short script, the script is divided into scenes, each scene receives visual instructions, and the individual assets are finally assembled into the finished video.

This separation is important because it makes each stage easier to review and improve instead of trying to generate the entire video in one step.

1. Start with one clear idea

The first step is deciding what the viewer should understand after watching the Short. I avoid starting with a broad subject such as "databases" or "artificial intelligence." Those topics are too large for a short-form video.

Instead, I reduce the topic to one specific observation, problem, technique, or surprising fact.

For example:

  • why random UUIDs can affect database insert performance
  • why connection pools can become too large
  • why an index can sometimes make a query slower
  • why adding more application servers does not always increase throughput

The narrower the idea, the easier it is for the model to produce a focused script and for the viewer to understand the takeaway.

2. Generate the script before generating visuals

One of the mistakes I found with AI video generation is trying to generate visuals before the narrative is finalized. The visuals then become disconnected from the explanation.

I generate the narrative structure first. The output needs to contain a strong opening, a small number of meaningful beats, and a clear conclusion.

A prompt I use as a starting point looks like this:

Create a 30-45 second YouTube Short about [TOPIC].

The audience is software developers.

The Short should explain one specific idea clearly
without assuming the viewer already knows the answer.

Return the following JSON structure:

{
  "hook": "...",
  "scenes": [
    {
      "id": "scene_1",
      "durationSeconds": 5,
      "narration": "...",
      "visualType": "...",
      "visualInstructions": "..."
    }
  ],
  "ending": "..."
}

The important part is not the exact wording of the prompt. It is the structure. By defining the output format, I can pass the generated result directly into the next stages of the pipeline.

3. Design the scenes around the narration

After generating the script, I split it into visual scenes. I generally avoid creating a new scene for every sentence. Instead, related sentences can share the same visual when changing the scene would not add anything meaningful.

Each scene should answer a simple question: what should the viewer see while they hear this part of the explanation?

This prevents the common problem where the narration explains one concept while the screen shows something unrelated.

4. Make visual instructions specific

Generic visual instructions usually produce generic results. I therefore describe the subject, action, environment, composition, and visual style when generating assets.

Instead of "show a database getting slower," I prefer something closer to a concrete visual brief that names the object, relationship, and aesthetic direction.

This gives the model enough information to produce a technically meaningful frame rather than a vague illustration.

5. Keep the visual language consistent

A Short can contain individually good images and still look inconsistent when they are combined. Different colors, camera styles, backgrounds, and compositions can make the final video feel like a collection of unrelated assets.

I therefore define a visual direction before generating the scenes. The same style, aspect ratio, color treatment, typography rules, and general composition are reused throughout the Short.

6. Treat captions as part of the layout

Captions are not just a convenience feature. They are part of the visual experience and should be designed to support the technical message without creating clutter.

The best Shorts feel deliberate even when the content is generated in steps. A clear structure, consistent visual direction, and strong content focus are what make the workflow reliable.