AI-Drawn Video from Your Terminal

The northnoir CLI starts with Ruvil 2.1 (Code-drawn), the default .js drawing engine: your AI coding agent writes and reviews a local scene.html. Version 2.3.2 works with NorthCel 0.7.2 (.ncel: editable groups, transform, warp, nudge, mix, morph, frame ranges, opacity) as an optional drawing language. Select Ruvil 7.3 (Hand-drawn frame-by-frame) for images as frames. One MCP authorization covers a local film — northnoir ref upload prepares and uploads the start image with no CLI key — and northnoir auth nn_live_… / NORTHNOIR_API_KEY stays the optional key for the direct REST path.

Install

pipx install northnoir (currently 2.2.0), then northnoir doctor --install. Published on PyPI as northnoir (uv tool install northnoir works too); the CLI itself is Python-only and has no npm package. NorthCel, the optional .ncel drawing language, is its own project with one install name, northcel (PyPI or Homebrew for 0.7.2). The npm package is a launcher with a structural pre-check that prints PARTIAL. Local rendering charges no NorthNoir tokens. The default Ruvil 2.1 uses your own coding agent; the optional Ruvil 7.3 can use BYOK provider keys or one paid NorthNoir API key. Agent subscriptions and direct provider usage may cost you; NorthNoir API calls use your token wallet.

Ruvil 2.1 — Code-drawn, the default

The default .js drawing engine: your AI coding agent writes a JavaScript canvas drawing program in scene.html, inspired by the bundled hand-drawn style kits. In the Studio and API it renders every frame at 30 fps and reviews its own frames across up to 3 rounds. In the local CLI your agent runs the still and motion checks, fixes what is wrong, then renders at the scene's configured frame rate.

northnoir draw --scene scene.html --out my-film uses Ruvil 2.1 when --model is omitted; --model ruvil_2_1 selects it explicitly. For a cloud run on your NorthNoir API key, the MCP whole-project tools also default to Ruvil 2.1.

NorthCel (.ncel) — optional drawing language

CLI 2.2.0 integrates NorthCel 0.7.2 (spec 0.6.0-draft: editable groups, transform, warp, nudge, mix, morph, frame ranges, opacity) as an explicit opt-in alternative to the default .js scene.html workflow; northnoir polish --cels cels --out polish/ turns Ruvil 7.3 cels into one editable NorthCel film, and northnoir polish keys check|normalise|gate gates AI in-between keys. Install it with pip install "northnoir[ncel]", then northnoir init --language ncel, northnoir check scene.ncel and northnoir render scene.ncel; northnoir author --language ncel writes a first draft for your agent to review. Ruvil 7.3 images as frames is unaffected. .ncel films are silent: add sound with MCP generate_sfx or local northnoir sfx, then the local northnoir mix. Simple frontal poses, heads, horizons and props come out reliably; hands, foreshortened limbs and cloth folds are still weak. NorthCel itself is one install name, northcel (PyPI or Homebrew for 0.7.2; the npm package is a launcher with a structural pre-check); for spec 0.3 documents Linux x86_64 runs the native MoonBit + Bend/HVM2 + GLSL runtime; spec 0.4 documents always use the labelled Python reference, as does every other platform. Without a native runtime or Python the npm check is only a structural pre-check that prints PARTIAL, never OK.

Ruvil 7.3 — Hand-drawn frame-by-frame, the selectable second model

In the Studio and cloud API, Ruvil 7.3 is strictly images as frames: every frame is generated as its own 2D illustration image, anchored on your reference art when provided. Cloud updates do not update an installed CLI.

northnoir draw --model latest --ref reference.png --out my-film explicitly selects Ruvil 7.3: latest resolves to ruvil_7_3. Bring your own OpenAI key for the generated frame images and optionally ElevenLabs for sound, or use one NorthNoir API key. Local BYOK needs no NorthNoir account or tokens; providers may bill API usage. The NorthNoir-key path is charged from your token wallet.

One NorthNoir API key

Sign up on a paid NorthNoir plan, create one nn_live_... key at /developer, then run northnoir auth nn_live_... (or set NORTHNOIR_API_KEY). That single key replaces the separate provider keys for Ruvil 7.3: the frame images, the ElevenLabs sound effects, the OpenAI or ElevenLabs voices and the LLM enrichment all go through the NorthNoir API, charged from your token wallet.

The same key drives the MCP tools: whole-project planning and drawing, or per-asset generate_frame_image, generate_sfx, generate_music and generate_narration. Ruvil 2.1 (ruvil_2_1) is the default; Ruvil 7.3 (ruvil_7_3 / latest) provides images as frames and individual drawn frames (frames/f0001.jpg...). The non-recommended REST backend is northnoir api; every command prints JSON. The REST routes are POST /v1/drawn-video (with reference_image), GET /v1/jobs/{id}/frames, POST /v1/images, GET /v1/voices and POST /v1/chat, documented at /api-docs. Local BYOK provider keys stay the free alternative.

The agent loop

Author

The agent writes scene.html — one self-contained page whose JavaScript paints every frame of a 1920×1080 canvas. Frame 0 already shows the finished scene.

Still check

northnoir check --still renders frame 0. The agent views the PNG, fixes composition, scale and contrast, and only then animates.

Motion check

northnoir check renders sampled frames with a contact sheet and quality flags. The agent reviews, fixes and re-checks — up to three improvement rounds.

Render

northnoir render produces the final MP4 with procedural audio, a poster and a contact sheet, verified locally.

Commands

Questions

Which models, drawing modes and aspect ratios can I choose?

Omitted model selections use Ruvil 2.1 (Code-drawn), named ruvil_2_1 in the public API — the .js drawing engine workflow (scene.html). Explicit latest resolves to ruvil_7_3 (Ruvil 7.3 hand-drawn frame-by-frame); northnoir r73 and draw-frames also explicitly select 7.3. For local Ruvil 7.3, --draw-mode defaults to image: every frame is generated as its own 2D image (images as frames), anchored on your reference art when provided. Use --aspect 16:9 (Desktop, default), 9:16 (Phone), 1:1 (Square), 4:5 (Portrait feed), 21:9 (Cinematic), or 4:3 (Retro TV).

How do I install the CLI?

pipx install northnoir (or uv tool install northnoir), then northnoir doctor --install. The CLI is published on PyPI as northnoir, currently 2.3.2; it is Python-only and has no npm package. The optional NorthCel (.ncel) drawing language installs with pip install "northnoir[ncel]" and is a separate open-source project with one install name, northcel (PyPI or Homebrew for 0.7.2). The npm package is a launcher with a structural pre-check that prints PARTIAL, never a pass.

What is NorthCel (.ncel), and do I need it?

It is optional — a declarative drawing language (NorthCel 0.7, spec 0.6.0-draft) for compact cel-and-ink scenes with palette colour, deterministic line boil, mix, morph, frame ranges and opacity. Install it with pip install "northnoir[ncel]" (or the one install name northcel from PyPI or Homebrew; the npm package is a launcher with a structural pre-check), then northnoir init --language ncel, northnoir check scene.ncel and northnoir render scene.ncel. The default Ruvil 2.1 workflow is still scene.html in .js, which is richer for procedural scenes, WebAudio cues and the AnidoodleDraw styles. .ncel films are silent in the CLI: add sound with MCP generate_sfx or local northnoir sfx, then northnoir mix. Native .ncel rendering (MoonBit + Bend/HVM2 + GLSL) is Linux x86_64 only today; on macOS and Windows the same install renders through the labelled Python reference. Simple frontal poses, heads, horizons and props come out reliably; hands, foreshortened limbs and cloth folds are still weak.

Do I need a separate CLI key to upload a reference image?

No. One MCP authorization is enough. northnoir ref upload FILE --fit 2:3-safe --prepare start-fit.jpg prepares the bytes locally — 2:3 fit, EXIF/metadata strip, 10 MiB ceiling — with no network and no key; MCP create_reference_upload mints ref_id plus a signed upload_url; and northnoir ref upload FILE --fit 2:3-safe --upload-url "<upload_url>" (or --print-curl, or curl -X PUT -T) sends those exact bytes with no Authorization header. Nothing is written to ~/.config/northnoir/keys.json, and generate_frame_image auto-confirms the uploaded ref_id, so confirm_reference_upload is optional. A CLI key (northnoir auth nn_live_… or NORTHNOIR_API_KEY) is optional and only enables the direct REST upload POST /v1/references and northnoir api: northnoir auth --status reports no key, malformed, unverified, valid (checked …) or rejected by server, and northnoir auth show is refused as a command word without writing anything.

Is the CLI really free?

Local rendering charges no NorthNoir tokens. The default Ruvil 2.1 scene.html workflow uses your own AI coding agent, whose usage or subscription may cost you. Ruvil 7.3 can use your own provider keys, and providers may bill usage. With one NorthNoir API key instead, provider calls and cloud generation are charged from your NorthNoir token wallet.

Can I use one NorthNoir API key instead of separate provider keys?

Yes. Sign up on a paid NorthNoir plan, create one nn_live_… key at /developer, then run northnoir auth nn_live_... (or set NORTHNOIR_API_KEY). The MCP tools start with Ruvil 2.1 (ruvil_2_1), the default code-drawn model; explicitly choose Ruvil 7.3 (ruvil_7_3 / latest) for images as frames and frame downloads. The same key covers MCP frame images, sound effects, voices and LLM enrichment. Platform calls use your token wallet; local BYOK provider keys remain the free-CLI alternative, with provider usage paid directly.

Do I need a North Noir account?

No account is needed for local Ruvil 2.1 work: your coding agent writes scene.html and the CLI renders it without a provider key in the CLI. Local Ruvil 7.3 can use your own OpenAI key and optionally ElevenLabs for sound. Or sign up on a paid plan and use one NorthNoir API key for provider calls and cloud generation of either model.

Which AI agents work with it?

Claude Code, OpenCode, Codex, Gemini CLI and Cursor — anything that can write files, run shell commands and look at images. northnoir skill install teaches the agent the contract and the loop.

What do I need installed?

Python 3.10+ and ffmpeg. northnoir doctor --install sets up Chromium for you; northnoir doctor verifies the whole environment in one command.