# CINEMA DNA

> An agent skill that plans cinematic stills, triptych and nine-shot storyboards, and complete Chinese video-generation prompts

- Category: Agents & Automation / Agent Skills & Plugins
- Language: Python
- Repository: https://github.com/dacnay816y62-hub/cinema-dna-21x9x3
- Canonical page: https://ai-tldr.dev/tools/cinema-dna/
- Updated: 2026-11-21

## In short

CINEMA DNA is an Agent Skill by FANTASY (梵想美学) for planning cinematic images and AI video. It sits in the Agent Skills & Plugins category of the Agents & Automation tools and is open-source, written in Python. To get started: install the skill.

## Overview

CINEMA DNA is an Agent Skill by FANTASY (梵想美学) for planning cinematic images and AI video. Given a premise, a character, a scene or a reference image, it has the agent decide where the camera stands, how characters are blocked, where the light comes from, and what color, grain and texture the frame carries, then turns that into a single still, a three-shot triptych or a nine-shot storyboard plus complete video-generation prompts. It installs into any agent that supports the skills format, and the skill's install and invocation id is `cinema-dna-21x9x3`.

The skill does the directing; it ships no model. The README is explicit that image and video generation run on whatever image or video tools the agent environment provides, and that a prompt-only request stays prompt-only. Video prompts are delivered in Chinese by default, written in fixed sections covering reference roles, starting state, action, camera path, landing frame, light and sound, and the workflow is tuned for Seedance 2.5. The default framing target is about 2.39:1 widescreen; the README notes that the "21x9" in the repository name is a historical label, not an exact ratio.

Around the prompts sit small local tools: Python scripts that check a shot plan and the prompt template, build a copyable HTML workspace of shots and prompts, and compose nine frames into triptychs and a 3×3 overview (a Python + Pillow back end since 3.2.3, alongside the original PowerShell one). A separate "storyboard rehearsal" workspace in Beta arranges assets, shot groups and prompts offline in the browser. The repository has no license file attached.

## What it does

- Three output modes: a single widescreen still, a triptych (three shots plus a vertical triptych) or a nine-shot storyboard (nine shots, three triptychs and a 3×3 overview)
- Shot design covering camera placement, framing, character blocking, camera paths, focus and motivated lighting
- Complete Chinese video prompts in fixed sections, with clip count planned from the story rather than one clip per storyboard frame
- Continuity tracking for character identity, wardrobe, props and spatial relationships across shots
- Python scripts that check shot plans and prompt templates and build an offline HTML workspace with copy and TXT download
- A Beta storyboard rehearsal workspace for arranging assets, shot groups and prompts before generation

## Getting started

You need an agent that supports Agent Skills and the skills CLI (`npx`). Generating images or video also needs an image or video tool available in that agent's environment; without one, the skill delivers prompts only.

1. Install the skill

   Install it with the skills CLI, naming the skill explicitly. You can also download the repository ZIP and install the folder that contains `SKILL.md` the way your agent documents; keep the scripts, references and assets together.

```bash
npx skills add dacnay816y62-hub/cinema-dna-21x9x3 --skill cinema-dna-21x9x3
```

2. Ask for a three-shot sequence

   From the README's English quick start: name the skill, give a premise, and say whether you want prompts only.

```text
Use $cinema-dna-21x9x3.
Turn this premise into a three-shot cinematic sequence:
"A traveler sees their hometown through the window as the train prepares to leave."
Give complete Chinese prompts first. Define framing, camera motion, light,
film texture and continuity. Do not generate media for this prompt-only request.
```

3. Plan a nine-shot storyboard

   For a storyboard, ask for continuity and, if an image tool is available, for the independent frames to be generated and assembled into an overview.

```text
Use $cinema-dna-21x9x3 to plan a nine-shot storyboard.
A storm approaches while a village actor insists on finishing the final scene.
Keep character identity, wardrobe, props and stage geometry consistent.
Generate the independent frames using the image tool available in this environment,
then assemble the overview. Preserve each source frame for targeted revisions.
```

## When to use it

- Pre-production for an AI short film: turning a premise into a shot list, storyboard frames and per-clip video prompts
- Designing a consistent film look (light, color, grain) for a scene before generating images
- Writing structured Chinese video prompts for Seedance from a storyboard while keeping characters and props consistent

## Version history

- 2026-11-21 v3.2.3: Adds a Python + Pillow back end for nine-shot compositing so macOS and Linux no longer need Windows-only image components.
