Clayvoyant
See the scam coming.
Clay stop-motion films, written as plain text.
Describe the people, write what they say, choose where it happens.
The studio sculpts the cast, builds the set, lights it, films it and gives it a voice.
Make a film · The sample film · For India · How the clay works · Documentation · Roadmap
Watch the whole film (82 seconds) ·
Before and after, frame by frame
I built Clayvoyant after making a 29-minute clay film to teach information security at my father's workplace (where it began). It is that work, opened up so anyone can make their own films: every figure is sculpted from signed-distance clay and rigged with real hands and a face that acts; every room is built by code; every shot is planned like a film and can be changed in a line of YAML. The engine that films it carries my name, Sultan, and it holds every drawing to the measures motion researchers use to judge movement (no body inside anything, nobody floating, no foot sliding) before a single frame is drawn. Twelve short security-awareness stories come with it, ready to make in your organisation's name, words and language.
Make a film
You need Python 3.11+, FFmpeg and Blender 4.2 or newer (installing them). A GPU makes it quicker; it is not required.
git clone https://github.com/xIBBAx/clayvoyant
cd clayvoyant
python3 -m venv .venv && . .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e ".[clay,voices]"
sastudio voices install kokoro # a free neural voice, downloaded once (350 MB)
sastudio film examples/the-fast-one --preset draft
That one command voices thirteen lines, sculpts three people, builds a cafe and an office, films
seventeen shots on twos and assembles a subtitled film in examples/the-fast-one/build/. No
account and no API key. Edit a line and only the shots it can affect are filmed again.
(clayvoyant works in place of sastudio: the project was called Security Awareness Studio until
November 2026.)
Watch The Fast One
(82 seconds, with subtitles). It is exactly what the command above makes with --preset preview:
seventeen filmed shots at 1280x720 and thirteen voiced lines, in 55 minutes on a laptop GeForce GTX
1660 Ti. Checked drawing by drawing, nothing in it passes through anything
(how).
Everything in The Fast One comes from two scene files and one page of character descriptions. Nobody opened Blender, drew anything or recorded a voice.
What you direct
People. A character is a few lines: skin, hair, clothes, build, a face nudged wider or sharper, and how they carry themselves. Ten hair styles, eight outfits, beards, glasses, a headscarf, a bindi. No two characters share a face, even when described alike.
- id: bashir
name: Bashir
look:
design:
skin: "#8A5A3C"
hair: { style: short, color: "#16110F" }
outfit: { style: shirt, color: "#7FA3C4" }
extras: [glasses, beard]
body: { build: broad, height: tall }
face: { jaw: 0.5, brows: 0.4 }
acting: { energy: 0.8, posture: 0.6 }
Performances. They walk on planted feet, sit down, turn to whoever is speaking, point, shrug, fold their arms, type with their hands on the desk, carry a mug, read a phone. Mouths follow the sounds of the words; eyes lead and the head follows; listeners react. Every footstep, seat, door and keyboard is heard where it happens, in a room the size of the set. What nobody wrote is acted anyway, and what you write wins:
- id: fo_04
who: odile
go: table_left_2 # walks over and takes the seat
emotion: concern
act: [hold_mug]
reactions: { tara: worried }
say: "Then somebody in here is fishing. And not for coffee."
Places. Office, reception, meeting room, home, cafe, corridor, street and classroom: built by code, dressed in your organisation's colours and name, lit for morning, day, evening or night. No model files, no photographs, nothing to license.
The camera. Nine framings, seven moves, seven lighting moods, depth of field. Left alone, the
planner cuts like an editor: an answer gets a close-up, a question is seen over a shoulder, a long
line cuts away to the listener between two words, and no scene opens or ends the way the one before
it did. Every face gets room to look into, and no shot shows the back of a speaker's head.
sastudio direct prints the shot list before anything is filmed.
Beginnings. A scene opens on a filmed shot of its place with the title over it, entered the way the story asks: a slow push into the room, a door that opens, the camera pulling back from an object, a match cut on a face. Never a wipe.
Voices. Kokoro, a free neural voice that runs on your
computer, in British and American English and Hindi. Or your own recordings, one file per line.
Or Sarvam and ElevenLabs with your own key, a spending cap and a ledger; nothing paid ever runs
without --live. One film per language from the same project.
Your own models. A rigged glTF, FBX or OBJ character can join the cast with
sastudio model import; sculpted characters export to GLB, FBX, OBJ or .blend.
The other renderer
The cards renderer needs no Blender and no GPU: the same scripts as a captioned film of drawn characters who talk and blink, in three styles (sketch, flat, paper cut-out), fourteen minutes rendered in about a minute.
sastudio init my-film --org "Riverside Public School" --email it-help@riverside-school.in --style v3
sastudio render my-film --preset draft
For India
Five everyday scams, each a short scene in English and Hindi, in your organisation's name: "digital arrest" on a video call, a UPI request that wants your PIN, a caller who needs your OTP, an electricity-bill message with an app to install, and a customer-care number from the top of a search. Every line of advice follows an advisory from I4C, the RBI or the Department of Telecommunications, and each scene names its source.
sastudio init my-film --template india --org "Sunrise Senior Citizens Forum" --email help@sunrise-forum.org
sastudio film my-film --preset draft --lang hi-IN
sastudio posters my-film prints each scene's lesson as an A4 poster, for a notice board.
sastudio share my-film --each makes one upright phone clip per scam, about a minute and 5 MB
each: small enough to forward. --lang hi-Latn gives the Hindi film with its words in Roman
letters, the way people type Hindi on a phone ("Papa, ek minute ke liye phone neeche rakhiye").
Films for India has the sources, nine more Indian languages and a checklist for showing a film. Nineteen Thirty is the first scene on its own, filmed in clay.
How it works
flowchart LR
A["studio.yaml<br/>scenes/*.yaml"] --> B["validate"]
B --> C["voices<br/>Kokoro / recorded /<br/>Sarvam / ElevenLabs"]
B --> D["direction<br/>shots, light, acting"]
B --> E["sculpt<br/>SDF clay, marching cubes"]
C --> F["timeline<br/>frame-exact"]
D --> G["film<br/>Blender, on twos"]
E --> G
F --> G
G --> H["film.mp4<br/>.srt .vtt<br/>transcript, manifest"]
Acting is a pure function of the frame, so any shot can be filmed alone, shots of one scene always agree, and a shot that stopped half way resumes at its first missing drawing. Every drawing is held to the measures motion research uses for physical plausibility before it is drawn: nothing inside anything, nobody floating, no foot sliding (RESEARCH.md). Sculpts, voices and shots are cached by content. ARCHITECTURE.md and CLAY_MOTION.md have the detail.
What it costs to run
Measured on one laptop on 2026-11-11 (Intel Core i7-10750H, 12 threads, GeForce GTX 1660 Ti with 6 GB, Blender 5.2.2 under WSL2):
- Sculpting the sample's three characters: 46 seconds for all three, once per look.
- Voicing its thirteen lines with Kokoro on the CPU: 26 seconds for 47 seconds of speech.
- Filming at
preview(1280x720): 4.7 seconds a drawing, about 2.3 minutes of work for each second of film on twos.draft(960x540) takes about half that. People the camera cannot see are not drawn. - The cards renderer: the 14-minute starter film in 90 seconds at
previewand 2 minutes 41 seconds atfinal, on the CPU.
Known limits
- Kokoro has no Indian-English accent; English lines are read in a British or American voice.
- Imported models stand, walk, turn, look, talk and gesture; they do not sit or use hands.
- Lip sync follows the voice's phoneme timings when the provider reports them (Kokoro does), and otherwise the spelling and the loudness of the voice.
- Sound effects are made by code, or come from recordings you bring or a CC0 pack you install; they place a scene, they are not studio Foley. Laughter and breathing are not made. Rendering on a remote GPU is not built.
- Another language is another film: you write each line's translation in the scene file and render once per language. Nothing translates for you.
- The
finalpreset (1920x1080) has not yet been run for a whole film; the sample was built withpreview. CI has no Blender, so the clay smoke test runs only where Blender is installed. - The starter scenes are general guidance, not policy. Replace each procedure with your own.
- A body is checked against everything solid before a shot is filmed, and a shot that would show one inside something is not filmed. Imported models are measured against the set and the cast, not against themselves.
- The
indiatemplate's Hindi has not yet been reviewed by fluent speakers from its audience (#20). Read every line aloud with someone who will watch it before you show it.
Documentation
| Guide | |
|---|---|
| Quickstart | a first film in ten minutes |
| Why it exists | who it is for, what it costs, how it compares |
| Films for India | the india template, its sources, Indian languages |
| Writing with an assistant | sastudio brief: a script from any chat assistant |
| Installation and requirements | Ubuntu, WSL2, Windows, Blender, GPUs |
| Clay films | Sultan, the clay engine: sculpting, acting, sets, light, caching |
| Characters | describing people; every choice and slider |
| Direction | sets, marks, cameras, light, gestures, openings |
| Scenes and configuration | writing scenes, tokens, translations |
| Voice providers and API keys | Kokoro, recordings, Sarvam, ElevenLabs |
| Rendering | presets, outputs, subtitles, incremental builds |
| Sound | footsteps, doors, rooms, music and mastering, all from what happens on screen |
| Architecture and glossary | how it fits together |
| Research | the published measures and studies the engine follows, and where |
| Troubleshooting | common errors and their fixes |
| Roadmap and testing | what comes next; how it is checked |
Responsible use
Never clone a real person's voice or use their likeness without written consent. A film does not make an organisation compliant with any standard. Models, sounds and images you bring must be yours to use; the studio records the licence you give for each imported model.
Contributing
Sets, garments, hair, gestures, scene templates, translations, voice adapters, fixes and documentation are welcome. CONTRIBUTING.md explains how changes are tested and how secrets and unlicensed material are kept out. Please follow the code of conduct and report vulnerabilities privately (SECURITY.md). Working with a coding assistant? AGENTS.md tells it how to make a film here and what never to do.
License
Code, sculpts, sets and sample scripts: MIT. Bundled fonts: SIL Open Font License. Every bundled file is listed in ASSET_LICENSES.md. Optional voice software keeps its own licences (details). Films you make are yours, and you do not need to credit this project in them.
Metadata
Release files for clayvoyant 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| clayvoyant-0.4.0.tar.gz | 17.4 MB | With provenance | Details for clayvoyant-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| clayvoyant-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for clayvoyant-0.4.0-py3-none-any.whl |
Total release size: 21.6 MB
Release files / clayvoyant-0.4.0.tar.gz
| Download URL | clayvoyant-0.4.0.tar.gz |
|---|---|
| Size | 17.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf39d8ee9afec077c63f6d55b2ee8251a61b537c42a4a673615ccb04445b6ace
|
|
BLAKE2b-256 checksum How to use checksums |
355e5d5964c18ecc489c0ad546005dce1fa3f168c0c5dfbb3d50a07b6987b31e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.
Transparency logRelease files / clayvoyant-0.4.0-py3-none-any.whl
| Download URL | clayvoyant-0.4.0-py3-none-any.whl |
|---|---|
| Size | 4.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9da09a9bd225e9196d40b056170cd35724ea02e73a173edc6cb4244b781c4f4f
|
|
BLAKE2b-256 checksum How to use checksums |
f98e2d045132d6bf551fe6ab11e389c197315acb4cc7e099897dd04d5863befb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.
Transparency logSecurity for clayvoyant 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for clayvoyant-0.4.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.