video-to-screenplay for Openclaw

A two-stage Openclaw Skills pipeline that turns audio, video, or transcripts into original screenplays and Fountain files.

hyldmh
v1.0.0
Aug 1, 2026
0
424
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install video-to-screenplay

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install video-to-screenplay using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is video-to-screenplay?

video-to-screenplay is an Openclaw Skills workflow for transforming spoken content into structured, original screenplay output. It can start from an existing transcript or auto-transcribe audio and video with faster-whisper, then use an LLM to extract story DNA such as themes, characters, conflicts, and motifs.

The skill is designed for creators and developers who need a reproducible path from raw media to screenplay-ready assets. It produces both human-readable and screenwriting-tool-friendly outputs, making Openclaw Skills useful for story development, adaptation, and rapid script drafting across multiple LLM providers and CPU/GPU environments.

video-to-screenplay Use Cases

  • Convert podcasts, interviews, narration, or video dialogue into an original screenplay.
  • Turn an existing SRT transcript into story-driven script format.
  • Extract story DNA from spoken content before writing a screenplay.
  • Generate Fountain format files for import into screenwriting software.
  • Draft genre-specific scripts with configurable target length and provider selection.
  • Run transcription on CPU or accelerate it with GPU settings.
  • Use Openclaw Skills when you need a repeatable transcript-to-screenplay pipeline rather than a simple summary.

How video-to-screenplay Works

  1. Provide source input: Supply an existing SRT transcript or point the skill at an audio/video file for automatic transcription.
  2. Optional transcription step: If media is provided, faster-whisper converts it into transcript text first.
  3. Extract story DNA: The transcript is sent to an LLM to identify narrative structure, including themes, characters, conflicts, and motifs.
  4. Generate screenplay: The story DNA is expanded into an original screenplay with the requested genre and target duration.
  5. Export deliverables: The workflow writes both screenplay.md and screenplay.fountain, along with supporting artifacts for review and iteration.
  6. Tune the provider/runtime: Choose an LLM provider and, if needed, switch transcription to CPU or CUDA for performance optimization.

video-to-screenplay Setup

  1. Install transcription dependencies:
pip install faster-whisper
  1. Add one supported LLM API key to openclaw.json for your chosen provider. Supported providers include deepseek, kimi, zhipu, longcat, google, and agnes.

  2. Run the script from the repository root or configured scripts directory:

python scripts/video_to_screenplay.py --srt input.srt --out-dir ./output
  1. For audio or video input, allow the tool to transcribe automatically:
python scripts/video_to_screenplay.py --audio input.mp3 --out-dir ./output
  1. Optional runtime configuration examples:
python scripts/video_to_screenplay.py --srt input.srt --out-dir ./output --target-minutes 15 --genre "科幻"
python scripts/video_to_screenplay.py --audio input.mp3 --out-dir ./output --device cuda --compute-type float16
python scripts/video_to_screenplay.py --srt input.srt --out-dir ./output --provider kimi --model kimi-k3
python scripts/video_to_screenplay.py --srt input.srt --out-dir ./output --extract-only
  1. Verify your openclaw.json provider credentials and model selection before running batch or production jobs.

video-to-screenplay Data Schema & Taxonomy

The Openclaw Skills output structure is organized around a linear content pipeline and a small set of deterministic artifacts.

Artifact Type Purpose
transcript.txt Plain text Normalized transcript output from the source audio/video or provided SRT.
story_dna.json JSON Structured narrative metadata extracted from the transcript.
screenplay.md Markdown Human-readable screenplay draft.
screenplay.fountain Fountain Screenwriting-software import format.

Story DNA taxonomy

story_dna.json typically captures narrative metadata such as:

  • themes
  • characters
  • conflicts
  • motifs
  • other screenplay-relevant story elements inferred from the transcript

Input taxonomy

  • --srt: use an existing subtitle transcript as the source
  • --audio: use audio or video and transcribe first
  • --provider: choose the LLM backend for story extraction and screenplay generation
  • --model: override the provider default model
  • --target-minutes: control approximate screenplay length
  • --genre: shape tone, structure, and creative direction
  • --extract-only: stop after generating story_dna.json

This structure makes Openclaw Skills predictable for automation, review, and downstream screenplay tooling.

video-to-screenplay Advanced Features

  • Two-stage LLM pipeline that separates narrative extraction from screenplay generation for better control and repeatability.
  • Multi-provider support across six LLM backends, allowing cost, latency, and quality tradeoffs.
  • Automatic transcription path for audio and video inputs when no SRT is available.
  • CPU and GPU transcription modes, including CUDA and compute type tuning for faster-whisper.
  • --extract-only mode for story analysis without generating a screenplay.
  • Fountain export for direct import into professional screenwriting tools.
  • Genre and target-duration controls for shaping output to creative requirements.
  • Provider-specific model overrides, including defaults tuned per backend.
  • Works well as a modular Openclaw Skills component in larger media-to-writing automation flows.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*