ai-video-generation-orchestrator
Skill0 starsChanged 46 days agoMITView on GitHub
Runway textToVideo imageToVideo task polling waitForTaskOutput
In this repository146 other files it gives its agents.
- accessibility-compliance-enforcerSkill
- ai-anthropic-api-specialistSkill
- ai-anthropic-claude-runtime-env-guruSkill
- ai-avatar-presenter-specialistSkill
- ai-aws-bedrock-agentcore-guruSkill
- ai-aws-bedrock-agents-guruSkill
- ai-aws-bedrock-specialistSkill
- ai-aws-sagemaker-specialistSkill
- ai-context-masterSkill
- ai-llm-datasets-specialistSkill
- ai-powered-personalization-engineSkill
- ai-video-editor-postproduction-guruSkill
- ai-voice-audio-production-guruSkill
- ai-voice-dubbing-orchestratorSkill
- android-ndk-coderSkill
- apac-market-specialistSkill
- app-store-optimization-specialistSkill
- aptos-react-next-wallet-integrationSkill
- aptos-ts-sdk-coreSkill
- authjs-specialistSkill
- aws-console-cli-agentSkill
- aws-cost-budgets-specialistSkill
- aws-ec2-lambda-s3-specialistSkill
- aws-eks-specialistSkill
- aws-iam-guruSkill
- base-erc4337-paymaster-sponsorshipSkill
- base-react-next-wallet-integrationSkill
- business-viral-adoption-acceleratorSkill
- ci-cd-pipeline-specialistSkill
- code-apple-pwa-ios-16-guruSkill
- codebase-memory-mcpSkill
- competitive-intelligence-analystSkill
- competitive-intelligence-specialistSkill
- crisis-communication-reputation-managerSkill
- cross-border-legal-compliance-specialistSkill
- cursor-agents-orchestration-guruSkill
- cursor-hooks-automation-guruSkill
- cursor-installer-engineerSkill
- cursor-marketplace-publisher-guruSkill
- cursor-mcp-plugin-integration-specialistSkill
- cursor-plugin-architect-guruSkill
- cursor-sdk-automation-guruSkill
- cursor-skills-rules-author-guruSkill
- cybersecurity-governance-specialistSkill
- dagi-general-expertSkill
- developer-experience-architectSkill
- devops-aptos-gas-station-opsSkill
- devops-auto-repair-shop-crm-guruSkill
- devops-base-paymaster-opsSkill
- devops-ffmpeg-live-transmux-hls-packaging-guruSkill
- devops-hetzner-api-specialistSkill
- devops-k8s-dns-cluster-guruSkill
- devops-k8s-forgejo-guruSkill
- devops-k8s-guruSkill
- devops-k8s-local-storage-guruSkill
- devops-k8s-mail-addons-guruSkill
- devops-k8s-nginx-guruSkill
- devops-k8s-rook-ceph-guruSkill
- devops-k8s-tailscale-tunnelSkill
- devops-k8s-valero-backupSkill
- The first 60 shown.
The file
Files
AI Video Generation Orchestrator (NODUS)
Summary
Treat RingdomVideoScriptBundle from the scriptwriter lens as immutable input: orchestration adds job_id, idempotency_key, provider payloads, and artifact URIs only. Route text_to_video to cinematic B-roll when diagram_type is none and negatives forbid UI text; never send long code listings to T2V—use diagram_type remotion_comp or screen_capture for jq, JSON schema, and terminal truth. Merge production_brief.brand.reference_image_uri with scene.reference_image_uri by preferring scene override then brief; concatenate b_roll_negative_prompt with brand.negative_prompt_global. Enforce cost caps per scene and per script via budget_usd_max on VideoGenerationJob; on overrun downgrade model (e.g. gen4.5→gen4_turbo) or shorten segment_seconds toward provider max. Idempotency: same idempotency_key must no-op duplicate charges where providers support it—else dedupe in your store. Poll or webhook until SUCCEEDED or terminal FAILED; persist attempts and last_error for LegioX dashboards. Concat with FFmpeg concat demuxer after normalizing fps and SAR; if TTS duration exceeds video, extend last frame or loop subtle B-roll rather than accelerating speech. Anti-patterns: redefining script_json_schema; trusting generative video for readable IDE fonts; skipping loudness pass on mixed voice+music; ignoring 429 backoff tables.
Instructions
- Pattern: scene.diagram_type in mermaid|svg|remotion_comp|screen_capture → skip T2V for that scene; render truth locally → MP4.
- Pattern: idempotency_key = sha256(script_id + scene_id + provider + model + normalized_payload) → dedupe jobs across worker restarts.
- Pattern: negative_prompt_effective = join(global, scene.b_roll_negative_prompt, "no readable text, no subtitles burned in") for gen B-roll.
- Pattern: reference_image_effective = scene.reference_image_uri ?? production_brief.brand.reference_image_uri → I2V anchor.
- Pattern: on 429 → exponential backoff with jitter cap 120s; rotate to fallback_provider row after N tries.
- Pattern: concat only after ffprobe confirms uniform fps or fps filter applied per clip.
- Pattern: voice longer than video → tpad=clone or apad + video freeze last frame; never drop narration.
- Pattern: manifest.json lists scene_order, path, duration_seconds_measured, provider—single source for FFmpeg and audit.
- Pattern: budget exceeded → shorten duration toward provider.min_seconds or swap model per cost_latency_budget_router.
- Pattern: Blender MCP only when scene metadata requests 3D explicit brief—never default for explainers.
Deeper fields
jq -r '.mission, .expertise, .keywords' "mcp/AI-LEGIOX/legiox-truth-lens/ai-video-generation-orchestrator.nodus.json"
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

