Skip to content
1 viewer
View

TV reference

9 pages, 68 routes, 68 connections and 0 CLI commands, generated from the declarations of Tv without reading storage or running anything.

AboutCode

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

Declared views
PageView idRoleRouteOrderParentEntityNavigation
Dashboardtv.listenerdashboard/view/tv0in navigation
Onetv.onedashboard/view/tv/one10tv.listenerin navigation
Listtv.indexlist/view/tv/list20tv.listenerin navigation
Channelstv.feedlist/view/tv/feed30tv.listenerin navigation
Channel walltv.gridcustom/view/tv/grid60tv.listenerin navigation
Video studiotv.studioeditor/view/tv/studio70tv.listenerin navigation
Clip studiotv.clip_studioeditor/view/tv/clip-studio72tv.listenerin navigation
Supercuttv.supercuteditor/view/tv/supercut73tv.listenerin navigation
Program directortv.program_directoreditor/view/tv/program-director74tv.listenerin navigation
9 rows

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`.

Tv.Arcade.Start input
FieldTypeRequiredDescriptionAllowed
channelrequired
romsoptional
rom_diroptional
game_msoptional
interstitial_msoptional
use_llmoptional
seedoptional
titleoptional
radio_formatoptional
audio_stream_idoptional
fpsoptional
widthoptional
heightoptional
replaceoptional
14 rows
Calls and output
  • Output keytv.result
  • Classificationreal
  • POST /tv/arcade/startHTTP route

Tv.Arcade.Stop

Stop an arcade channel (shares the tv-script-{channel} stream).

Tv.Arcade.Stop input
FieldTypeRequiredDescriptionAllowed
channelrequired
1 row
Calls and output
  • 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`.

Tv.AutoGen.Start input
FieldTypeRequiredDescriptionAllowed
channelrequired
promptrequired
titleoptional
provideroptional
image_provideroptional
keyframesoptional
shot_secondsoptional
fpsoptional
widthoptional
heightoptional
replaceoptional
11 rows
Calls and output
  • Output keytv.result
  • Classificationreal
  • POST /tv/autogen/startHTTP route

Tv.AutoGen.Stop

Stop a generative channel by closing its FrameChannel.

Tv.AutoGen.Stop input
FieldTypeRequiredDescriptionAllowed
channelrequired
1 row
Calls and output
  • 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.

Tv.AvPair input
FieldTypeRequiredDescriptionAllowed
channelrequired
audio_stream_idrequired
radio_formatoptional
topicoptional
max_segmentsoptional
voice_provideroptional
6 rows
Calls and output
  • 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.

Tv.AvUnpair input
FieldTypeRequiredDescriptionAllowed
channelrequired
1 row
Calls and output
  • 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.

Tv.Channel.Define input
FieldTypeRequiredDescriptionAllowed
namerequired
titleoptional
descriptionoptional
mux_idrequired
fallback_urloptional
fallback_mimeoptional
audio_stream_idoptional
poster_urloptional
8 rows
Calls and output
  • 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.

Tv.Channel.Get input
FieldTypeRequiredDescriptionAllowed
namerequired
1 row
Calls and output
  • 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`.

Tv.Channel.Program input
FieldTypeRequiredDescriptionAllowed
channel_specrequired
catalogoptional
scriptsoptional
editsoptional
from_msoptional
horizon_msoptional
max_slotsoptional
commitoptional
8 rows
Calls and output
  • 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.

Tv.Channel.Remove input
FieldTypeRequiredDescriptionAllowed
namerequired
1 row
Calls and output
  • Output keytv.result
  • Classificationreal
  • POST /tv/channel/removeHTTP route

Tv.Channels

List defined channels with their resolved HLS/fMP4 URLs.

Calls and output
  • 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.

Tv.Clip.Bed input
FieldTypeRequiredDescriptionAllowed
atom_idrequired
bed_atom_idrequired
bed_formatoptional
bed_gainoptional
clip_gainoptional
duckoptional
start_msoptional
loop_bedoptional
8 rows
Calls and output
  • 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.

Tv.Clip.Concat input
FieldTypeRequiredDescriptionAllowed
atom_idsrequired
1 row
Calls and output
  • 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.

Tv.Clip.Create input
FieldTypeRequiredDescriptionAllowed
channelrequired
secondsoptional
2 rows
Calls and output
  • 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.

Tv.Clip.Export input
FieldTypeRequiredDescriptionAllowed
atom_idrequired
1 row
Calls and output
  • 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.

Tv.Clip.Hold input
FieldTypeRequiredDescriptionAllowed
atom_idrequired
at_msrequired
hold_msrequired
3 rows
Calls and output
  • 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.

Tv.Clip.Retime input
FieldTypeRequiredDescriptionAllowed
atom_idrequired
speedrequired
audiooptional
3 rows
Calls and output
  • 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.

Tv.Clip.Shape input
FieldTypeRequiredDescriptionAllowed
atom_idrequired
fade_in_msoptional
fade_out_msoptional
gainoptional
normalizeoptional
5 rows
Calls and output
  • 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.

Tv.Clip.Trim input
FieldTypeRequiredDescriptionAllowed
atom_idrequired
start_msrequired
end_msrequired
3 rows
Calls and output
  • 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.

Tv.CrystalTv.Start input
FieldTypeRequiredDescriptionAllowed
channelrequired
titleoptional
fpsoptional
widthoptional
heightoptional
particlesoptional
6 rows
Calls and output
  • Output keytv.result
  • Classificationreal
  • POST /tv/crystaltv/startHTTP route

Tv.CrystalTv.Stop

Stop a Crystal TV channel by closing its FrameChannel.

Tv.CrystalTv.Stop input
FieldTypeRequiredDescriptionAllowed
channelrequired
1 row
Calls and output
  • 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`.

Tv.Director.Start input
FieldTypeRequiredDescriptionAllowed
channelrequired
lineuprequired
titleoptional
seedoptional
fpsoptional
widthoptional
heightoptional
audio_stream_idoptional
radio_formatoptional
hlsoptional
10 rows
Calls and output
  • 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.

Tv.Director.Stop input
FieldTypeRequiredDescriptionAllowed
channelrequired
1 row
Calls and output
  • 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`.

Tv.Edit.Play input
FieldTypeRequiredDescriptionAllowed
channelrequired
editrequired
titleoptional
fpsoptional
widthoptional
heightoptional
replaceoptional
7 rows
Calls and output
  • Output keytv.result
  • Classificationreal
  • POST /tv/edit/playHTTP route

Tv.Edit.Stop

Stop an edit channel by closing its FrameChannel.

Tv.Edit.Stop input
FieldTypeRequiredDescriptionAllowed
channelrequired
1 row
Calls and output
  • 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.

Tv.Edit.Verify input
FieldTypeRequiredDescriptionAllowed
editrequired
witnessoptional
2 rows
Calls and output
  • 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.

Tv.Emulator.Attach input
FieldTypeRequiredDescriptionAllowed
channelrequired
session_idrequired
titleoptional
3 rows
Calls and output
  • 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.

Tv.Emulator.Detach input
FieldTypeRequiredDescriptionAllowed
channelrequired
1 row
Calls and output
  • 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).

Tv.Emulator.Input input
FieldTypeRequiredDescriptionAllowed
channelrequired
buttonsrequired
2 rows
Calls and output
  • 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.

Tv.Emulator.Start input
FieldTypeRequiredDescriptionAllowed
channelrequired
rom_b64required
titleoptional
profile_idoptional
fpsoptional
widthoptional
heightoptional
capacityoptional
8 rows
Calls and output
  • 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.

Tv.Emulator.Stop input
FieldTypeRequiredDescriptionAllowed
channelrequired
1 row
Calls and output
  • 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`.

Tv.Evolve.Start input
FieldTypeRequiredDescriptionAllowed
channelrequired
titleoptional
fpsoptional
widthoptional
heightoptional
population_sizeoptional
mutation_rateoptional
max_generationsoptional
8 rows
Calls and output
  • Output keytv.result
  • Classificationreal

Tv.Evolve.Stop

Stop an evolution channel by closing its FrameChannel.

Tv.Evolve.Stop input
FieldTypeRequiredDescriptionAllowed
channelrequired
1 row
Calls and output
  • 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.

Tv.Federation.Import input
FieldTypeRequiredDescriptionAllowed
channelsoptional
programsoptional
2 rows
Calls and output
  • Output keytv.result
  • Classificationreal
  • POST /tv/federation/importHTTP route

Tv.Guide

Full program guide: each channel with its now/next + ordered program list.

Calls and output
  • 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`.

Tv.Highlight.Reel input
FieldTypeRequiredDescriptionAllowed
channelrequired
scriptrequired
secondsoptional
max_clipsoptional
pre_msoptional
post_msoptional
min_gap_msoptional
titleoptional
fpsoptional
widthoptional
heightoptional
replaceoptional
12 rows
Calls and output
  • 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.

Tv.Hls.Start input
FieldTypeRequiredDescriptionAllowed
channelrequired
fpsoptional
windowoptional
idle_timeout_secsoptional
video_stream_idoptional
audio_stream_idoptional
6 rows
Calls and output
  • 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.

Tv.Hls.Stop input
FieldTypeRequiredDescriptionAllowed
channelrequired
1 row
Calls and output
  • 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`.

Tv.MusicVideo.Reel input
FieldTypeRequiredDescriptionAllowed
channelrequired
scriptoptional
presetoptional
audio_atomoptional
audiooptional
secondsoptional
max_clipsoptional
pre_msoptional
post_msoptional
min_gap_msoptional
sensitivityoptional
audio_stream_idoptional
radio_formatoptional
titleoptional
fpsoptional
widthoptional
heightoptional
replaceoptional
18 rows
Calls and output
  • 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`.

Tv.MusicVideo.Start input
FieldTypeRequiredDescriptionAllowed
channelrequired
audio_stream_idoptional
radio_formatoptional
paletteoptional
motionoptional
seedoptional
duration_msoptional
titleoptional
fpsoptional
widthoptional
heightoptional
replaceoptional
12 rows
Calls and output
  • Output keytv.result
  • Classificationreal
  • POST /tv/music-video/startHTTP route

Tv.MusicVideo.Stop

Stop a music-video channel (shares the tv-script-{channel} stream).

Tv.MusicVideo.Stop input
FieldTypeRequiredDescriptionAllowed
channelrequired
1 row
Calls and output
  • 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.

Tv.Now input
FieldTypeRequiredDescriptionAllowed
channeloptional
1 row
Calls and output
  • 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.

Tv.NpcDay input
FieldTypeRequiredDescriptionAllowed
operationoptional
channeloptional
recording_idoptional
mux_idoptional
window_msoptional
windowsoptional
sourceoptional
editoptional
transitionsoptional
9 rows
Calls and output
  • 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.

Tv.Record.Mp4 input
FieldTypeRequiredDescriptionAllowed
channelrequired
secondsoptional
fpsoptional
video_stream_idoptional
4 rows
Calls and output
  • 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`.

Tv.Schedule.Add input
FieldTypeRequiredDescriptionAllowed
channelrequired
program_idoptional
titlerequired
descriptionoptional
start_at_msrequired
end_at_msrequired
6 rows
Calls and output
  • Output keytv.result
  • Classificationreal
  • POST /tv/scheduleHTTP route

Tv.Schedule.List

List scheduled programs (optionally filtered by channel).

Tv.Schedule.List input
FieldTypeRequiredDescriptionAllowed
channeloptional
1 row
Calls and output
  • 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`.

Tv.Script.Auto input
FieldTypeRequiredDescriptionAllowed
channelrequired
topicoptional
toneoptional
duration_msoptional
segmentsoptional
seedoptional
use_llmoptional
modeloptional
sourceoptional
queryoptional
urloptional
shotsoptional
factsoptional
titleoptional
fpsoptional
widthoptional
heightoptional
loopoptional
captionsoptional
dry_runoptional
replaceoptional
21 rows
Calls and output
  • 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`.

Tv.Script.Play input
FieldTypeRequiredDescriptionAllowed
channelrequired
scriptrequired
titleoptional
fpsoptional
widthoptional
heightoptional
loopoptional
captionsoptional
replaceoptional
9 rows
Calls and output
  • 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).

Tv.Script.Render input
FieldTypeRequiredDescriptionAllowed
scriptoptional
briefoptional
widthoptional
heightoptional
fpsoptional
qpoptional
narrateoptional
voice_provideroptional
voiceoptional
fit_narrationoptional
scoreoptional
narration_lead_msoptional
narration_tail_msoptional
duration_budget_msoptional
beat_idsoptional
threadsoptional
keyframe_interval_msoptional
preflightoptional
dry_runoptional
max_image_callsoptional
20 rows
Calls and output
  • Output keytv.result
  • Classificationreal
  • POST /tv/script/renderHTTP route

Tv.Script.Stop

Stop a scripted channel by closing its FrameChannel.

Tv.Script.Stop input
FieldTypeRequiredDescriptionAllowed
channelrequired
1 row
Calls and output
  • 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.

Tv.Shorts.Draft input
FieldTypeRequiredDescriptionAllowed
cliprequired
cuesoptional
titleoptional
hookoptional
featureoptional
channel_nameoptional
aspectsoptional
brolloptional
brandoptional
focusoptional
10 rows
Calls and output
  • 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`.

Tv.Showrunner.Start input
FieldTypeRequiredDescriptionAllowed
channelrequired
topicoptional
toneoptional
duration_msoptional
segmentsoptional
seedoptional
use_llmoptional
modeloptional
sourceoptional
queryoptional
urloptional
shotsoptional
factsoptional
captionsoptional
titleoptional
fpsoptional
widthoptional
heightoptional
replaceoptional
19 rows
Calls and output
  • Output keytv.result
  • Classificationreal
  • POST /tv/showrunner/startHTTP route

Tv.Showrunner.Stop

Stop an always-on Showrunner channel (shares the tv-script-{channel} stream).

Tv.Showrunner.Stop input
FieldTypeRequiredDescriptionAllowed
channelrequired
1 row
Calls and output
  • 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.

Calls and output
  • Output keytv.result
  • Classificationroute_handler
  • GET /tv/statusHTTP route

Tv.Studio.Plan

Preview a deterministic video plan and timing estimate without generating media.

Tv.Studio.Plan input
FieldTypeRequiredDescriptionAllowed
template_idoptional
projectoptional
cut_idoptional
bindingsoptional
formatoptional
styleoptional
secondsoptional
policyoptional
8 rows
Calls and output
  • Output keytv.result
  • Classificationroute_handler
  • POST /tv/studio/planHTTP route

Tv.Studio.Templates

List video story templates, format profiles and visual styles.

Tv.Studio.Templates input
FieldTypeRequiredDescriptionAllowed
template_idoptional
1 row
Calls and output
  • 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.

Tv.Take.Record input
FieldTypeRequiredDescriptionAllowed
take_idrequired
scriptrequired
channeloptional
duration_msoptional
fpsoptional
widthoptional
heightoptional
7 rows
Calls and output
  • 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.

Tv.TestCard.Start input
FieldTypeRequiredDescriptionAllowed
channelrequired
titleoptional
mux_idoptional
fpsoptional
widthoptional
heightoptional
6 rows
Calls and output
  • 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.

Tv.TestCard.Stop input
FieldTypeRequiredDescriptionAllowed
channelrequired
1 row
Calls and output
  • Output keytv.result
  • Classificationreal
  • POST /tv/testcard/stopHTTP route

Tv.ViewPatch

Live SSR patch for TV status surfaces.

Calls and output
  • Output keytv.result
  • Classificationroute_handler
  • GET /tv/live/patchHTTP route

Tv.VirtualCam.Chatter

Tv.VirtualCam.Chatter input
FieldTypeRequiredDescriptionAllowed
channelrequired
roomoptional
2 rows
Calls and output
  • Output keytv.result
  • Classificationunclassified

Tv.VirtualCam.Select

Tv.VirtualCam.Select input
FieldTypeRequiredDescriptionAllowed
channelrequired
target_idrequired
cam_modeoptional
3 rows
Calls and output
  • 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.

Tv.VirtualCam.Start input
FieldTypeRequiredDescriptionAllowed
channelrequired
titleoptional
world_idoptional
fpsoptional
widthoptional
heightoptional
capacityoptional
sourceoptional
modeoptional
staroptional
cam_modeoptional
day_start_houroptional
day_minutesoptional
plant_sceneoptional
plant_rateoptional
rom_b64optional
rom_pathoptional
17 rows
Calls and output
  • 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.

Tv.VirtualCam.Stop input
FieldTypeRequiredDescriptionAllowed
channelrequired
1 row
Calls and output
  • Output keytv.result
  • Classificationreal
  • POST /tv/virtualcam/stopHTTP route

Tv.VirtualCam.Targets

Tv.VirtualCam.Targets input
FieldTypeRequiredDescriptionAllowed
channelrequired
1 row
Calls and output
  • Output keytv.result
  • Classificationunclassified

Tv.VirtualCam.WorldFacts

Tv.VirtualCam.WorldFacts input
FieldTypeRequiredDescriptionAllowed
channelrequired
1 row
Calls and output
  • 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`.

Tv.Worldsim.Start input
FieldTypeRequiredDescriptionAllowed
channelrequired
sceneoptional
biomeoptional
seedoptional
duration_msoptional
titleoptional
radio_formatoptional
audio_stream_idoptional
fpsoptional
widthoptional
heightoptional
replaceoptional
12 rows
Calls and output
  • Output keytv.result
  • Classificationreal
  • POST /tv/worldsim/startHTTP route

Tv.Worldsim.Stop

Stop a worldsim channel (shares the tv-script-{channel} stream).

Tv.Worldsim.Stop input
FieldTypeRequiredDescriptionAllowed
channelrequired
1 row
Calls and output
  • Output keytv.result
  • Classificationreal
  • POST /tv/worldsim/stopHTTP route

Schema and data model

Declared storage and kinds. Linked kinds open their app pages.

Declared storage
  • Authorityhyper
  • Preferred truthhyper
  • App ownerTv
  • SQL projectionnone · DDL declarations: 0
Hyper vertex kinds read
  • TvTrendingEpisode
Hyper vertex kinds written
  • tv.channel
  • tv.program
Hyper edge kinds written
  • None declared.
Asset namespaces read
  • None declared.
Asset namespaces minted
  • None declared.
Model warnings
  • No model warnings were reported.

Structure review · 1

Warnings · 1
  • Tv · warningAn app with pages needs highlights and getting-started steps for its About page. (incomplete_intro)