Tip Video Generation Rules (Locked Baseline)
This is the locked profile that matches the approved output style (footer subtitles, slower narration, smooth transitions). Use this as the default for future videos unless explicitly overridden.
1) Scope
- Generate a single vertical lesson video per tip.
- Keep final duration <= 45 seconds.
- Use one canonical output file per tip.
2) Visual Rules (Sora)
- Style: 2D cartoon illustration, vivid blue/purple neon palette.
- Character: glossy cel-shaded blue robot mascot, same identity each time.
- Background: dark gradient with subtle circuit-board texture.
- Transitions: slower and smoother (avoid abrupt cuts).
- On-screen text: disabled in generated visuals (visual storytelling only).
- No logos or trademarked UI in generated scenes.
3) Audio Rules
- Narration voice:
en-US-GuyNeural. - Narration pace target: around
-6%(adjust if needed, but keep clear and calm). - Background music source:
artifacts/sora/backsong.mp3. - Keep music ducked under narration.
- CTA line:
Visit Automiq for more Power Platform tips. - CTA timing: start when white end-card/logo appears.
4) Subtitle Rules
- Burn subtitles into the final export.
- Style: white text + black outline, bottom-centered.
- Current preferred subtitle footprint:
FontSize=12MarginV=45- Keep subtitles close to footer so they do not interfere with core visuals.
5) Export Compatibility Rules
- Video codec: H.264 High,
yuv420p. - Audio codec: AAC stereo, 48kHz.
- MP4 with
+faststartfor broad playback compatibility.
6) First-Tip-Only Generation Command
- First tip file in this repo:
_posts/2026-03-03-generative-answers-handle-unknown-questions.md - Generate only this tip:
$env:AZURE_OPENAI_ENDPOINT='https://automiq-foundry.cognitiveservices.azure.com/'
$env:AZURE_OPENAI_API_KEY = az cognitiveservices account keys list -n automiq-foundry -g rg-Automiq --query key1 -o tsv
$env:AZURE_OPENAI_DEPLOYMENT_NAME='sora-2'
c:/Dev/DidYouKnow/.venv/Scripts/python.exe tools/video_preview/generate_tip_video_sora.py --post-file _posts/2026-03-03-generative-answers-handle-unknown-questions.md --output-dir artifacts/sora/all-tips --seconds 12 --timeout-seconds 1800
7) Artifact Cleanup Baseline
Keep only these in artifacts/sora for a clean working state:
backsong.mp3mascot-as-is-reference-720x1280.png- canonical final video + its
-audio-lock.json teams-tip-slow-subtitles.srt- current single-tip outputs inside
artifacts/sora/all-tips
Remove old temp files, scratch scripts, and extra test renders after each run.