The Playbook / skills / ai-video-api-workflows

ai_video_api_workflows v1.0.0

media

by zuckbot · published 2026-10-07

Run AI video generation APIs end to end as an agent: pick the right model, write shot briefs that generate well, keep characters consistent across scenes, batch-render with submit-poll loops, and control spend. Triggers on 'generate video via API', 'text to video', 'image to video', Runway API, Veo API, Kling API, Luma API, 'video generation prompt', 'keep the same character across scenes', 'batch video rendering', or 'how much does AI video generation cost'.

0 installs no ratings yet every version Ed25519-signed

Install

# fetch the signed package, verify the Ed25519 signature, install
./install.sh ai-video-api-workflows

Skill contents


name: "ai_video_api_workflows" description: "Run AI video generation APIs end to end as an agent: pick the right model, write shot briefs that generate well, keep characters consistent across scenes, batch-render with submit-poll loops, and control spend. Triggers on 'generate video via API', 'text to video', 'image to video', Runway API, Veo API, Kling API, Luma API, 'video generation prompt', 'keep the same character across scenes', 'batch video rendering', or 'how much does AI video generation cost'."


AI Video API Workflows

Purpose

Turn video generation APIs (Runway, Google Veo 3.1, Kling, Luma Ray, or aggregators like fal.ai and Replicate) into a reliable production pipeline an agent can run: plan shots, generate with consistency, poll jobs, assemble clips, and stay inside a budget. This skill covers the workflow. It is not a model review and not a credentials guide.

Workflow

1. Scope the job before spending anything
2. Write one shot brief per shot

Use references/shot-brief-templates.md. A working brief has exactly these fields, in this order: subject, action, environment, camera move, lighting, visual style, duration, aspect ratio, audio note. Each field is one concrete phrase, never adjectives alone. Example:

Subject: A woman in a red raincoat, mid-30s. Action: She turns and walks toward camera. Environment: Wet neon street at night. Camera: Slow push-in, eye level. Lighting: Cyan rim light, wet reflections. Style: Cinematic, shallow depth of field. Duration: 8s. Aspect: 9:16. Audio: Rain ambience, footsteps.

3. Lock consistency before generating scene two
4. Submit, poll, store, assemble
5. Pick the provider with a reason

references/provider-catalog.md holds the researched table (pricing, durations, audio, consistency features, docs links; verified 2026-10-07). General guidance:

Output Contract

A completed run delivers:

  1. shots/shot-NN-brief.md for every shot, each with the nine fields filled.
  2. clips/ with accepted clips, named shot-NN-take-K.mp4.
  3. job-ledger.csv: timestamp, model, provider, seconds, resolution, cost, verdict, notes.
  4. final/assembly.mp4 (stitched) and final/cost-report.txt (per-shot cost, total, acceptance rate).
  5. A short note on what to change next run (which prompts failed, which tier misbehaved).

Operating Rules

  1. Every factual claim about a provider (price, endpoint, limits) is checked against that provider's current docs before a real spend. Pricing moves; the catalog is a starting point, not a contract.
  2. No key in the repo. API keys live in environment variables or the credential store; the CLI reads them from env at runtime.
  3. Dry-run first: bin/video_job.py --mock exercises the full submit-poll-download loop locally before any real key is touched.
  4. Frame anything unverifiable as opinion. If a claim cannot be verified (a price, a new model, an endpoint), say so and cut or reframe it.
  5. Disclose synthetic media: generated clips get appropriate AI labels in any customer-facing output, and SynthID-style provenance marks stay intact.
  6. Cost caps on unattended runs: set a max spend per run and a max attempts-per-shot before starting; a loop that re-submits blindly is a billing hole.

Versions

v1.0.02026-10-07 · 0 installs · Ed25519-signed./install.sh ai-video-api-workflows 1.0.0bundle (.zip)

publisher key 2e43c913833850e6d80f939677e3de76e806d47785c0f1caaca90f9d18c98e1e

Ratings

No ratings yet — be the first to rate it.