TV reference
9 pages, 68 routes, 68 connections and 0 CLI commands, generated from the declarations of Tv without reading storage or running anything.
Code · 0 files
No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.
Pages · 9
| Page | View id | Role | Route | Order | Parent | Entity | Navigation |
|---|---|---|---|---|---|---|---|
| Dashboard | tv.listener | dashboard | /view/tv | 0 | in navigation | ||
| One | tv.one | dashboard | /view/tv/one | 10 | tv.listener | in navigation | |
| List | tv.index | list | /view/tv/list | 20 | tv.listener | in navigation | |
| Channels | tv.feed | list | /view/tv/feed | 30 | tv.listener | in navigation | |
| Channel wall | tv.grid | custom | /view/tv/grid | 60 | tv.listener | in navigation | |
| Video studio | tv.studio | editor | /view/tv/studio | 70 | tv.listener | in navigation | |
| Clip studio | tv.clip_studio | editor | /view/tv/clip-studio | 72 | tv.listener | in navigation | |
| Supercut | tv.supercut | editor | /view/tv/supercut | 73 | tv.listener | in navigation | |
| Program director | tv.program_director | editor | /view/tv/program-director | 74 | tv.listener | in navigation |
Connections · 68
Tv.Arcade.Start
Always-on retro-arcade channel: rotates through a ROM library (explicit `roms`, a `rom_dir`, or the bundled test_roms), introducing each game with a short bumper (LLM-written when `use_llm`) over an optional `radio_format` music bed. Each game plays as an emulator beat with CRT + vignette post-FX. Shares the tv-script-{channel} stream. Persists `tv.channel`.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required | |||
| roms | optional | |||
| rom_dir | optional | |||
| game_ms | optional | |||
| interstitial_ms | optional | |||
| use_llm | optional | |||
| seed | optional | |||
| title | optional | |||
| radio_format | optional | |||
| audio_stream_id | optional | |||
| fps | optional | |||
| width | optional | |||
| height | optional | |||
| replace | optional |
- Output keytv.result
- Classificationreal
- POST /tv/arcade/startHTTP route
Tv.Arcade.Stop
Stop an arcade channel (shares the tv-script-{channel} stream).
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required |
- Output keytv.result
- Classificationreal
- POST /tv/arcade/stopHTTP route
Tv.AutoGen.Start
Start a generative channel from a prompt. Uses an ImageProvider (default `mock_gradient`); prompt drives a deterministic seed so the same input renders the same visual on every peer. Future providers (Stable Diffusion, OpenAI, HuggingFace) plug in via the trait without changing call sites. Persists `tv.channel`.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required | |||
| prompt | required | |||
| title | optional | |||
| provider | optional | |||
| image_provider | optional | |||
| keyframes | optional | |||
| shot_seconds | optional | |||
| fps | optional | |||
| width | optional | |||
| height | optional | |||
| replace | optional |
- Output keytv.result
- Classificationreal
- POST /tv/autogen/startHTTP route
Tv.AutoGen.Stop
Stop a generative channel by closing its FrameChannel.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required |
- Output keytv.result
- Classificationreal
- POST /tv/autogen/stopHTTP route
Tv.AvPair
Bind an existing channel to a Conduit audio stream. Pure metadata: doesn't start any producer, doesn't assert the stream exists. The listener mounts an <audio> element pointing at /conduit/streams/{audio_stream_id}/audio/live.mp3 when set, so a separate producer (Radio.Tune, Voice.Publish, external feed) just needs to drive the same stream_id concurrently. Persists the `audio_stream_id` on the channel vertex.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required | |||
| audio_stream_id | required | |||
| radio_format | optional | |||
| topic | optional | |||
| max_segments | optional | |||
| voice_provider | optional |
- Output keytv.result
- Classificationreal
- POST /tv/avpairHTTP route
Tv.AvUnpair
Clear `audio_stream_id` on a channel. Doesn't stop any in-flight producer; the listener just stops mounting the audio element.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required |
- Output keytv.result
- Classificationreal
- POST /tv/avunpairHTTP route
Tv.Channel.Define
Define or update a TV channel: a stable named handle (`name`) bound to a Conduit AvMuxSession (`mux_id`). Channels resolve to /conduit/av/hls/{mux_id}/index.m3u8 at view time. Optional fallback_url lets a channel point at a non-fMP4 source (e.g. an MJPEG stream). Persists a `tv.channel` vertex so the surface survives restart.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| name | required | |||
| title | optional | |||
| description | optional | |||
| mux_id | required | |||
| fallback_url | optional | |||
| fallback_mime | optional | |||
| audio_stream_id | optional | |||
| poster_url | optional |
- Output keytv.result
- Classificationreal
- POST /tv/channelHTTP route
Tv.Channel.Get
Fetch a channel by name. Includes resolved HLS / fMP4 URLs plus the currently-playing program (if any) and the next-up program from the schedule.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| name | required |
- Output keytv.result
- Classificationreal
- GET /tv/channelHTTP route
Tv.Channel.Program
Expand a media.channel.v1 ChannelSpec's programming policy (Loop / Playlist / Generate) into a concrete tv.program schedule. The pure scheduler in cre8-media-spec sequences a catalog of specs (passed as `catalog` id+duration entries and/or full `scripts`/`edits`) into back-to-back slots over [from_ms, +horizon_ms); this writes them so Tv.Now / Tv.Guide light up. Replaces prior scheduler-owned slots on re-run. `commit:false` previews only. Persists `tv.channel` + `tv.program`.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel_spec | required | |||
| catalog | optional | |||
| scripts | optional | |||
| edits | optional | |||
| from_ms | optional | |||
| horizon_ms | optional | |||
| max_slots | optional | |||
| commit | optional |
- Output keytv.result
- Classificationreal
- POST /tv/channel/programHTTP route
Tv.Channel.Remove
Remove a channel and drop its schedule. Removes the `tv.channel` and any `tv.program` vertices that referenced this channel.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| name | required |
- Output keytv.result
- Classificationreal
- POST /tv/channel/removeHTTP route
Tv.Channels
List defined channels with their resolved HLS/fMP4 URLs.
- Output keytv.result
- Classificationroute_handler
- GET /tv/channelsHTTP route
Tv.Clip.Bed
Lay a music bed (WAV or MP3 atom) under an existing `media/clip` atom. Only the audio track is rebuilt — decoded, mixed with per-side gain and optional ducking, re-encoded — and every video sample is carried through byte-for-byte.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| atom_id | required | |||
| bed_atom_id | required | |||
| bed_format | optional | |||
| bed_gain | optional | |||
| clip_gain | optional | |||
| duck | optional | |||
| start_ms | optional | |||
| loop_bed | optional |
- Output keytv.result
- Classificationreal
- POST /tv/clip/bedHTTP route
Tv.Clip.Concat
Join two or more existing `media/clip` atoms, in order, into one new content-addressed `media/clip` atom with NO re-encode: every source's samples are re-timed onto one contiguous timeline behind the first clip's init segment. Sources must share one codec configuration (a mismatch is refused, never converted); each source opens on its first keyframe, dropping any leading delta frames, and the response reports where every source landed.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| atom_ids | required |
- Output keytv.result
- Classificationreal
- POST /tv/clip/concatHTTP route
Tv.Clip.Create
Cut a shareable clip from the LAST `seconds` (default 30, max 120) of a live channel's already-streamed video: splice the channel's existing fMP4 init + retained media segments into one standalone MP4 and store it as a durable, content-addressed `media/clip` atom served at `/atoms/{atom_id}`. No re-encode. Unlike Tv.Record.Mp4 (records the NEXT N seconds to a local file), this is a retroactive DVR clip of what already aired.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required | |||
| seconds | optional |
- Output keytv.result
- Classificationreal
- POST /tv/clip/createHTTP route
Tv.Clip.Export
Lay an existing clip atom out as one progressive (faststart) MP4 for upload to a platform: one moov indexing every sample ahead of one mdat, with NO re-encode. Stored as a `media/mp4` atom; a source that is already progressive passes through unchanged.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| atom_id | required |
- Output keytv.result
- Classificationreal
- POST /tv/clip/exportHTTP route
Tv.Clip.Hold
Freeze the frame on screen at `at_ms` of an existing `media/clip` atom for `hold_ms` (up to 30 s) with NO video re-encode: that one sample is displayed longer and everything after it moves later; the same length of silence is spliced into the audio track. Reports where the held frame actually starts.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| atom_id | required | |||
| at_ms | required | |||
| hold_ms | required |
- Output keytv.result
- Classificationreal
- POST /tv/clip/holdHTTP route
Tv.Clip.Retime
Play an existing `media/clip` atom at another speed (0.25x to 4x) with NO video re-encode: every video sample is re-stamped and moved byte-for-byte. The audio track alone is rebuilt — resampled so pitch follows speed (`audio: pitch`, the default; no time-stretch) or replaced with silence (`audio: mute`). Stores a new content-addressed `media/clip` atom and reports the audio mode actually applied.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| atom_id | required | |||
| speed | required | |||
| audio | optional |
- Output keytv.result
- Classificationreal
- POST /tv/clip/retimeHTTP route
Tv.Clip.Shape
Fade in / fade out (up to 60 s each), apply gain (0 to 4x), or peak-normalise to -1 dBFS the audio of an existing `media/clip` atom with NO video re-encode: every video sample and stamp is carried through byte-for-byte and only the audio track is decoded, shaped, and re-encoded. Peak normalisation, not loudness. Reports the peak before and after. A clip with no audio is refused rather than minted unchanged.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| atom_id | required | |||
| fade_in_ms | optional | |||
| fade_out_ms | optional | |||
| gain | optional | |||
| normalize | optional |
- Output keytv.result
- Classificationreal
- POST /tv/clip/shapeHTTP route
Tv.Clip.Trim
Cut a precise [start_ms, end_ms) window out of an existing `media/clip` atom at mp4-sample granularity, with NO re-encode, and store the result as a new content-addressed `media/clip` atom. Complements Tv.Clip.Create, whose segment-granular selection snaps clip length to segment boundaries. The video start snaps back to the nearest preceding keyframe; the response reports the window actually produced.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| atom_id | required | |||
| start_ms | required | |||
| end_ms | required |
- Output keytv.result
- Classificationreal
- POST /tv/clip/trimHTTP route
Tv.CrystalTv.Start
Start a Crystal TV channel — Lissajous-orbiting particles with adjacency-line edges over a dark gradient. The visual analog of Crystal Radio. Stream id `tv-crystaltv-{channel}`. Persists `tv.channel`. Idempotent.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required | |||
| title | optional | |||
| fps | optional | |||
| width | optional | |||
| height | optional | |||
| particles | optional |
- Output keytv.result
- Classificationreal
- POST /tv/crystaltv/startHTTP route
Tv.CrystalTv.Stop
Stop a Crystal TV channel by closing its FrameChannel.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required |
- Output keytv.result
- Classificationreal
- POST /tv/crystaltv/stopHTTP route
Tv.Director.Start
Linear broadcast director — play an ordered `lineup` of programs back-to-back and loop, like a real TV channel. Writes the tv.program EPG (Tv.Now/Tv.Guide light up) and drives a regenerating producer on tv-script-{channel} that advances at each program boundary. Self-contained: upserts the channel; pass `hls:true` to also start the live HLS segmenter. Each lineup entry is {title?, kind, duration_secs?, ...params}, kind ∈ scene|worldsim|music| emulator|crystal. Re-Start swaps the lineup. Persists `tv.channel` + `tv.program`.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required | |||
| lineup | required | |||
| title | optional | |||
| seed | optional | |||
| fps | optional | |||
| width | optional | |||
| height | optional | |||
| audio_stream_id | optional | |||
| radio_format | optional | |||
| hls | optional |
- Output keytv.result
- Classificationreal
- POST /tv/director/startHTTP route
Tv.Director.Stop
Stop a linear director: stop the producer, clear its EPG rows, and best-effort stop the channel's HLS segmenter.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required |
- Output keytv.result
- Classificationreal
- POST /tv/director/stopHTTP route
Tv.Edit.Play
Play a `media.edit.v1` EditSpec — a subtractive timeline whose `Clip` beats reference recorded takes and play the selected slices with transitions and post-FX. The dual of Tv.Script.Play. Stream id is `tv-edit-{channel}`. Persists `tv.channel`.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required | |||
| edit | required | |||
| title | optional | |||
| fps | optional | |||
| width | optional | |||
| height | optional | |||
| replace | optional |
- Output keytv.result
- Classificationreal
- POST /tv/edit/playHTTP route
Tv.Edit.Stop
Stop an edit channel by closing its FrameChannel.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required |
- Output keytv.result
- Classificationreal
- POST /tv/edit/stopHTTP route
Tv.Edit.Verify
Proof-carrying media: verify a structural witness binding an EditSpec's cut to the content hashes of its source takes. Recomputes a Merkle root over the live take store and checks the supplied `witness` (or the edit's own witness_ref) — catching a swapped, edited, or missing source take before any replay. Read-only; writes nothing.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| edit | required | |||
| witness | optional |
- Output keytv.result
- Classificationreal
- POST /tv/edit/verifyHTTP route
Tv.Emulator.Attach
Attach a private, view-only TV screen to an existing owner-authorized Emulation session. Reuses its authenticated picture and sound stream without starting another VM or publishing a public broadcast. The attachment is process-local.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required | |||
| session_id | required | |||
| title | optional |
- Output keytv.result
- Classificationreal
- POST /tv/emulator/attachHTTP route
Tv.Emulator.Detach
Remove this account's private emulator TV view. The owning emulator continues under its own lifecycle policy.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required |
- Output keytv.result
- Classificationreal
- POST /tv/emulator/detachHTTP route
Tv.Emulator.Input
Feed controller input to a running emulator channel (button mask applied on the next stepped frame).
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required | |||
| buttons | required |
- Output keytv.result
- Classificationreal
- POST /tv/emulator/inputHTTP route
Tv.Emulator.Start
Start an emulator channel — drives a CRE8VM RomSession one frame at a time and pushes each RGBA framebuffer into a Conduit FrameChannel `tv-emulator-{channel}`. Auto-detects the ROM format (z64/v64/gb/nes/ psx-exe via binary_loader::load_universal). Drop a ROM in, get Tetris/ SM83/N64 playing live in the TV listener page. Persists `tv.channel`. Idempotent: re-Start on a running channel keeps the existing session.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required | |||
| rom_b64 | required | |||
| title | optional | |||
| profile_id | optional | |||
| fps | optional | |||
| width | optional | |||
| height | optional | |||
| capacity | optional |
- Output keytv.result
- Classificationreal
- POST /tv/emulator/startHTTP route
Tv.Emulator.Stop
Stop an emulator channel. Closes the FrameChannel; the producer thread sees the closure on its next tick and drops the RomSession. Channel row is preserved so a re-Start swaps a different ROM in.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required |
- Output keytv.result
- Classificationreal
- POST /tv/emulator/stopHTTP route
Tv.Evolve.Start
Start a genetic-programming evolution channel: programs evolve live and each generation renders the champion's IrGraph with a fitness sparkline. Persists `tv.channel`.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required | |||
| title | optional | |||
| fps | optional | |||
| width | optional | |||
| height | optional | |||
| population_size | optional | |||
| mutation_rate | optional | |||
| max_generations | optional |
- Output keytv.result
- Classificationreal
Tv.Evolve.Stop
Stop an evolution channel by closing its FrameChannel.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required |
- Output keytv.result
- Classificationreal
Tv.Federation.Import
Federation-side: accept channel and/or program envelopes from a peer and write them as local tv.channel / tv.program vertices. Idempotent — re-importing updates without bumping created_at_ms. Programs are skipped when their target channel is missing (peer should send the channel envelope first, or in the same import). One peer with an OBS feed (or a real Stable Diffusion provider) defines a channel; every other peer plays it without rerunning the producer.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channels | optional | |||
| programs | optional |
- Output keytv.result
- Classificationreal
- POST /tv/federation/importHTTP route
Tv.Guide
Full program guide: each channel with its now/next + ordered program list.
- Output keytv.result
- Classificationroute_handler
- GET /tv/guideHTTP route
Tv.Highlight.Reel
Follow-&-Reel: record a `script` to a take (emulator beat = speedrun; any subject works), detect the most eventful windows by frame salience, auto-montage them into a media.edit.v1 with crossfades, and play the reel on tv-edit-{channel}. The reusable 'intelligence picks the good parts' pipeline. Persists `tv.channel`.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required | |||
| script | required | |||
| seconds | optional | |||
| max_clips | optional | |||
| pre_ms | optional | |||
| post_ms | optional | |||
| min_gap_ms | optional | |||
| title | optional | |||
| fps | optional | |||
| width | optional | |||
| height | optional | |||
| replace | optional |
- Output keytv.result
- Classificationreal
- POST /tv/highlight/reelHTTP route
Tv.Hls.Start
Make a live channel playable over standard HLS/fMP4. Starts a continuous live segmenter that bridges the channel's MJPEG FrameChannel → H.264 → a rolling fMP4 segment window on its mux_id, so any standard player (Safari/ iOS native HLS, hls.js elsewhere) at /conduit/av/hls/{mux_id}/index.m3u8 plays it — no auto_tick polling, many viewers share one segment log. The channel must already be streaming. Best content needs --features native-h264. Opt-in; idempotent: re-Start on a running segmenter keeps it. Auto-stops after `idle_timeout_secs` (default 30) with no viewer fetch; pass 0 to disable.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required | |||
| fps | optional | |||
| window | optional | |||
| idle_timeout_secs | optional | |||
| video_stream_id | optional | |||
| audio_stream_id | optional |
- Output keytv.result
- Classificationreal
- POST /tv/hls/startHTTP route
Tv.Hls.Stop
Stop the live HLS segmenter for a channel. In-flight players can still drain the tail of the segment log; only fresh fragment production stops.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required |
- Output keytv.result
- Classificationreal
- POST /tv/hls/stopHTTP route
Tv.MusicVideo.Reel
Music-video supercut: record a `script` (any visuals) or a Supercut `preset` to a take, detect the beat drops in the music track named by atom id (`audio_atom`; WAV, or MP3 where the runtime reads it; the first 40 s) via energy-flux onset detection, and auto-montage the visuals so every cut lands ON the beat. The audio analog of Tv.Highlight.Reel (same montage, audio-onset signal). Pair the track via `audio_stream_id`/`radio_format` for sound. Plays on tv-edit-{channel}. Persists `tv.channel`.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required | |||
| script | optional | |||
| preset | optional | |||
| audio_atom | optional | |||
| audio | optional | |||
| seconds | optional | |||
| max_clips | optional | |||
| pre_ms | optional | |||
| post_ms | optional | |||
| min_gap_ms | optional | |||
| sensitivity | optional | |||
| audio_stream_id | optional | |||
| radio_format | optional | |||
| title | optional | |||
| fps | optional | |||
| width | optional | |||
| height | optional | |||
| replace | optional |
- Output keytv.result
- Classificationreal
- POST /tv/music-video/reelHTTP route
Tv.MusicVideo.Start
Always-on audio-reactive music-video channel: a procedural plasma whose brightness, hue swirl, and motion are driven by the live RMS energy of an audio stream (fast attack, slow release). Pass `radio_format` to spawn a radio bed the visuals react to, or `audio_stream_id` to react to an existing stream; `palette`/`motion`/`seed` style the field. Shares the tv-script-{channel} stream. Persists `tv.channel`.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required | |||
| audio_stream_id | optional | |||
| radio_format | optional | |||
| palette | optional | |||
| motion | optional | |||
| seed | optional | |||
| duration_ms | optional | |||
| title | optional | |||
| fps | optional | |||
| width | optional | |||
| height | optional | |||
| replace | optional |
- Output keytv.result
- Classificationreal
- POST /tv/music-video/startHTTP route
Tv.MusicVideo.Stop
Stop a music-video channel (shares the tv-script-{channel} stream).
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required |
- Output keytv.result
- Classificationreal
- POST /tv/music-video/stopHTTP route
Tv.Now
What is on right now — single channel via ?channel=name, or every channel when omitted.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | optional |
- Output keytv.result
- Classificationroute_handler
- GET /tv/nowHTTP route
Tv.NpcDay
A followed character's recorded day, read from the activity cues its village stream journalled into the recording. `operation: spans` lists the activities on the recording's timeline; `reel` cuts a window from the start of each and joins them into one `media/clip`; `compose` stores a Compose edit with one item per activity, captions and markers, and returns its `editor_url`. `reel` and `compose` are for the recording's owner. A recording with no cues is refused.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| operation | optional | |||
| channel | optional | |||
| recording_id | optional | |||
| mux_id | optional | |||
| window_ms | optional | |||
| windows | optional | |||
| source | optional | |||
| edit | optional | |||
| transitions | optional |
- Output keytv.result
- Classificationreal
- POST /tv/npc-dayHTTP route
Tv.Record.Mp4
Record a running channel's video to a real H.264 fMP4 file via conduit's own encoder (no ffmpeg). Bridges the MJPEG FrameChannel to conduit's fMP4 pipeline (AvMux → seed-encode → tick-mux → assemble init.mp4 + fragments). The channel must already be streaming. Requires the runtime built with --features native-h264. Writes to ~/cre8_arcade/{channel}.fmp4.mp4.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required | |||
| seconds | optional | |||
| fps | optional | |||
| video_stream_id | optional |
- Output keytv.result
- Classificationreal
- POST /tv/record/mp4HTTP route
Tv.Schedule.Add
Add a program to a channel's schedule. (channel, title, start_at_ms, end_at_ms) required; program_id auto-derived from channel + start when omitted. Programs are kept sorted by start_at_ms. Persists `tv.program`.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required | |||
| program_id | optional | |||
| title | required | |||
| description | optional | |||
| start_at_ms | required | |||
| end_at_ms | required |
- Output keytv.result
- Classificationreal
- POST /tv/scheduleHTTP route
Tv.Schedule.List
List scheduled programs (optionally filtered by channel).
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | optional |
- Output keytv.result
- Classificationroute_handler
- GET /tv/scheduleHTTP route
Tv.Script.Auto
Generate a `media.script.v1` ScriptSpec from a `topic` via the Showrunner, then play it (see Tv.Script.Play). With `use_llm: true` and a default LLM provider installed, the model authors the script; otherwise a deterministic seeded template of ProceduralScene beats is used. With `source` (an image provider such as wikimedia_commons, openverse or nasa, searched for `query` or the topic) or `url` (a page's images via the webpage provider), the program is a storyboard of those real images with a title card and a credits outro, and the model — when `use_llm` — writes captions and narration and picks the order. With `facts` (fact sources) the program states figures only as `{fact:id}` citations of those sources, read from CRE8_TV_FACT_ROOT before play; a draft citing anything else or typing a figure is replaced by a title / stat / sources script. `dry_run: true` returns the script without playing it. LLM authoring is opt-in so a channel never incurs model spend by surprise. Persists `tv.channel`.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required | |||
| topic | optional | |||
| tone | optional | |||
| duration_ms | optional | |||
| segments | optional | |||
| seed | optional | |||
| use_llm | optional | |||
| model | optional | |||
| source | optional | |||
| query | optional | |||
| url | optional | |||
| shots | optional | |||
| facts | optional | |||
| title | optional | |||
| fps | optional | |||
| width | optional | |||
| height | optional | |||
| loop | optional | |||
| captions | optional | |||
| dry_run | optional | |||
| replace | optional |
- Output keytv.result
- Classificationreal
- POST /tv/script/autoHTTP route
Tv.Script.Play
Play a `media.script.v1` ScriptSpec as an always-on channel via the media-spec timeline executor. The `script` field is a full ScriptSpec JSON; each beat's VisualDirective is resolved (ProceduralScene renders a seeded plasma; ImageStill plays its `asset` — an `atom:` id or a public http(s) image, fetched once, hash-pinned and stored as an atom — or else calls budget-gated Image.Generate, then pans it along its `ken_burns` move; other backends render a placeholder) and played with crossfade/wipe transitions, looping for always-on. Beat captions and segment overlays are burned in unless `captions: false`. Stream id is `tv-script-{channel}`. Persists `tv.channel`.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required | |||
| script | required | |||
| title | optional | |||
| fps | optional | |||
| width | optional | |||
| height | optional | |||
| loop | optional | |||
| captions | optional | |||
| replace | optional |
- Output keytv.result
- Classificationreal
- POST /tv/script/playHTTP route
Tv.Script.Render
Render a media.script.v1 ScriptSpec offline to one finished MP4 — H.264 picture, AAC narration synthesized per beat through the Voice providers, and synthesized score cues — as fast as the machine allows (no live channel, no realtime cap). Beats too short for their narration are lengthened. Takes a `script` or, in its place, a Showrunner `brief` (topic, tone, duration_ms, segments, seed, use_llm, source/url, facts; or a bare topic string) authored into the script first, LLM only with use_llm. `dry_run`/`preflight` answers with the render plan, and for a brief the script and source report, before any synthesis. Stored as a media/clip atom; returns atom_id, url, the per-beat render receipt and its atom, and the film as a Compose edit (composition).
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| script | optional | |||
| brief | optional | |||
| width | optional | |||
| height | optional | |||
| fps | optional | |||
| qp | optional | |||
| narrate | optional | |||
| voice_provider | optional | |||
| voice | optional | |||
| fit_narration | optional | |||
| score | optional | |||
| narration_lead_ms | optional | |||
| narration_tail_ms | optional | |||
| duration_budget_ms | optional | |||
| beat_ids | optional | |||
| threads | optional | |||
| keyframe_interval_ms | optional | |||
| preflight | optional | |||
| dry_run | optional | |||
| max_image_calls | optional |
- Output keytv.result
- Classificationreal
- POST /tv/script/renderHTTP route
Tv.Script.Stop
Stop a scripted channel by closing its FrameChannel.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required |
- Output keytv.result
- Classificationreal
- POST /tv/script/stopHTTP route
Tv.Shorts.Draft
A picked moment's clip laid out as one Compose edit per aspect: 16:9 shows the clip full frame, 9:16 scales it to cover the tall frame and centres it. Each edit has the hook over the first 2.5 s, the `cues` (on the clip's clock) as a captions track with word timings where the words match the line, a lower third naming `channel_name` and the `feature`, and a 2 s end card pointing at the feature's page. B-roll covers the speaker for up to 6 s from the word that names the feature, back before the last line, silent so the speaker is heard throughout and under the captions: the supplied `broll` atom, or with none, the feature rendered (a CRE8VIRTUAL world shot, or its page captured from `page_origin`); `broll: false` asks for none. Every edit passes the editor's rules before any is stored; returns `drafts` with each `composition_atom_id` and `editor_url`, the `broll` laid in, and `broll_skipped` when a feature's picture could not be.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| clip | required | |||
| cues | optional | |||
| title | optional | |||
| hook | optional | |||
| feature | optional | |||
| channel_name | optional | |||
| aspects | optional | |||
| broll | optional | |||
| brand | optional | |||
| focus | optional |
- Output keytv.result
- Classificationreal
- POST /tv/shorts/draftHTTP route
Tv.Showrunner.Start
Start an always-on intelligent channel. A producer thread regenerates a fresh `media.script.v1` ScriptSpec every cycle and plays it forever — LLM-authored when `use_llm: true` and a default provider is installed, else a deterministic seeded template. With `source`/`url` (see Tv.Script.Auto) the image pool is gathered and pinned once, then re-cut every cycle. The one-shot Tv.Script.Auto also grounds generation in recent AttentionEvent vertices; the regeneration loop runs context-free (generated stills render a placeholder; fetched stills play). `facts` work as in Tv.Script.Auto and resolve every cycle; a cycle whose facts do not resolve plays the template. Persists `tv.channel`.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required | |||
| topic | optional | |||
| tone | optional | |||
| duration_ms | optional | |||
| segments | optional | |||
| seed | optional | |||
| use_llm | optional | |||
| model | optional | |||
| source | optional | |||
| query | optional | |||
| url | optional | |||
| shots | optional | |||
| facts | optional | |||
| captions | optional | |||
| title | optional | |||
| fps | optional | |||
| width | optional | |||
| height | optional | |||
| replace | optional |
- Output keytv.result
- Classificationreal
- POST /tv/showrunner/startHTTP route
Tv.Showrunner.Stop
Stop an always-on Showrunner channel (shares the tv-script-{channel} stream).
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required |
- Output keytv.result
- Classificationreal
- POST /tv/showrunner/stopHTTP route
Tv.Status
Tv subsystem health: channel + program counts and how many channels are currently within a scheduled program window.
- Output keytv.result
- Classificationroute_handler
- GET /tv/statusHTTP route
Tv.Studio.Plan
Preview a deterministic video plan and timing estimate without generating media.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| template_id | optional | |||
| project | optional | |||
| cut_id | optional | |||
| bindings | optional | |||
| format | optional | |||
| style | optional | |||
| seconds | optional | |||
| policy | optional |
- Output keytv.result
- Classificationroute_handler
- POST /tv/studio/planHTTP route
Tv.Studio.Templates
List video story templates, format profiles and visual styles.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| template_id | optional |
- Output keytv.result
- Classificationroute_handler
- GET /tv/studio/templatesHTTP route
- POST /tv/studio/templatesHTTP route
Tv.Take.Record
Record a ScriptSpec's render into an in-memory `media.take.v1` (the clip). Procedural scripts are deterministic, so recording the script equals recording what the live channel shows. Frames are kept process-local (capped) for Tv.Edit.Play to clip; returns the take metadata.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| take_id | required | |||
| script | required | |||
| channel | optional | |||
| duration_ms | optional | |||
| fps | optional | |||
| width | optional | |||
| height | optional |
- Output keytv.result
- Classificationreal
- POST /tv/take/recordHTTP route
Tv.TestCard.Start
Start a built-in SMPTE-style test card on a channel. Opens a Conduit FrameChannel `tv-testcard-{channel}`, spawns a producer thread that emits color-bar RGB24 frames at `fps`, and upserts the channel pointing at /conduit/streams/{stream_id}/video/mjpeg as the playable fallback. Persists `tv.channel`. Idempotent.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required | |||
| title | optional | |||
| mux_id | optional | |||
| fps | optional | |||
| width | optional | |||
| height | optional |
- Output keytv.result
- Classificationreal
- POST /tv/testcard/startHTTP route
Tv.TestCard.Stop
Stop a test card. Closes the synthetic FrameChannel; the producer thread breaks out on next tick. Channel row is preserved so a re-Start keeps the same name.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required |
- Output keytv.result
- Classificationreal
- POST /tv/testcard/stopHTTP route
Tv.ViewPatch
Live SSR patch for TV status surfaces.
- Output keytv.result
- Classificationroute_handler
- GET /tv/live/patchHTTP route
Tv.VirtualCam.Chatter
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required | |||
| room | optional |
- Output keytv.result
- Classificationunclassified
Tv.VirtualCam.Select
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required | |||
| target_id | required | |||
| cam_mode | optional |
- Output keytv.result
- Classificationunclassified
Tv.VirtualCam.Start
Start a virtual-camera channel — streams a frame source from CRE8VIRTUAL into a Conduit FrameChannel `tv-virtualcam-{channel}` and upserts the channel pointing at /conduit/streams/{stream_id}/video/mjpeg as the playable fallback. V.A v1 ships the producer pattern wired to a built-in animated-gradient frame source; the real wgpu readback (the offscreen 3D world view via cre8virtual_app::virtual_camera::VirtualCameraReadback) lands in a follow-up slice that takes the cross-submodule dep. Idempotent.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required | |||
| title | optional | |||
| world_id | optional | |||
| fps | optional | |||
| width | optional | |||
| height | optional | |||
| capacity | optional | |||
| source | optional | |||
| mode | optional | |||
| star | optional | |||
| cam_mode | optional | |||
| day_start_hour | optional | |||
| day_minutes | optional | |||
| plant_scene | optional | |||
| plant_rate | optional | |||
| rom_b64 | optional | |||
| rom_path | optional |
- Output keytv.result
- Classificationreal
- POST /tv/virtualcam/startHTTP route
Tv.VirtualCam.Stop
Stop a virtual-camera channel. Closes the FrameChannel; the producer thread sees the closure on its next tick and exits. Channel row is preserved so a re-Start keeps the same name.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required |
- Output keytv.result
- Classificationreal
- POST /tv/virtualcam/stopHTTP route
Tv.VirtualCam.Targets
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required |
- Output keytv.result
- Classificationunclassified
Tv.VirtualCam.WorldFacts
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required |
- Output keytv.result
- Classificationunclassified
Tv.Worldsim.Start
Always-on worldsim-camera channel: a procedural parallax-landscape flyover with a day/night sky, drifting silhouette ridges, a sun/moon arc, and night stars — all driven by world time. `scene`/`biome` selects the palette (alpine / desert / forest / ocean / volcanic); pass `radio_format` for an ambient bed. Self-contained today (a CRE8VIRTUAL offscreen-readback backend can supersede it behind VisualDirective::VirtualCamera). Shares the tv-script-{channel} stream. Persists `tv.channel`.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required | |||
| scene | optional | |||
| biome | optional | |||
| seed | optional | |||
| duration_ms | optional | |||
| title | optional | |||
| radio_format | optional | |||
| audio_stream_id | optional | |||
| fps | optional | |||
| width | optional | |||
| height | optional | |||
| replace | optional |
- Output keytv.result
- Classificationreal
- POST /tv/worldsim/startHTTP route
Tv.Worldsim.Stop
Stop a worldsim channel (shares the tv-script-{channel} stream).
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| channel | required |
- Output keytv.result
- Classificationreal
- POST /tv/worldsim/stopHTTP route
Schema and data model
Declared storage and kinds. Linked kinds open their app pages.
- Authorityhyper
- Preferred truthhyper
- App ownerTv
- SQL projectionnone · DDL declarations: 0
- TvTrendingEpisode
- tv.channel
- tv.program
- None declared.
- None declared.
- None declared.
- No model warnings were reported.
Structure review · 1
- Tv · warningAn app with pages needs highlights and getting-started steps for its About page. (incomplete_intro)