How to Generate AI Videos with LoRAs

This tutorial shows how to quickly and easily generate AI videos using LoRAs.

How to Generate AI Videos with LoRAs

MindStudio is the easiest way to create amazing AI-generated videos using LoRAs. A LoRA is an AI image generation model specifically trained to produce highly consistent images.

MindStudio has a growing number of AI image generation models that support LoRAs:

  • Black Forest Labs FLUX.2 [dev] LoRA
  • Qwen’s Qwen Image and Z Image Turbo
  • Stability SDXL LoRA

MindStudio also has several AI video generation models, including:

  • OpenAI Sora 2 Pro
  • Runway Gen-4 Turbo
  • Kling’s Kling O1
  • Lightricks LTX-2 10b
  • Luma Labs Ray Flash 2
  • Wan 2.6
  • and several others

Generate videos in minutes without requiring a high-powered computer or complex software.

Follow the steps below to build a simple video generation workbench:

1. Create a MindStudio account.

2. Go to “Service Router > Balance” to add funds to your Service Router balance. Add $5 to get started.

MindStudio balance shown in Service Router

3. Create a new agent from My Drafts.

Drafts in MindStudio

4.Click the “Start” block and change the Run Mode to “Workbench”.

Set the MindStudio workflow to run in a Workbench

5. Click the + button to add a new block and choose “Set Variable”.

Add a Set Variable block to the MindStudio workflow

6. Name the variable “style”. This will be the visual style for the first frame of the video.

Add "style" to the Set Variable block prompt in MindStudio

7. Let’s generate a cool video style that blends claymation with the futurist style of the movie “2001: A Space Odyssey”. The beginning of the following prompt, “claymation_stoners”, triggers the LoRA we’ll use to generate the AI image. This AI image will be the first frame of the video to provide the video’s visual style. Copy and paste the following prompt:

“claymation_stoners, a perfectly symmetrical wide shot of an astronaut in a chunky white vintage space suit standing in a futuristic white octagonal spaceship corridor, a single glowing red camera eye (HAL 9000) on the wall, style: tactile plasticine texture, visible thumbprints on the space helmet, wobbly hand-sculpted surfaces, stop-motion animation aesthetic, lighting: stark clinical white high-key lighting, hard shadows, camera: 70mm Panavision lens, one-point perspective, deep depth of field, cinematic color grading.”

Add the prompt to the Set Variable block using the "style" variable

8. Click the + again and add another “Set Variable” block.

Add a second Set Variable block to the MindStudio workflow

9. Name the variable “subject”. This will be the subject of the video.

Add "subject" as the variable name for the second Set Variable workflow in MindStudio

10. Copy and paste the following prompt (or one of your choosing):

“An astronaut prepares to go on a space walk outside the space station. The astronaut floats in zero-gravity at the threshold of an open circular airlock.”

Add the prompt to the second Set Variable block, named "subject"

11. Click the + again and add a third “Set Variable” block.

Add a third Set Variable block to the MindStudio workflow

12. Name the variable “action”. This will be the action in the video.

Add "action" to the third Set Variable block in the MindStudio workflow

13. Copy and paste the following prompt (or a prompt of your choosing):

“The circular airlock of the space station rolls open to show the stars and nebulae of deep space. The astronaut jumps out of the space station with reckless abandon, then floats away. Medium closeup to wide shot. Stop-motion animation.”

Add the prompt to the third Set Variable block with the variable named "action"

14. Click the + again and add a “Generate Image” block.

Add a Generate Image block to the MindStudio workflow

15. Add the following prompt. The XML-style brackets surrounding the variable names in double sets of curly braces separate “the instruction” from “the variable values” that we specified. We then reference the XML bracket in the instruction at the end of the prompt. Doing this is a best practice for prompting an AI model in general.

<style>{{style}}</style>
<subject>{{subject}}</subject>

<subject> in this style <style>

Add the prompt to the Generate Image block in MindStudio

16. Click “Gemini 2.5 Flash Image” under “Model Settings” to open the Image Model picker.

AI image model settings display in MindStudio

17. Click the “Use” button for “FLUX.2 [dev] LoRA”.

Select FLUX.2 [dev] LoRA AI model to generate the image

18. In the “Behavior” setting, select “Save to Variable”.

Set the behavior of the Generate Image block to output to a variable

19. In the “Output Variable” setting, add “firstFrame”. This is the name of our variable for the first image frame of our video.

Add "firstFrame" to the Output Variable setting for the Generate Image block in MindStudio

20. In the “Image Size” setting, select “Landscape 16:9 (1024x576)”.

Set the output image size of the generated image to 16:9 aspect ratio

21. Click the “Add” button in the “LoRAs” setting, then paste the following URL:

https://civitai.com/models/2217980?modelVersionId=2497085

This is the LoRA we will use from CivitAI to generate the image for the first video frame. MindStudio makes it easy to use LoRAs from CivitAI: just paste the URL for that LoRA into the “LoRAs” setting. Use up to three LoRAs to generate an AI image. MindStudio identifies with supporting LoRA AI model automatically.

Add the LoRA to the Generate Image block in MindStudio

22. In the configuration panel on the right, scroll down to “Advanced”, then select “Enabled” toggle on the “Multiple Variants” option. This is disabled by default. This allows you to generate multiple variations of this image at once.

Set to generate multiple variants of the image

23. Adjust how many variations to make when you run this workbench. 4 is default. This is a good setting to start with so you do not pay for too many videos at once.

24. Click the + again and add a “Generate Video” block.

Add a Generate Video block to the MindStudio workflow

25. Add the following prompt:

{{action}}

This is the variable containing the action for the video we specified.

Add the prompt to the Generate Video block in MindStudio

26. Click “Veo 3” under “Model Settings” to open the Video Model picker.

View the Video Model picker in MindStudio

27. Click the “Use” button for “Seedance 1.5 Pro”.

Select the Seedance 1.5 Pro AI model to generate the video

28. In the “Image” setting, add “{{firstFrame}}”. This accesses the AI generated image from the “Generate Image” block that we named as the output variable. As the first frame of the video, this provides the visual style of the video.

Add "{{firstFrame}}" to the Image setting in the Generate Video block

29. Optionally, in the “Duration” setting, set the duration from the default 5 seconds to 12 seconds, or anywhere in between.

Optionally, set the Duration setting of the Generate Video block to 12 seconds

30. In the configuration panel on the right, scroll down to “Advanced”, then select “Enabled” toggle on the “Multiple Variants” option. This is disabled by default. This allows you to generate multiple variations of this video at once.

Enable to generate multiple variants of the AI video in MindStudio

31. Adjust how many variations to make when you run this workbench. 4 is default. This is a good setting to start with so you do not pay for too many videos at once.

32. Click the “Zoom Out” icon in the Automation Canvas to zoom out (80%), so you can see your entire workflow on-screen. If necessary, click “Auto Arrange” (or A) to automatically arrange the workflow for better viewing.

Set the zoom setting in the Automation Canvas to 80%

33. Press “Run” in the top right (or Cmd/Ctrl+R) to start the workbench.

Press the Run button to run the MindStudio workflow

The MindStudio workbench runs in Debugger.

Troubleshooting tip! If you receive an error that reads, in part, “429 Client Error: Too Many Requests for url”, that simply means that your LoRA is really popular! There are too many requests to access it from the CiviAI website when the AI image generates. Just try running the workflow again by clicking “Run” (or Cmd/Ctrl+R).

The MindStudio workflow runs in Debugger

34. When the generations finish, four variants are displayed. Click one to open in full screen.

Multiple variants of the AI generated video are displayed in Debugger

35. Choose the best variant and select it to finish the workbench. Note that videos are already hosted on MindStudio CDN and ready to be shared or used in other workbenches. There are many other ways to work with videos! Check out other tutorials to learn how to continue!

AI generated video displays in MindStudio

Launch Your First Agent Today