Create a new lesson with Globi
Ready to make your next Globi video? This guide takes you from a lesson idea to a finished Spanish practice video, using the same character references, reusable scenes, Google Flow and Cristina’s ElevenLabs voice. Start with the included example, then follow the numbered steps for your own lesson. Open the dropdowns for extra prompts and tips whenever you need them.
Open the starter kit in Google DriveMac-first instructions. The kit uses Python editing tools; no local AI model or API key is needed. Flow and ElevenLabs use your team’s existing accounts.
1. Get ready once
- Open the Drive folder. Download Globi-Video-Starter-v1.zip, then double-click it to extract the folder.
- Move Globi-Video-Starter somewhere convenient, such as Documents. Keep the files together and work from this local copy.
- Open Terminal. Type
cd(including the space), drag the extracted folder into Terminal, and press Return. This tells Terminal which folder to use. - If you already have Python 3.12 or uv, run the setup command below. Otherwise, first use the short installation dropdown.
bash setup.commandInstall the Python helper if needed
Install uv using its official instructions. On Mac, this is the vendor’s installer command:
curl -LsSf https://astral.sh/uv/install.sh | shClose and reopen Terminal, return to the starter folder using cd, then run bash setup.command. Setup downloads Python 3.12.14 if needed and installs four pinned editing libraries. Internet is needed for this one-time setup.
What about Windows?
This first kit is tested on a Mac. The .command launchers are Mac shell scripts. A Windows user should have a technical teammate adapt and verify setup before using it; the guide does not require Windows users to follow Mac commands.
Ready when: Terminal prints “Ready: Python 3.12…” with no error.
2. Try the included example
Before generating anything, rebuild the weather lesson using the footage and recordings already in the kit.
bash render.command exampleOpen the new exports/weather-example-…/final/ folder. Play video.mp4. Its captions and technical report are beside it. Each run creates a new folder, so previous exports stay intact.
Ready when: the weather example plays with Cristina’s voice, captions and response pauses. This step uses no Flow or ElevenLabs generation credits.
3. Plan one clear lesson
Choose one objective from the curriculum in inputs/. Note the unit, lesson and physical PDF pages. For your first new video, use a short question and answer, such as identifying an object or describing its color.
Create a folder for it. Replace p06-my-lesson with your own short name, using lowercase letters and hyphens:
bash render.command new p06-my-lessonOpen lessons/p06-my-lesson/lesson.json in a plain-text editor such as VS Code. Fill in the title, curriculum-supported objective, source references, exact question and answer, and the response text. Keep the JSON quotes, commas and Spanish accents.
The included template uses a question/answer pattern with repetition and two learner-response pauses. Start with short lines; this template supports a total of up to 30 seconds.
What do I change in lesson.json?
- title / objective / source
- The lesson name, learning aim and verified curriculum references. The included PDF path and hash identify Module 1.
- question.text / answer.text
- The exact words Globi will say. These also drive the captions.
- response_text
- The language shown during the learner’s turn.
- response_seconds
- Usually 4. Use at least 3 seconds.
- mouth_start / mouth_end / rest_start
- Fill these after generating the clips in Step 5.
- opening_focus
- Leave null for a steady wide shot. An optional camera setting is described below.
- production_notes
- Save the model names, settings, prompts and credits you actually used.
Ready when: you have one learning aim and two short, correct Spanish expressions.
4. Reuse a scene and add the lesson object


- Look in
assets/production/b2-v2/. Reuse a classroom, kitchen or courtyard scene suited to the lesson. For a matching lesson, keep the existing master. - For a new object, open Google Flow in its image creation/editing mode. Upload the closest scene master. Add the B2 character reference when the editor supports another reference image.
- Use the prompt below, replacing the bracketed object. For an entirely new setting, first create the empty background, then place Globi using the saved character reference.
- Save the final still as
scene.jpginside your new lesson folder. JPG is fine for a complete scene; if you use PNG, changemasterin lesson.json toscene.png.
Reusable scene-edit prompt
This is a new adaptable template. The collection page holds the saved prompts from the five completed lessons.
Edit the supplied scene master for one Spanish practice lesson. Preserve the same Globi identity, spherical teal body, map markings, large eyes, round brown glasses, integrated limbs, proportions, line work and illustrated shading. Preserve the source colors and the official design palette: #2F8B7D, #48786A, #4D2F22, #8EBBC7, #E05F3F.
Keep the existing room, furniture, light and camera angle. Replace only the lesson object with [ONE TARGET OBJECT]. Keep Globi fully visible on the left, facing the learner with relaxed arms and a friendly closed smile. Keep the target object clear on the right. Leave the lower 15 percent quiet for captions added locally. Landscape 16:9. No writing, captions, new characters, accessories or decorative effects. Produce one clean still image.The kit includes the official character sheet, the B2 reference, the three backgrounds and the saved scene masters. Reusing these is the main shortcut to a coherent series.
Ready when: one clean landscape image contains the same Globi and an obvious learning focus.
5. Animate two short performances
- In Flow, start a video from
scene.jpgas the first frame. Choose Omni Flash 1.2 if available, landscape 16:9, 8 seconds, 720p and one output. Save the actual model name if the options differ. - Use the motion prompt below with your question. Keep the camera steady; the final edit can handle a smooth opening zoom.
- Download the clip as
question.mp4in your lesson folder. Repeat from the same scene master for the answer and saveanswer.mp4. Downloading 720p is enough for this starter’s 720p output. - Watch each clip and enter three timestamps in lesson.json: when the mouth starts speaking, when it stops, and when Globi settles into the quiet listening pose. Use seconds, including decimals where useful.
Reusable motion prompt
Animate the uploaded lesson scene as one continuous eight-second illustrated shot. Use this exact image as the starting frame. Preserve Globi's appearance, colors, map markings, eyes, round brown glasses, limbs, proportions, object placement, background and lighting.
0–1 seconds: Globi looks warmly toward the learner and prepares one small [POINTING / PRESENTING / GREETING] gesture.
1–3 seconds: Globi visibly says exactly "[ONE SPANISH LINE]" in clear, gently paced Spanish. Show simple natural cartoon mouth shapes while speaking. Keep the glasses, eyes and map markings stable.
3–4 seconds: Finish the gesture and return to a comfortable closed smile.
4–8 seconds: Wait attentively for the learner, with subtle breathing and a natural blink. No more speech.
The generated voice is an articulation guide; Cristina's ElevenLabs recording will replace the soundtrack. Fixed camera, full body visible. No cuts, pans, zooms, added words, music, effects, writing or captions. Keep the background and lesson object stationary.How to enter the three timing marks
Open the clip in a player with a time display. Pause near each change. For example, a clip that speaks from 1.4 to 2.8 seconds and settles at 4 seconds would use:
"mouth_start": 1.4,
"mouth_end": 2.8,
"rest_start": 4.0Use what happens in your actual clip, rather than assuming the prompted timings were followed. The assembler uses these marks to match the mouth performance to the recording and to select quiet footage for learner pauses.
At the documented 720p rate, an eight-second Omni Flash 1.2 take is 24 credits. Two first attempts are 48 credits; retries add usage. Check the displayed cost before generating. Google’s current credit guide.
Ready when: both clips show visible speaking followed by a quiet pose, and their timing marks are filled in.
6. Add Cristina’s voice
In ElevenLabs, choose Cristina - Premium Spanish Female.
Voice ID: 1CeqBeXMOqCleeQjfYfO- Generate the question and answer separately, using the exact text in lesson.json. Eleven Multilingual v2 is a reasonable starting point if available.
- Try a few short takes and adjust speed, stability, similarity or style to suit the line. There is no single preset required for every lesson. Keep Cristina recognizable, clear, warm and easy to follow.
- Save your chosen files as
question.mp3andanswer.mp3in the lesson folder. MP3 at 44.1 kHz / 128 kbps is sufficient; the assembler normalizes the files locally. - Reuse an existing recording when the text already matches. Once a take works, keep the MP3 and note its settings in production_notes so future edits can reuse it.
The Flow soundtrack is replaced completely. Do not record the learner-response silence in ElevenLabs; the local edit creates it.
Ready when: you have two clear recordings that match the written Spanish exactly.
7. Assemble and finish
Your lesson folder should contain:
lesson.json
scene.jpg
question.mp4
answer.mp4
question.mp3
answer.mp3From Terminal in the starter folder, run:
bash render.command lesson lessons/p06-my-lesson/lesson.jsonThe script builds the soundtrack, matches the speaking sections at phrase level, adds captions and learner pauses, and exports a 720p MP4. It checks file hashes, timing, full video decode and silent response intervals.
Open the new exports/p06-my-lesson-…/final/video.mp4. Review the full video for Spanish, identity, composition and timing. Keep the final folder and your lesson folder together in the team’s production archive.
Add a smooth opening zoom
Use a focus point in lesson.json. Coordinates run from 0 to 1 across the image. This example starts on the right side and smoothly pulls back before the first line:
"opening_focus": {
"center": [0.72, 0.40],
"width": 0.50
}Keep the crop inside the image. Leave opening_focus as null for a wide opening. No new Flow clip is needed for this camera move.
If something needs adjusting
- “File not found”
- Check filenames and the lesson folder. Keep the kit together.
- “Fill … mouth_start …”
- Replace null with the actual seconds from Step 5.
- Line too long / over 30 seconds
- Use a shorter curriculum-aligned expression, or ask the production lead to adapt the saved edit. Speech is not cut off to force a fit.
- Mouth timing needs work
- Adjust the observed mouth timing marks and render again. This is phrase-level retiming, not phoneme-perfect lip sync.
- More characters or a different lesson structure
- The simple starter handles two short expressions. Use the existing production scripts and a custom edit for a three-line preference scene or a more complex interaction.
Finished when: the final MP4 plays cleanly with the right Spanish, clear captions and time for the learner to respond.
What to keep for the next lesson
Keep the chosen scene, prompts, original clips, MP3s, lesson.json and exported edit/report. Reuse the closest setting and recordings before generating anything new.
What is inside the starter kit?
- setup.command / render.command
- The two Mac entry points.
- scripts/starter.py
- Creates lesson folders and prepares the existing renderer’s configurations.
- scripts/render_smooth_production.py
- Camera moves, quiet-pose blends, captions, encoding and technical checks.
- src/globi/audio.py
- Imports MP3s into a timed soundtrack without changing their speech speed.
- assets/
- Reusable backgrounds, scene masters, character references, Cristina exports and the caption font.
- configs/production/ and runs/production-b2/
- The included weather example and its source media.
- templates/lesson-template.json
- The starting point for a new question/answer lesson.
- inputs/
- The curriculum used by the included example. Keep organizational material within the team’s shared kit.
The tested environment is a Mac with Python 3.12.14. Dependency versions are pinned in requirements.txt. First-time setup needs internet; assembly runs locally afterward. Fresh Flow/image generations can differ, while saved inputs and edit settings preserve the production recipe.