Applying AI in Education: Creating Digital Avatars of Historical Figures for Teaching Videos
Traditional educational materials often rely on static portraits of historical figures, making it difficult for students to establish emotional connections. With the advancement of AI generation technologies, teachers can now easily create dynamic, speaking avatars of historical figures to enhance classroom engagement. This article outlines a four-step AIGC workflow—transforming static portraits into photorealistic images, generating video from images, synthesizing digital human lip-synced speech, and final video editing—providing educators with a practical methodology for producing personalized, interactive teaching resources.
1. Background: Why Education Needs AI Generation Technology
In teaching history and the history of science, teachers commonly face a pain point: the portraits of historical figures in textbooks are mostly static illustrations or traditional paintings, making it difficult for students to establish an emotional connection. If students could “see” Zu Chongzhi explaining the calculation of Pi or “hear” Zhang Heng introducing the seismograph, classroom immersion would significantly improve.
Recently, various platforms have launched digital human and image-to-video capabilities, lowering the barrier for creating such content. What once required a professional animation team can now be completed by a single teacher in a few hours. Additionally, intelligent large language models (LLMs) offer auxiliary capabilities such as analyzing images, extracting descriptions, and generating scripts, forming a complete production pipeline.
This article breaks down this process into four universal steps using general technical categories. Teachers can follow these steps using any platform with equivalent capabilities.
2. Overall Technical Pipeline Design
The entire production process can be abstracted into a typical AIGC processing pipeline:
Original Material (Ancient Painting/Sketch)↓ Image Stylization GenerationPhotorealistic Character Photo↓ Image-to-Video (First-Last Frame Control)Short Dynamic Video Clip↓ Digital Human Speech SynthesisSpeaking Teaching Video↓ Post-Production and EditingFinal Video
The core philosophy of this pipeline is “step-by-step generation, progressive control.” Each step solves only one problem. If a step fails, it can be redone individually, avoiding a complete restart from scratch.
3. Step 1: Convert Static Portraits to Photorealistic Images
3.1 Material Preparation
Select a high-resolution portrait of an ancient scientist; traditional paintings, sketches, or statues are all acceptable. The key requirements for the material are:
- Clear facial contours, frontal or near-frontal perspective;
- As high a resolution as possible, as blurry materials can cause facial distortion in the generated results;
- Preferably public domain materials without copyright disputes.
3.2 Dual Reference Image Strategy
Mainstream image generation services generally support a “reference image + prompt” generation method. An effective technique in practice is to import the reference image twice and set different control modes for each:
- For the first import, select a “portrait photography” control mode to constrain the identity consistency of the generated character.
- For the second import of the same image, select an “edge contour/line art” control mode to lock the character’s posture and composition.
By overlapping these two control signals, the generated result retains the original painting’s features while acquiring photorealistic skin, lighting, and clothing textures.
3.3 Prompt Generation Method
If teachers are not adept at writing prompts, they can use an intelligent conversational model for “image-to-word” generation. After uploading the original image, ask:
“I want to convert this portrait into a photorealistic image. Please extract the prompt for this image.”
Once obtained, paste the prompt into the image generation prompt box. It is recommended that the prompt includes the following elements:
- Character identity and era characteristics (dynasty, clothing, temperament);
- Image style (photorealistic photography, soft lighting, half-body portrait);
- Technical parameters (e.g., 3:4 ratio, HD).
The generated result does not need to be perfect on the first try. Most platforms provide local redraw and eraser tools to fine-tune error-prone areas such as hands and backgrounds. Once basically satisfied, apply HD processing and export the high-resolution image without watermarks. Keeping the high-resolution original image is crucial, as it serves as the input for subsequent video generation.
4. Step 2: Bringing Static Photos to Life
4.1 First-Last Frame Image-to-Video
To convert a photorealistic photo into a dynamic video, the industry-standard approach is “first-last frame control”: provide two images as the start and end frames, and the model automatically interpolates to generate the transition video. Most video generation services offer daily free quotas, sufficient for daily teacher use. However, non-premium tiers may experience longer queue times during peak hours, so it is advisable to submit tasks off-peak.
4.2 Stability Prompt Template
The most common failure mode in image-to-video is facial jitter and limb drift. Through practical testing, the following prompt structure significantly improves stability:
First and last frames remain completely stationary, character position is locked with no deviation, limb posture has zero change, the image achieves atmosphere transition through color gradients, background uses smooth noise texture transitions, character contours remain consistently clear and stable, environmental lighting flows slowly, image resolution is above 4K, avoid micro-movements or deformation.
The design logic is worth explaining:
- Locking instructions first: First constrain the invariants (position, posture, contour), then describe the variables (color, lighting effects). The model will prioritize satisfying the earlier constraints.
- Creating motion with variables: The character remains still while the light flows, ensuring realism while avoiding the risk of facial distortion.
- Explicit negative targets: Explicitly stating “avoid micro-movements or deformation” leverages the independent weight channel most models have for negative descriptions.
5. Step 3: Digital Human Speech Synthesis
Once the dynamic character image is obtained, use digital human capabilities to make them “speak”:
- Upload Image: Upload the dynamic video or high-definition photo to the digital human function module.
- Prepare Script: Write lines fitting the character’s identity, such as having Zu Chongzhi explain the calculation process of Pi in the first person. The script can be refined by an intelligent conversational model with requirements like “understandable by primary school students, within 120 words.”
- Select Voice: Prioritize a calm, slightly vintage male voice, and slow down the speech rate by one notch to better fit the historical figure setting.
- Synthesize and Export: Confirm the lip-sync effect and export the video.
6. Step 4: Post-Production and Educational Packaging
Use standard video editing tools to complete the final assembly:
- Add subtitles; for lower-grade classrooms, it is recommended to increase the font size;
- Keep background music volume below 20% of the human voice;
- Add a title card with the course name and a brief biography of the figure;
- Export specifications should ideally be 1080P, 25fps or above, compatible with common classroom playback equipment.
7. Teaching Application Suggestions and Precautions
- Scenario Extension: Beyond historical figure explanations, this pipeline can be used for oral homework like “A Letter to an Ancient,” campus culture promotional videos, or museum research preparatory courses.
- Student Co-creation: Under teacher guidance, upper-grade students can independently write prompts and generate videos, which itself serves as a practical information technology lesson.
- Content Review: Lines involving historical figures must be based on historical facts to avoid misleading students with fictional history; generated content should go through the school’s review process before release.
- Cost Control: Utilize the daily free quotas of various platforms and split production tasks into multiple submissions. Sinking prompt templates into a school-based resource library can significantly reduce the cost of repeated trial and error.
8. Conclusion
AI technology is turning digital content production, once exclusive to professional teams, into an everyday tool that frontline teachers can independently master. Mastering this universal pipeline—“image stylization, image-to-video, digital human speech synthesis, and post-production editing”—equips educators with a reusable methodology for educational digital content production. As multimodal model capabilities further improve in the future, personalized and interactive AI teaching resources will become the norm, making it worthwhile for every educator to proactively explore and practice.
