Skip to main content

A Grok Bot skill for end-to-end short-drama production; image stage needs Kie.ai or Flow

GitHubGitHubAirpyk-982026-11-25

Content and writingLimitsSource read in fullRead first
GitHubGitHubAirpyk-982026-11-25

Open original

Overview

A creator who wants a finished vertical or widescreen short drama from one story pitch installs this skill on Grok Bot, with Kie.ai or Google Flow supplying the 1K storyboard images, Grok Bot's inbuilt video generator rendering each 10-second beat, and local Python and FFmpeg scripts stitching the clips.

Workflow

  1. What it is: an end-to-end cinema and short-drama production skill for Grok Bot. The repository ships one Grok Bot skill (epic-cinema, defined in SKILL.md) plus reference files and three standalone Python scripts, so Grok Bot can take a story pitch from intake to a finished film: a locked story bible, 10-second beats of exactly 4 camera cuts, continuity character sheets and unsliced 2×2 storyboard grids, sequential video generation, and FFmpeg stitching. The README calls it an Agent Skill for Grok Bot and any autonomous AI agent, aimed at DramaBox-style vertical short dramas and multi-hour feature films. There is no x.ai/bot/... template link; the reader gives Grok Bot the SKILL.md file or points the bot at the repository.
  2. Grok Bot parts used: one skill driving planning, the approval gate and per-beat video prompts. The repo relies on a single Grok Bot skill named epic-cinema (SKILL.md): the user installs it as the bot's production skill, pitches a story, and answers a 4-question intake; the skill drafts bible.json and beats.json, stops at a Hard Approval Gate, and compiles the exact video prompt for each beat. Video generation runs on Grok Bot's inbuilt video generator, which SKILL.md names Grok Imagine Video, invoked beat-by-beat with each unsliced 2×2 grid attached as @image1. Not part of Grok Bot: 1K storyboard images come from the Kie.ai API (gpt-image-2-5-sunburst, 6 credits per image) or from the user's Google Flow account; three scripts (scripts/generate_assets_kie.py, scripts/compile_grok_prompts.py, scripts/stitch_movie.py) run locally with FFmpeg; SKILL.md also lists Kie.ai video models (bytedance/seedance-2-mini, grok-imagine/image-to-video, minimax-h3/reference-to-video) as fallbacks. No Routines, connectors, Pages or Vault appear anywhere in the repo.
  3. You need: Grok Bot with its video generator, a paid image source, and local Python. Image stage: either a Kie.ai API key (exported as KIE_API_KEY) with credits — the skill prices each 1K image at 6 credits — or a Google Flow account for the browser workflow. Scripts: Python plus FFmpeg for stitching; the stitcher probes durations through ffmpeg itself, so ffprobe is not required and imageio-ffmpeg static binaries work. Which Grok Bot plan or quota the inbuilt video generator needs: Not stated in the source.
  4. Install: give the skill to Grok Bot, then run the three scripts in order. Following the README's Quick Start:
    • Step 1: Give SKILL.md to Grok Bot as its production skill, or point Grok Bot at https://github.com/Airpyk-98/epic-cinema.
    • Step 2: Pitch a story idea. Grok Bot runs the Step 0 intake (aspect ratio, runtime, single vs. episodic, Kie.ai API vs. Google Flow), drafts bible.json and 4-cut 10-second beats in 6-beat chapters, and stops at the Hard Approval Gate with an estimated credit and asset count.
    • Step 3: After replying "Go ahead", export the key and generate the image assets: export KIE_API_KEY="your_kie_key", then python scripts/generate_assets_kie.py --bible bible.json --beats beats.json --aspect-ratio 9:16.
    • Step 4: Compile the sequential video prompts with python scripts/compile_grok_prompts.py --bible bible.json --beats beats.json --aspect-ratio 9:16, or let Grok Bot render each beat directly with its inbuilt generator, attaching each unsliced 2×2 grid as @image1.
    • Step 5: Save the clips in order as output/clips/beat_001.mp4, beat_002.mp4 and so on, and stitch them: python scripts/stitch_movie.py --clips-dir output/clips --output output/final_drama.mp4 --aspect-ratio 9:16 --resolution 720p.

    The exact prompt texts live in references/prompt_templates.md (Stages A–D) and are filled from bible.json and beats.json; references/cinema_rules.md and references/schemas.md hold the drama rules and the JSON shapes.

  5. After install: chat-driven production with a hard stop before spending.
    • Trigger: the user asks to plan, storyboard, generate or stitch a short drama, episodic series or film.
    • Grok Bot asks the 4 intake questions when unanswered, then drafts the story bible (characters with locked appearance and voice, outfits, environments, props, and a visual style locked to hyperrealistic live-action by default) and the beats — at most 6 beats per chat turn for films longer than 60 seconds, with a rolling series memory carried across episodes.
    • It stops at the Hard Approval Gate: cast count, outfit sheets, total beats, runtime and the estimated Kie.ai credit cost, and waits for an explicit "Go ahead".
    • After approval, assets are generated in three stages (base character sheets, per-outfit sheets, unsliced 2×2 grids) with every generated URL checkpointed so reruns skip finished sheets; then one 10-second clip is rendered per beat by Grok Bot's inbuilt video generator.
    • Final assembly sorts the clips, normalizes them to one aspect ratio and resolution, 24fps, 48kHz stereo, -14 LUFS loudness, and writes output/final_drama.mp4.
  6. Did the author run it: The repository has no run records from the author. There are no history files, event logs, result tables or screenshots — only the README, SKILL.md, the reference files and the three scripts. What the records do not show: whether the full pipeline (Kie.ai 1K images, Grok Bot video generation, FFmpeg stitching) was ever run end-to-end, and whether the continuity, lip-sync and eyeline locks actually hold in generated clips. The README's Quick Start steps are user instructions, not results.

Key points and results

  • Maturity: 1 day old at fetch time with minimal signals. At fetch time on 2026-11-26 the repository had been created on 2026-11-25 (last push the same day), with 2 commits, 0 stars, 0 forks, 0 open issues and pull requests, and no license. The README does not label it a hackathon or demo project.
  • Permissions and boundaries: one hard gate before any spending. No image or video is generated until the user replies "Go ahead" to a summary that includes the estimated Kie.ai credit cost, and the skill forbids generating anything while still in planning. Generated image URLs are checkpointed locally and reruns skip them, so credits are not re-spent. The repo states no boundaries about sending, buying, posting or contacting third parties; the external services involved are the Kie.ai API and Google Flow.
  • Known limits: paid images, PG-13 staging, capped fallbacks. Every sheet or storyboard image costs 6 Kie.ai credits at 1K resolution, and a 2-hour film needs 720 beats (each with its own 2×2 grid), so credit cost scales directly with runtime. Compulsory Law 1 restricts staging to PG-13 — no sexually suggestive blocking, profanity, explicit gore or weapons pointed at heads — because the ChatGPT Image 2.5 and video safety filters reject them. The skill's own notes say Grok's video generator binds spoken dialogue to whichever face is visible and that native-audio models default to cheerful or flat voices, which is why the lip-sync, eyeline and vocal-mood locks exist. Each 2×2 grid accepts at most 5 character reference sheets, and the fallback video models are capped at 480p (bytedance/seedance-2-mini) or 768p (minimax-h3/reference-to-video).
  • Worth borrowing: three design ideas that transfer to other Grok Bots.
    • The approval gate: compute and show the estimated credit and asset count before any paid generation, then wait for an explicit "Go ahead" (SKILL.md, Phase 3).
    • Rolling series memory: a compact ledger of premise_and_tone, episode_recaps, active_plot_threads and user_directives, plus a rule to never rename existing character or outfit IDs, keeps continuity across long chats and episodes (SKILL.md, Phase 1.1).
    • Checkpointed assets: skip any character or outfit sheet whose URL already exists, so a failed rerun resumes instead of regenerating paid images (SKILL.md, Phase 4; scripts/generate_assets_kie.py).

Source

Platform
GitHub
Author
Airpyk-98
Published
Categories
Content and writing, Limits

What this evidence label means

Source read in full

We read the source (post, article or transcript). That only means the original was read. It does not mean this site reproduced the author's results.

Read the editorial and evidence policy

Other cases in this scenario

This unofficial community project is independent of xAI. xAI has neither approved nor endorsed it. No sign-up. The methods and figures come from the original authors.