AI video guide

How to make an AI video from a script, step by step (2026)

Text-to-video models do not make a video from a script. They make one short clip from one prompt. A finished video is a chain of those clips, so the real skill is planning the chain. Here is the workflow, from idea to export, with the mistakes that waste the most time.

The short answer

  1. Write a short script, 30 to 60 seconds to start with.
  2. Split it into shots of a few seconds each.
  3. Write one prompt per shot: subject, action, camera, light, style.
  4. Make a reference image of your character or look and reuse it in every shot.
  5. Draft the shots on a cheap model, then render only the keepers on a better one.
  6. Add voice, music and sound, then cut the shots together.
  7. Export in the aspect ratio of the place you will publish.

Step 1: Start with a short script

Keep the first video small. A 30 to 60 second script is enough for a clear beginning, middle and end, and it is short enough that you will finish it. Write it as a list of things the viewer sees, not as an essay. "A woman walks through a market and picks up an orange" is useful. "She feels nostalgic" is not, because a video model cannot show a feeling, only what is in the frame.

If you do not have a script, write one sentence that says what happens, then expand it into five to ten visual beats. Each beat becomes a shot.

Step 2: Split the script into shots

Every tool limits how long one clip can be, so you build a video from shots. As an example of the range, Google's current Gemini Omni Flash generates clips of 3 to 15 seconds, and its default is 10. Other tools differ, so check the limit of the one you use before planning.

A good rule is to plan shots of about 2 to 8 seconds. That is also how most edited video works: a viewer rarely watches one unbroken shot for long. Shorter shots have two practical advantages. They fail less often, because there is less time for a face to drift or a hand to break. And a bad one costs less to redo.

Make a simple shot list. A table in a notes app is enough:

#LengthWhat we seeCamera
14 sA woman in a yellow coat enters a market squareWide, slow push in
23 sShe picks up an orange from a stallClose-up, handheld
35 sShe smiles and walks away between the stallsMedium, follows from behind

Step 3: Write a prompt for each shot

A prompt that works describes five things:

  • Subject: who or what, with a few concrete details (age, clothes, colors).
  • Action: one clear thing that happens during the clip.
  • Camera: the shot size and any movement, such as wide shot, close-up, slow push in, handheld, static.
  • Light: time of day and quality, such as warm morning sun or soft overcast light.
  • Style: the look, such as natural documentary footage or 35mm film.

Here is the same shot written badly and well.

Bad: "A cool video of a girl at a market, cinematic, amazing, 4K, beautiful, she is happy and then she goes home and it gets dark."

It has no concrete subject, stacks empty quality words, and packs several scenes and a time jump into one clip. The model has to guess everything.

Good: "A woman in her late twenties, long dark hair, yellow wool coat, picks up an orange from a wooden market stall and smiles. Close-up, handheld camera with slight movement. Warm morning sun, shallow depth of field. Natural documentary look. Single continuous shot."

It names one subject, one action and one camera, and it says it is a single shot. Google's documentation for Gemini Omni Flash gives the same advice: ask explicitly for a "single continuous shot" or "no scene cuts", because the model otherwise tends to use several shots. It also says negative prompts are not a separate setting, so if you must remove something, use simple negative phrasing in the prompt itself. Runway's guidance, as summarised in its help center, points the same way: one scene per generation, and say what you want rather than what you do not want.

When you start from an image, keep the text about motion. The image already shows what the subject looks like, so the prompt only needs to say what happens next.

Step 4: Lock your character with a reference image

This is the step that decides whether your video looks like one story or like ten unrelated clips. If you describe a character in words each time, the model invents a slightly different person each time.

Instead, make one clean image of the character first: a clear face, the outfit you want, a plain background. Then give that image to the model with every shot. Support depends on the tool. Gemini Omni Flash accepts up to 6 reference images per request, and its subject reference takes up to 3 images per character, for up to 2 characters. Runway has a similar References feature for images that can carry a character across scenes. If your tool has no reference input, start every shot from the same still image (image-to-video) for the same effect.

The same trick works for a place or a product, not only for people. Make the reference once, then reuse it.

Step 5: Draft cheap, then render the final shots

Treat the first pass as a sketch. Generate each shot on a cheaper, faster model or at lower resolution, and judge only three things: is the framing right, is the action right, is the timing right. Fix the prompt until the draft is close. Then render the shot once more on your best model.

Retries are normal. Expect to generate a shot several times before one is usable, and do not read that as a sign you are doing it wrong. A hand will bend, a face will shift, the camera will do something you did not ask for. The cost of that adds up, and we break it down in how much AI video generation costs. The practical answer is the draft pass: make your mistakes on the cheap model.

Resolution is another place to save. In Google's documentation for Gemini Omni Flash, 720p is the native output, and 1080p and 4K are upscaled. If a service works that way, you can generate at the native size and upscale only the final cut.

Step 6: Keep continuity between shots

Even with a locked character, shots can drift. These habits help:

  • Repeat the fixed details. Copy the same description of clothes, hair and setting into every prompt. Do not paraphrase it.
  • Keep light and time of day the same across shots in one scene, or the cut will look like a mistake.
  • Start the next shot from the last frame. Take a frame from the end of the previous clip and use it as the first image of the next one, if your tool supports image input.
  • Extend instead of restarting. Some tools can continue a clip. Gemini Omni Flash extends a video by 3 to 10 seconds per turn, up to a 30-second total, using the final 10 seconds of the input as context. Anything that appeared only earlier has to be mentioned again or passed as a reference image.
  • Vary the shot size. Alternating wide, medium and close-up shots hides small differences, and it is how normal edited video is built anyway.

Step 7: Add voice, music and sound

Some current models generate sound together with the picture. Gemini Omni Flash, for example, generates synchronized video and native audio, and its prompts can describe the audio: background music, sound effects, or none at all. Google's guide uses examples like "No dialogue" and "No extra sound effects". The same documentation notes that voice editing and audio inputs are not supported there, so you cannot hand it your own voice track to match. Not every model has native audio, and what it can do varies by tool, so read the feature list of yours.

A practical split that works with any tool:

  • Ambient sound and effects: fine to take from the model when it generates them. Otherwise add them from a sound library.
  • Narration: record it yourself or generate it with a separate text-to-speech tool. Narration made separately is easy to re-record when the script changes.
  • Music: add it in the editor, under the voice. Check the licence of any track you use.

Write the narration first and time the shots to it. It is much easier to match the pictures to a voice than the other way around.

Step 8: Stitch and edit

Put the shots on a timeline in any editor, whether a free desktop editor or a phone app. Then:

  1. Trim the first and last half second of each clip. Generated clips often start and end a little unstable.
  2. Cut on action, such as a turning head or a raised hand, so the join is hard to notice.
  3. Lay down the voice, then music, then effects. Keep the music quiet under speech.
  4. Add captions. Many people watch with the sound off.
  5. Do one colour pass across the whole video so the shots match.

Vertical or horizontal?

Decide this before you generate anything, because changing it later means regenerating. Vertical 9:16 is the format of YouTube Shorts and similar feeds. Horizontal 16:9 is the format of standard YouTube videos and most screens. Check that your tool supports the ratio you want. Gemini Omni Flash, for instance, defaults to 16:9 landscape and can output 9:16 portrait when asked.

For vertical video, frame for it in the prompt too. Put the subject in the middle, keep action in the upper two thirds so captions have room at the bottom, and avoid wide landscape compositions that lose their point when cropped. Cropping a horizontal video to vertical afterwards usually cuts off part of the action.

Common mistakes

  • Prompting a whole story as one clip. One shot, one action.
  • Empty quality words. "Cinematic, 4K, masterpiece" tells the model little. Describe light, lens and setting.
  • No character reference. The face changes from shot to shot.
  • Going straight to the expensive model. Draft first.
  • Changing too much between attempts. If a shot is almost right, change one thing at a time so you know what helped.
  • Ignoring sound. Silent AI video feels fake faster than anything else. Even simple room tone helps.
  • Choosing the aspect ratio last. It changes the framing of every shot.
  • Making shots too long. Longer clips have more time to go wrong. Cut instead.

Checklist

  • Script of 30 to 60 seconds, written as things you can see.
  • Shot list with a length and a camera for every shot.
  • Aspect ratio chosen: 9:16 or 16:9.
  • Reference image for each character, place or product.
  • One prompt per shot: subject, action, camera, light, style.
  • Draft pass on a cheap model, final pass only on the keepers.
  • Same fixed details copied into every prompt.
  • Voice, music and effects added and levelled.
  • Trimmed, cut on action, captions on.
  • Watched once with the sound off and once on.

Tool limits quoted above (clip length, native audio, reference images, aspect ratio, resolution and extension) come from Google's official Gemini Omni Flash documentation, aistudio.google.com/docs/video and aistudio.google.com/docs/omni, checked on 8 November 2026. The Runway points are from its official help center, Gen-4 Video Prompting Guide, and the References feature is described on its Image References guide. Other tools have different limits, and limits change often. The rest is general craft advice, not measured results.

Where HeyDevu fits

HeyDevu makes short videos from a script or an idea. It runs on its own generation pipeline, so a video costs much less. HeyDevu is in private beta now: you can join the waitlist.