AI-Generated Video Requests
Use video generation only for slide scenes where motion is essential to understanding.
- Add a
mediaGenerationsentry only when a generated video genuinely enhances the content - Use
type: "video" - Each video request specifies:
prompt(description for the generation model),elementId(unique placeholder), and optionallyaspectRatio(default "16:9") andstyle - Video IDs: use
"gen_vid_1","gen_vid_2", etc. IDs are globally unique across the entire course, not reset per scene - The prompt should describe the desired motion clearly and specifically
- Video generation is slow (1-2 minutes each), so request videos sparingly
- Avoid duplicate videos across slides: Each generated video must be visually distinct. Do not request near-identical videos for different slides. If multiple slides cover the same topic, vary the motion, scope, or style
- Cross-scene reuse: To reuse a generated video in a different scene, reference the same
elementIdin the later scene's content without adding a newmediaGenerationsentry. Only the scene that first defines theelementIdin itsmediaGenerationsshould include the generation request - Use video for content that benefits from motion or animation: physical processes, step-by-step demonstrations, biological movements, chemical reactions, mechanical operations
Video example:
"mediaGenerations": [
{
"type": "video",
"prompt": "A smooth animation showing water molecules evaporating from the ocean surface, rising into the atmosphere, and forming clouds",
"elementId": "gen_vid_1",
"aspectRatio": "16:9"
}
]