一键导入
demo-audio-producer
Create Onto2AI product demo narration and OpenAI cedar audio files aligned to demo manifests.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create Onto2AI product demo narration and OpenAI cedar audio files aligned to demo manifests.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate Onto2AI demo manifests, presentation-style review videos, and future screen-recording demo skeletons.
Specialized skill for managing, enriching, and consolidating the Neo4j staging database.
Instructions for identifying ontology enumeration classes and rendering them in generated application models.
Rules for creating OWL ontologies strictly following the FIBO naming and documentation conventions.
Instructions for loading the Financial Industry Business Ontology (FIBO) into Neo4j.
Instructions for maintaining, running, and extending the Onto2AI MCP Server.
| name | Demo Audio Producer |
| description | Create Onto2AI product demo narration and OpenAI cedar audio files aligned to demo manifests. |
Use this skill when the user asks to create or update demo walkthrough content, voiceover scripts, narrated audio files, or demo audio for the standard Onto2AI introduction workflow.
demo/.demo/video/<demo_name>/<demo_name>_demo.json as the single source of truth for narration text, timing, audio path, and final video path.demo/introduction/generate_introduction_video.py because it builds narration text, audio, deck frames, and final review video from one manifest.demo/introduction/introduction-script.md - long-form source script for the standard introduction demo.demo/introduction/generate_introduction_video.py - canonical generator for the introduction video.demo/audio/*.mp3 - generated narration files.demo/video/<demo_name>/<demo_name>_demo.json - single source of truth manifest.demo/video/<demo_name>/*_narration.txt - manifest-derived narration text.demo/video/review/*.mp4 - rendered review videos.demo/introduction/introduction-script.md
Purpose: story source for the standard introduction demo.
When to use: revise the demo message, structure, or voiceover.demo/introduction/generate_introduction_video.py
Purpose: repeatable generator for manifest, narration text, audio, deck render, and final MP4.
When to use: regenerate or refresh the introduction demo.demo/audio/<demo>.mp3
Purpose: narration output for one demo.
When to use: attach to screen recording or review voice quality.demo/video/<demo>/<demo>_demo.json
Purpose: canonical per-demo manifest (narrative text + timing + scenes + TTS config).
When to use: every edit; avoid parallel duplicate files.demo/video/review/*.mp4
Purpose: synced preview/final review outputs.
When to use: approval rounds and iteration.narrative_lines[].text in the manifest.demo/audio/.demo/; write temporary frames and segments to the system temp directory.Reuse the existing OpenAI cedar narration:
python3 demo/introduction/generate_introduction_video.py
Refresh the OpenAI cedar narration and rebuild the review video:
python3 demo/introduction/generate_introduction_video.py --refresh-audio
Use when iterating one demo's audio only.
# derive narration from JSON manifest
jq -r '.narrative_lines | sort_by(.start_ms) | .[].text' \
demo/video/introduction/introduction_demo.json \
> demo/video/introduction/introduction_narration.txt
python /Users/weizhang/.codex/skills/speech/scripts/text_to_speech.py speak \
--model gpt-4o-mini-tts-2025-12-15 \
--input-file demo/video/introduction/introduction_narration.txt \
--voice cedar \
--response-format mp3 \
--instructions "Voice Affect: Warm and composed. Tone: Professional and clear. Pacing: Steady." \
--out demo/audio/onto2ai_introduction_cedar.mp3 \
--force
Use this only when a future demo has a maintained JSONL batch file:
python /Users/weizhang/.codex/skills/speech/scripts/text_to_speech.py speak-batch \
--input demo/<demo_name>_tts_jobs.jsonl \
--out-dir demo/audio \
--model gpt-4o-mini-tts-2025-12-15 \
--voice cedar \
--response-format mp3 \
--instructions "Voice Affect: Warm and composed. Tone: Professional and friendly. Pacing: Steady and clear." \
--rpm 50 \
--force
onto2ai_introduction_cedar.mp3 or <demo_name>_cedar.mp3.*_demo.json as the single source of truth for both text and timing.gpt-4o-mini-tts-2025-12-15, voice cedar, and MP3 output unless the user explicitly asks otherwise.To attach narration to a screen recording:
ffmpeg -y \
-i demo/video/<demo_name>/<demo_name>.mov \
-i demo/audio/<demo_name>_cedar.mp3 \
-filter_complex "[1:a]apad[aout]" \
-map 0:v -map "[aout]" \
-c:v copy -c:a aac -b:a 192k -shortest \
demo/video/review/<demo_name>_synced_with_voice.mp4
Optional timing offset (example +3 seconds):
ffmpeg -y \
-i demo/video/<demo_name>/<demo_name>.mov \
-i demo/audio/<demo_name>_cedar.mp3 \
-filter_complex "[1:a]adelay=3000|3000,apad[aout]" \
-map 0:v -map "[aout]" \
-c:v copy -c:a aac -b:a 192k -shortest \
demo/video/review/<demo_name>_synced_with_voice_offset3s.mp4
OPENAI_API_KEY must be set for live audio generation.