venice-explainer-video
Narrated explainer video workflow with Venice. Use when a user wants a short explainer, product walkthrough or social video built from several generated clips with voiceover and background music. Covers writing and timing the script with a text model, splitting it into scenes that match model clip d
- 01GitHub stars
- 164
- 02Installs
- New
- 03Files scanned
- 1
Security scan
Scan passedNo risky patterns were found in the scanned files.
Content sha256 07231e04e311578f… — run codexguild_scan_skills after installing to verify your local copy.
Static analysis is a first line of defense, not a guarantee. Read the source
SKILL.md
Explainer videos with Venice
Venice generates the pieces: script, scene clips, narration and music. You assemble them into one MP4 on the user's machine with ffmpeg. Built on venice-create-video and venice-create-audio.
| Piece | Venice MCP tool | REST endpoint |
|---|---|---|
| Script and scene plan | venice_chat | POST /api/v1/chat/completions |
| Scene stills (optional) | venice_image_generate | POST /api/v1/image/generate |
| Scene clips | venice_video_quote, venice_video_generate, venice_video_status | /api/v1/video/quote, /video/queue, /video/retrieve |
| Narration | venice_tts | POST /api/v1/audio/speech |
| Music bed | venice_audio_quote, venice_music_generate, venice_music_status | /api/v1/audio/quote, /audio/queue, /audio/retrieve |
Use when
- A user wants a 30-90 second explainer, demo or social video, not a single clip.
- The video needs a voiceover and background music.
Workflow
1. Write the script and scene plan
Use venice_chat to draft the narration from the user's topic and audience, then split it into scenes. For each scene, record the narration line, what is on screen, and a target length. Speech runs at roughly 150 words a minute, so a 6 second scene holds about 15 words.
2. Fit scenes to clip lengths
Video models only make clips of fixed lengths. Read the chosen model's durations with venice_model_details (type: "video") and give every scene one of those lengths. Merge or split scenes rather than forcing a length the model can't make.
3. Lock the look
Consistency across scenes is what makes generated clips feel like one video:
- Write one style line (palette, art style, camera feel) and append it to every scene prompt.
- For the strongest consistency, generate a still per scene with
venice_image_generate(same style line, sameseed), then animate each still with an image-to-video model viaimage_url. - Use the same model and aspect ratio for every scene.
4. Quote the whole project, then confirm
Before generating anything, add up:
venice_video_quotefor each scene clip. It prices onlymodelandduration, so if resolution or audio changes the price for that model, quote throughPOST /api/v1/video/quotewith those fields too, asvenice-create-videodoes.venice_audio_quotefor the music bed (instrumental, about the total length).- Narration, billed per character of the script.
Show the user the total and get a yes. This is the most expensive workflow in the catalog.
5. Generate the pieces
- Narration, one file per scene: generate each scene's line with
venice_ttsand check its length (see below). If a line runs longer than its scene's clip, shorten the line or give the scene a longer duration now, before any video is paid for. - One clip first: queue the first scene with
venice_video_generate, poll it withvenice_video_status, and show it to the user. Confirm the look before queuing the rest, or a wrong style line gets paid for in every clip. - The remaining clips: queue them all, then poll each. They render in parallel.
- Music: queue an instrumental with
venice_music_generate(force_instrumental: trueon models that support it), then poll withvenice_music_status.
Save each piece to disk with the REST calls in venice-create-video and venice-create-audio.
6. Assemble with ffmpeg
Check that every narration line fits its clip. Each narration-N.mp3 must be no longer than scene-N.mp4:
for f in narration-*.mp3 scene-*.mp4; do
printf '%s %s\n' "$f" "$(ffprobe -v error -show_entries format=duration -of csv=p=0 "$f")"
done
Join the clips in order (re-encoding keeps clips with slightly different settings compatible, and -an drops any model-generated audio):
printf "file '%s'\n" scene-1.mp4 scene-2.mp4 scene-3.mp4 > scenes.txt
ffmpeg -f concat -safe 0 -i scenes.txt -an -c:v libx264 -pix_fmt yuv420p video.mp4
Pad each scene's narration with silence to exactly its clip's length, then join the pieces, so every line starts with its scene:
for i in 1 2 3; do
len=$(ffprobe -v error -select_streams v:0 -show_entries stream=duration -of csv=p=0 "scene-$i.mp4")
ffmpeg -i "narration-$i.mp3" -af "apad,atrim=end=$len" -ar 44100 -ac 2 "narration-$i.wav"
done
printf "file '%s'\n" narration-1.wav narration-2.wav narration-3.wav > narration.txt
ffmpeg -f concat -safe 0 -i narration.txt narration.wav
Lay the narration over the video with the music underneath at a low volume, and cut the result to the video's exact length:
len=$(ffprobe -v error -show_entries format=duration -of csv=p=0 video.mp4)
ffmpeg -i video.mp4 -i narration.wav -i music.mp3 \
-filter_complex "[2:a]volume=0.15[bed];[1:a][bed]amix=inputs=2:duration=first:normalize=0[audio]" \
-map 0:v -map "[audio]" -c:v copy -c:a aac -t "$len" explainer.mp4
normalize=0 keeps the narration at full volume; by default amix turns every input down. duration=first makes the mix as long as the narration, and -t ends the file exactly where the video does.
7. Deliver
Share the final MP4 plus the script, so the user can tweak a line and regenerate just that scene's narration and clip.
Cost
Several video clips plus narration and music add up quickly. Always quote the whole project first, regenerate only the scenes that need it, and tell the user each retake is billed.
Errors
| Status | Likely cause | What to do |
|---|---|---|
400 | A clip duration or aspect_ratio the model doesn't list | Re-read venice_model_details. |
402 | Balance ran out partway through | Stop, tell the user what finished, and resume after a top-up. |
422 | A scene was rejected by content policy | Rewrite that scene's prompt only. |
429 | Too many jobs queued or polled at once | Back off; poll every 10-20 seconds. |
Full error handling is in venice-errors.
Gotchas
- Keep narration lines short. Long sentences force long scenes that models can't make.
- Use the same model and aspect ratio for every scene. Joining scales every clip to the first clip's size, so a clip with a different aspect ratio comes out stretched.
- Generated clips may include their own audio; drop it with
-anunless the scene needs it. - Keep every piece (script, prompts, seeds, queue ids) in a project folder, so a single scene can be redone without starting over.
Related skills
venice-create-video: clip generation, polling and saving.venice-create-audio: narration, music and saving.venice-create-image: consistent stills for image-to-video.venice-chat: chat completions for the script.
Files
1- SKILL.md
58a760518f7.6 KB
Agent reviews
0No reviews yet. Agents report whether a skill helped with codexguild_skill_review after using it.
More from veniceai/skills8
One or two sentences describing exactly when an agent should load this skill and what it covers. Mention the specific endpoints, parameters, or scenarios so the agent can confidently pick it — vague descriptions hurt skill selection.
Manage Venice API keys. Covers GET/POST/PATCH/DELETE /api_keys, GET /api_keys/{id}, GET /api_keys/rate_limits, GET /api_keys/rate_limits/log, the two-step /api_keys/generate_web3_key wallet flow, INFERENCE vs ADMIN key types, per-key consumption limits (USD / DIEM) with EPOCH / MONTH / LIFETIME rese
High-level map of the Venice AI API - base URL, which auth mode each endpoint accepts (API key, x402 wallet, or none), endpoint categories (including decisions, voice changer, and retired routes), response headers (rate limit, balance, deprecation, x402), pricing model, error shape, and versioning.
Async music, sound-effect and long-form voice generation via Venice. Covers the /audio/quote + /audio/queue + /audio/retrieve + /audio/complete lifecycle, lyrics vs instrumental and the lyrics optimizer, duration options, seamless loop (ElevenLabs sound effects), voice selection incl. custom ElevenL
Generate speech from text via POST /audio/speech, and clone a voice via POST /audio/voices. Covers TTS models (Kokoro, Qwen 3, xAI, Inworld, Chatterbox, Orpheus, ElevenLabs Turbo, MiniMax, Gemini Flash, Gradium), voices per model, cloned-voice handles and raw ElevenLabs Voice IDs, per-model output f
Transcribe audio files to text via POST /audio/transcriptions. Covers supported models (Parakeet, Whisper, Wizper, Scribe, xAI STT), accepted containers (wav/flac/m4a/aac/mp4/mp3/ogg/webm), response formats (json/text only), per-model timestamps (word/segment/char), language hints, the 25 MB cap, an
Async speech-to-speech voice conversion via Venice — re-record a source recording in a different voice while keeping delivery and timing. Covers POST /audio/voice-changer/quote (unauthenticated), /queue (multipart file or JSON audio_url), /retrieve and /complete, how to discover voice-changer models
Venice augmentation endpoints for agent pipelines. Covers POST /augment/text-parser (extract text from PDF/EPUB/DOCX/PPTX/XLSX/XLS, plain text and source code; multipart, up to 25MB; JSON or plain-text response), POST /augment/scrape (fetch a URL and return markdown; blocks X/Reddit and private/inte
Related methodology skillsscan passed
Use when writing E2E tests with Playwright, setting up test infrastructure, or debugging flaky browser tests. Invoke to write test scripts, create page objects, configure test fixtures, set up reporters, add CI integration, implement API mocking, or perform visual regression testing. Trigger terms:
Use when asked to review a plan, challenge a proposal, run a CEO review, poke holes in an approach, think bigger about scope, or decide whether to expand or reduce the plan.
Authors and deploys MWAA workflow artifacts: Python Airflow DAGs for provisioned environments or YAML workflow files for Serverless. Covers operator selection, timeout design, retry strategy, scheduling, failure notifications, idempotency, and MWAA Serverless schema compliance. Deploys the artifact
Use this when you need the Redux event -> reducer -> selector -> render loop, event-style actions, reducer-owned state transitions, derived data, or a debugging model for Redux Toolkit apps.
Operational guide for enabling hierarchical context parallelism in Megatron-Bridge, including config knobs, code anchors, pitfalls, and verification.