How to Create AI Motion Graphics Videos for Free Using OpenCode and GLM
GALTech School of Technology Private Limited > Blogs / How to Create AI Motion Graphics Videos for Free Using OpenCode and GLM

Creating professional-looking motion graphics videos no longer requires advanced video editing skills or expensive animation software. With AI-powered coding agents and video creation frameworks, you can generate animated explainer videos simply by describing what you want.
In this tutorial, we explore how to create AI motion graphics videos for free using OpenCode and the GLM Flash model. You will learn how to set up OpenCode, select a free AI model, generate animations using text prompts, add voice-overs, and create educational videos and documentaries.
Whether you are a content creator, teacher, student, or business owner, this workflow can help you create engaging videos with minimal manual editing.
What Is OpenCode AI?
OpenCode is an open-source AI coding agent that helps users create and modify code through natural language instructions. Instead of writing every line of code manually, you can describe your requirements and let the AI agent work on the project files.
For AI video creation, OpenCode can work with tools and frameworks such as Remotion to generate animated video projects.
By selecting an available free GLM model, users can experiment with AI-powered video creation without necessarily paying for a premium AI coding model.
How to Create AI Motion Graphics Videos Using OpenCode
Follow these steps to generate your first AI animation.
Step 1: Download and Install OpenCode
First, visit the official OpenCode website and download the application for your operating system.
OpenCode supports different operating systems, including Windows, macOS, and Linux.
- Visit the OpenCode website.
- Click the Download option.
- Select the version suitable for your computer.
- Download and install the application.
- Open OpenCode after installation.
Once installed, you can start creating your AI video project.
Step 2: Select the Free GLM Model
After opening OpenCode, you will find different settings below the chat interface.
Select Build mode, which allows the AI agent to create files and write code for your project.
Next, open the model selection option and choose an available free GLM Flash model. You can also select the maximum thinking level to allow the AI to spend more effort planning and completing the task.
Model availability and free usage limits may vary by provider and configuration.
Step 3: Create a Project Folder
Before generating your video, create a dedicated project folder.
- Click Add Project in OpenCode.
- Create a new folder on your computer.
- Give it a suitable name, such as Motion Graphics.
- Select the folder as your project workspace.
All the code, assets, animation files, and other project resources generated by the AI can be organised within this folder.
Step 4: Write an AI Video Generation Prompt
This is where the actual video creation begins.
You do not need to write complicated code. Simply describe the video you want to create using a natural-language prompt.
Step 5: Let AI Generate and Review the Video
After receiving your instructions, the AI agent can study the relevant Remotion documentation and best practices before building the animation.
It can then:
- Create the required project files.
- Generate individual animation scenes.
- Add visual elements and transitions.
- Arrange the scenes in the correct sequence.
- Render the completed video.
- Review screenshots of the generated scenes.
- Identify and correct visual issues.
For example, in the solar eclipse demonstration, the AI generates multiple scenes explaining the relationship between the Sun, Moon, and Earth.
It can also inspect the rendered scenes and make corrections if visual elements are misplaced or colours do not appear as expected.
The generation process may take some time, particularly when using a free model.
Step 6: Add a Free AI Voice-Over Using Edge TTS
An animated video becomes more engaging when it includes narration.
If your generated video does not have audio, you can ask OpenCode to add a voice-over. Microsoft Edge TTS is used to generate narration without requiring an ElevenLabs paid subscription or an API key.
The AI agent can:
- Write a narration script for each scene.
- Generate audio using Edge TTS.
- Select a suitable voice.
- Match each audio clip with the corresponding scene.
- Render the video again with voice-over.
If an audio-generation request fails, the agent can also implement retry logic to handle temporary errors.
This makes it possible to create an AI explainer video with both animation and narration.
Step 7: Create a Malayalam Historical Documentary Using AI
You can take AI video generation further by creating documentary-style videos. The AI agent searches Wikimedia Commons for historical images and incorporates suitable visual assets into the project.
When using historical photographs, always check the individual image's copyright status and licence requirements before including it in a published video.
This workflow demonstrates how AI can help create more detailed educational and historical video content.
What Can You Create with AI Motion Graphics?
AI-powered animation is useful for different types of video projects.
1. Educational Explainer Videos
Teachers and educators can create animated lessons explaining topics such as the water cycle, photosynthesis, solar eclipses, and other science concepts.
Instead of relying only on textbooks and static images, they can present lessons through engaging visual explanations.
2. Faceless YouTube Videos
If you want to start a faceless YouTube channel, AI-generated motion graphics can help you create content without appearing in front of a camera.
You can explore topics such as:
- History and historical facts.
- Space and science facts.
- Educational content.
- Interesting stories.
- General knowledge videos.
3. Kids' Learning Videos
Parents and educators can create simple animated videos to teach children the alphabet, numbers, basic science, and other educational topics. Custom animations can make learning more interactive and enjoyable.
4. Product Explainer Videos
Small businesses and marketers can use AI-generated animations to explain products, demonstrate features, and communicate important information to potential customers.
5. Social Media Reels and Shorts
You can generate vertical 9:16 videos for Instagram Reels, YouTube Shorts, and other short-form video platforms. These videos can be used for educational content, storytelling, and promotional purposes.
3 Tips to Get Better Results from AI Video Prompts
The quality of your output depends heavily on how clearly you communicate your requirements.
Here are three useful tips:
1. Be Specific About the Topic
Avoid vague instructions. Explain exactly what you want the video to cover and who the intended audience is.
2. Mention the video aspect ratio.
Choose the correct dimensions based on where you plan to publish the video.
- 9:16 – Instagram Reels, YouTube Shorts, and TikTok.
- 16:9 – Standard YouTube videos and presentations.
3. Ask AI to Check and Verify Its Work
Include instructions such as "Check and verify the final video" in your prompt. This encourages the AI agent to inspect the generated output and fix potential issues before completing the project.
Remember that AI-generated content still requires human review, especially for educational facts, historical accuracy, narration, and visual quality.
Is AI Motion Graphics Video Creation Completely Free?
One of the biggest advantages of this workflow is that you can experiment with AI-generated animations using OpenCode and an available free GLM model.
However, free availability does not necessarily mean unlimited usage. Model providers may have usage restrictions, and other tools, services, or resources used in a project may involve additional costs.
The time required to generate a video can also vary depending on the complexity of the animation, the selected model, and your computer.
Final Thoughts
Creating motion graphics videos no longer has to be a complicated process. With tools such as OpenCode, GLM, Remotion, and Edge TTS, you can turn simple text instructions into animated explainer videos, educational content, and even documentary-style projects.
You do not need to be an experienced video editor or professional animator to start experimenting with this workflow.
If you are interested in learning more about AI tools and practical AI workflows, explore the latest AI course from GALTech School of Technology.
Watch this tutorial in Malayalam on GALTech Learning Hub.
Frequently Asked Questions
Leave a Comment
Recent Posts





