This release is a pre-release and may not be stable for production use.
AI-native film factory and Studio flows on top of ProDocuX contracts
pip install free-studio-flow==0.1.0rc11 Copy PIP instructions
See Provider setup for API configuration, host secret bindings, and bounded per-shot QC recovery. Credential checks and successful model inference are verified separately.
Latest verified PyPI release: 0.1.0rc10, published from tag v0.1.0rc10 at commit e2c2d0471d5597b32057bb965dff6757edbddc2e.
python -m pip install "free-studio-flow==0.1.0rc10" Additions and accepted limits in rc11 The rc11 source is a release candidate undergoing review.
The published rc10 package includes the earlier releases and the production and extension features described below.
See Indexed production workflows for commands and qualification boundaries. These additions are included in the rc10 distributions. Long-film quality, evaluator calibration and untested hardware remain separate qualifications.
Repository: github.com/freestudioflow/free-studio-flow. This tree is the FSF product. Machine-readable PDX freeze and pin records live under compatibility/. It does not ship the B-roll generator; that remains b-roll-library-generator.
This checkout includes opt-in fsf remote parent/worker dispatch and fsf api profiles for text, image, video, audio and upscale outputs. Copy the disabled templates with fsf remote templates --out config into an existing empty directory. See the operator and agent guide for setup, recovery, provider protocol limits and recipe customization. These workflows and the production extensions below are included in the rc10 distributions. Use matching parent and worker builds. Remote outputs retain parent-side QC and review requirements; successful transport does not establish real model inference or visual consistency.
Runtime pins: prodocux==0.3.0rc7, pdx-artifact-engine==0.3.0a8, pdx-adapter-media==0.2.0a3.
Pinned tool preparation, provider-native artifact transfer, explicit v2 CUDA requests and global Blender segments are described in Versioned remote jobs. These additions were introduced in rc8. Use matching parent and worker builds for current jobs. GPU execution requires operator resource approval and verified host capability. Technical control-video checks leave motion review not_reviewed.
Approved worker recipes can fill free GPU slots as tasks finish, bind selected CUDA devices, and explicitly share cards within declared slot and memory budgets. Pause drains running tasks; continuation rechecks accepted outputs. Native archives remain bounded to 64 MiB, and Kaggle also enforces the configured encoded-notebook limit. Native downloads retry whole archives rather than resuming byte offsets.
An optional pinned Anatomy checkout and Node runtime can supply spring-state control samples with matching pose and readout. These are mechanism control visualizations, not a general physics engine or proof of downstream model motion adherence. Tools, models and provider capabilities remain recipe-specific.
python -m venv .venv .venv/Scripts/python -m pip install -U pip .venv/Scripts/python -m pip install -e ".[dev]" .venv/Scripts/python -m fsf.cli check Unix: .venv/bin/python instead of .venv/Scripts/python. Do not activate the venv and then use a bare python or fsf from PATH.
Run the contributor verification suite from the checkout:
.venv/Scripts/python scripts/agent_verify.py That runs public hygiene, offline pytest, then live Kaggle/API pytest, then .venv/Scripts/python -m fsf.cli live-check. Kaggle authentication can use KAGGLE_API_TOKEN, an authorized host credential binding, or existing legacy credentials (KAGGLE_CONFIG_DIR or ~/.kaggle/kaggle.json). Values are never printed. Missing usable credentials fail the live gate; do not skip.
.venv/Scripts/python -m fsf.cli run defaults to mock.studio.video (writes .mock.bin, not media). flow run requires --transport and --shape and refuses mock executors. Built-in kaggle/api/local shape adapters write .shape.bin; configured process adapters used by fsf execute can produce real media. verify on those files is expected to fail.
Vendor API / extra backends use process environment variables (FSF_VENDOR_API_KEY, or the key_env name in fsf-executors.json). Typed model profiles can also use an explicit host credential binding. Do not put secrets in JSON, git, or AGENTS.local.md. FSF does not load .env. See docs/FSF_LIVE_VERIFY.md.
.venv/Scripts/python -m fsf.cli check .venv/Scripts/python -m fsf.cli flows .venv/Scripts/python -m fsf.cli intake path/to/sheet.docx --out output/job .venv/Scripts/python -m fsf.cli plan path/to/sheet.docx --pipeline p0 .venv/Scripts/python -m fsf.cli plan path/to/sheet.docx --pipeline custom --skills storyboard,generate,dub .venv/Scripts/python -m fsf.cli plan path/to/sheet.docx --pipeline p1 --media --assembly --bgm path/to/bgm.wav --out output/plan.json .venv/Scripts/python -m fsf.cli execute output/plan.json --out output/execute .venv/Scripts/python -m fsf.cli flow run studio.video.generate path/to/sheet.docx --transport kaggle --shape .venv/Scripts/python -m fsf.cli run path/to/sheet.docx --executor mock.studio.video .venv/Scripts/python -m fsf.cli verify path/to/clip.mp4 .venv/Scripts/python -m fsf.cli live-check plan: Compiles the execution plan (pdx_execution_plan_v1). Supports --media (real media routing) or --shape (contract stubs), plus --assembly, --subtitles, and --bgm. execute: Orchestrates the compiled plan DAG end-to-end, executing steps, assembly transforms, and QC conformance gates with authoritative resume support. review list : Lists shots with review_required that are pending, rejected, or have an invalidated approval. (rc5) review status : Shows overall assembly gate status (pass / pending / blocked). (rc5) review approve [--reviewer NAME] [--notes TEXT]: Approves a shot, binding the review to the current artifact SHA. (rc5) review reject [--reviewer NAME] [--notes TEXT] [--needs-rework]: Rejects a shot. --needs-rework records verdict needs_rework instead of rejected. (rc5) run: Single-step video generation runner (defaults to mock.studio.video writing .mock.bin). flow run: Single Studio skill runner across kaggle/api/local transports (shape-only). Full sequence: AGENTS.md. Handoff operations and constraints (rc4) fsf execute can delegate media-generation tool steps to an asynchronous external agent. Enable Handoff via any of:
# Delegate all media-generation steps fsf execute plan.json --out output/execute --handoff # Delegate via executor override fsf execute plan.json --out output/execute --executor handoff # Per-step: set executor_id in the plan step inputs inputs.executor_id = "handoff" On the first run FSF emits workorders and exits with status: "pending_handoff". After the external agent writes result files into /handoff/results/, re-run the identical command; FSF ingests the results and continues with QC and assembly steps (those are always executed by FSF, never delegated).
Workorder fields used to prepare and validate a result:
Acceptable result JSON (fsf_workorder_result_v1):
{ "schema_version": "fsf_workorder_result_v1", "workorder_id": " ", "job_id": " ", "run_id": " ", "step_id": " ", "attempt_id": " ", "plan_digest": " ", "inputs_digest": " ", "expected_contract_digest": " ", "status": "completed", "artifact_path": " ", "artifact_sha256": " ", "detail": "optional free-text" } Handoff cycle:
When the workorder carries a requirements_digest field, the result must include consistency_acknowledgement. Submitting a result without it, or with a mismatched acknowledged_digest, causes ingest to raise HandoffIntegrityError.
continuity_method: only required when workorder.consistency_requirements.resolved_sha256 is set. Use the value that describes how the continuity source was actually used. "prompt_only" is rejected when workorder.consistency_requirements.prompt_only_allowed is false.
Placement rule: capability_gap, ref_assets_used, and continuity_method must be nested inside consistency_acknowledgement. Top-level placement is rejected outright.
What acknowledgement proves: that the agent received the requirements vector. It does not prove visual compliance; human review via fsf review approve remains the authoritative compliance gate.
When a shot's consistency_context carries review_required: true, FSF blocks assembly until an operator records an approval for that shot via fsf review approve. The gate is re-evaluated on every resume: if the artifact on disk has changed since approval (re-generated, deleted, or modified), the approval is invalidated and assembly is blocked again.
# 1. Execute the plan (generates shots and writes the execution journal) .venv/Scripts/python -m fsf.cli execute output/plan.json --out output/execute # 2. List shots awaiting review .venv/Scripts/python -m fsf.cli review list output/execute # 3. Check overall gate status (pass / pending / blocked) .venv/Scripts/python -m fsf.cli review status output/execute # 4. Approve a shot (records the SHA from the journal entry; disk is re-checked at assembly time) .venv/Scripts/python -m fsf.cli review approve output/execute --reviewer operator # 5. Approve with notes .venv/Scripts/python -m fsf.cli review approve output/execute --reviewer operator --notes "Costume matches scene 2" # 6. Reject (records verdict 'rejected'; re-approve is required before assembly proceeds) .venv/Scripts/python -m fsf.cli review reject output/execute --reviewer operator --notes "Wrong hair colour" # 7. Reject and mark as needing rework (records verdict 'needs_rework') .venv/Scripts/python -m fsf.cli review reject output/execute --reviewer operator --needs-rework --notes "Re-generate with new prompt" # 8. To regenerate: re-run execute with --no-resume (reruns ALL steps, not just rejected ones) .venv/Scripts/python -m fsf.cli execute output/plan.json --out output/execute --no-resume # 9. Then approve the new artifact and run execute again to reach assembly .venv/Scripts/python -m fsf.cli review approve output/execute --reviewer operator .venv/Scripts/python -m fsf.cli execute output/plan.json --out output/execute What the gate checks before each assembly step:
How approve records the SHA: fsf review approve reads the artifact SHA from the execution journal (the value written by the executor when the step completed). The assembly gate then re-checks the same path against the live file on disk at assembly time. If the file has been modified or replaced between approval and assembly, the gate blocks.
reject vs reject --needs-rework: both record a non-approved verdict and block assembly. The distinction is informational for human workflow — FSF treats them identically at the gate. To regenerate the shot, use fsf execute --no-resume, which reruns all steps (FSF has no selective per-shot re-run flag). Then approve the new artifact before re-running execute to reach assembly.
The DOCX intake compiler can construct consistency_context from explicit metadata paragraphs. API callers can also supply it in each shot task of an fsf_video_job_v1 job manifest before calling build_execution_plan(). The plan compiler validates the context and carries it into step inputs.
Place each metadata line in its own paragraph (or line break) inside a block, after the SHOT: or ASSET: prompt. Separate blocks with ----- as usual:
ASSET: Silver coat, short black hair, amber collar. ID: hero ----- SHOT: Wide view of the observation deck. 10 seconds ID: T01 ASSET_REFS: hero ----- SHOT: Close view of the same officer. 10 seconds ID: T02 ASSET_REFS: hero CONTINUITY: T01 CONTINUITY_ASPECTS: appearance,costume REVIEW_REQUIRED: true Tag Meaning ID Optional unique task ID, using letters, digits, _ and -; starts with a letter or digit. Otherwise the existing task_001 numbering applies. ASSET_REFS Ordered, comma-separated asset IDs from the same sheet. Only explicitly referenced asset descriptions are appended to the effective prompt. CONTINUITY ID of an earlier shot; uses latest_completed artifact selection. CONTINUITY_ASPECTS Comma-separated appearance, costume, scene, composition, motion; defaults to appearance. Requires CONTINUITY. REVIEW_REQUIRED true or false; defaults to true when any consistency tag is present. ID alone does not enable consistency review. Metadata is removed from the generation prompt. Asset references use version 1 and a content hash computed from the asset specification; editing the description changes the hash. Duplicate IDs/tags, empty values, unknown assets, invalid aspects, and self/forward continuity references are rejected. Untagged sheets retain their existing behaviour. Reference-image declarations and specific_artifact selection remain available through the context API.
python -m fsf.cli intake sheet.docx --out output/intake python -m fsf.cli plan sheet.docx --media --assembly --out output/plan.json python -m fsf.cli execute output/plan.json --out output/execute --handoff A real-media backend must complete the Handoff workorders and consistency acknowledgements. Review required shots with fsf review before assembly can run. The declarations express requirements; they do not prove visual consistency.
Correct flow when using a consistency context:
import json from pathlib import Path from fsf.runtime.plan import build_execution_plan # This example demonstrates building a job manifest with a consistency_context # and compiling it into a pdx_execution_plan_v1. It does NOT demonstrate a # working review→approve→assembly cycle; see the note below. job_manifest = { "schema_version": "fsf_video_job_v1", "job_id": "job_example", "tasks": [ { "id": "shot_001", "kind": "shot", "shot_spec": {"generation_prompt": "A hero walks through a neon city."}, "consistency_context": { "schema_version": "fsf_consistency_context_v1", "asset_refs": [], # no assets — empty list is valid "review_required": True, }, } ], } # Compile into a pdx_execution_plan_v1. # enable_assembly=True adds a transform step after generation. # shape=True produces .shape.bin contract stubs (not real video files). plan = build_execution_plan( job_manifest, pipeline="generate", shape=True, enable_assembly=True ) # Save the plan (create output/ first to avoid FileNotFoundError) out_path = Path("output/plan.json") out_path.parent.mkdir(parents=True, exist_ok=True) out_path.write_text(json.dumps(plan, indent=2), encoding="utf-8") print("Plan written to", out_path) print("Steps:", [s["id"] for s in plan.get("steps", [])]) Shape mode limitation: running fsf execute on this plan will exit with an error. Shape stubs (.shape.bin) fail Media QC, which blocks the assembly step with QC dependency failed — not a review gate block. Approving the shot review does not resolve a QC failure.
This example is for illustrating context compilation and plan structure only. To exercise the full review → approve → assembly cycle, use a plan produced with a real-media executor and shape=False. The review gate blocks assembly independently of QC only when QC passes (i.e., when real media artifacts satisfy the conformance contract).
Minimum valid context (no assets, review required):
{ "schema_version": "fsf_consistency_context_v1", "asset_refs": [], "review_required": True, } Context with an asset reference — content_hash must be a real 64-character SHA-256 hex string computed from the canonical asset digest. Placeholder strings fail schema validation:
The resolved_sha256 field inside continues_from is always null at compile time. The executor fills it with the actual upstream artifact SHA-256 before computing the inputs digest.
CLI accepts --audio keep (default), --audio strip, or --audio require. These flags govern two separate contract layers:
Only intake-generated default contracts (expected_media_contract_source: "intake_default") are touched. Explicit operator contracts are never overridden.
Applies to the assembled output artifact regardless of contract source:
Explicit operator contracts are never overridden. If a shot carries an explicit audio: "forbidden" or audio: "required" entry (no expected_media_contract_source: "intake_default" marker), the source QC contract is left untouched by any --audio flag.
fsf edit manages a versioned edit description. The metadata commands below do not read media or establish source QC/review authority. For verified source import, previews and rendering, use the post-production workflow below.
Prepare definition.json using fsf_edit_definition_v1: set schema_version to fsf_edit_definition_v1 and provide edit_id, clock_rate, sources, and clips. audio_tracks and subtitle_tracks are optional. Do not supply revision, parent_digest, edit_digest, or retired_clip_ids; creation computes those fields. The destination directory must already exist, and creation refuses to overwrite an existing file.
fsf edit create definition.json --out edit.json fsf edit inspect edit.json fsf edit patch edit.json --patch patch.json fsf edit diff before.json edit.json Patches follow fsf_edit_patch_v1 and must identify the current edit ID, base revision and base digest. Save a separate revision snapshot if you need a later diff; patch updates the target file in place. Concurrent cooperating writers cannot both publish from the same base revision. A stale patch is rejected, not automatically rebased.
To locate a clip, copy the current revision and edit digest from inspect:
fsf edit locate edit.json --revision --digest --clip-id C01 Choose exactly one of --clip-id, --position (one-based), --frame (zero-based), or --label. Quote labels containing spaces, for example --label "Officer wide". Label matching is case-insensitive substring matching; multiple matches return candidates and a nonzero exit code, never an automatic selection. Frame ranges exclude their end frame.
Except for help, commands write one JSON object to stdout. Success returns {"ok":true,"result":...}. Errors return {"ok":false,"error":{"code":"EDIT_CONFLICT","message":...}}. Exit codes are 0 for success, 2 for usage, 3 for invalid data, 4 for a stale base, 5 for missing/ambiguous clips, 6 for file IO, 7 for lock timeout, 8 for an existing create target, and 1 for an unexpected internal error. Use error.code to distinguish errors sharing an exit code.
Edit JSON is limited to 8 MiB and nesting depth 64. Duplicate keys and non-finite numbers are rejected. Persistence supports cooperating FSF writers on local filesystems; it does not provide distributed locking or a guarantee of zero data loss on power failure. Source declarations remain declarations, not proof that a media file is valid or approved.
Edit existing real videos without dispatching new generation jobs. Source imports require an exact production plan, execution journal, job manifest, QC report and evaluation receipt. Required source reviews must still be approved. Older executions without the recorded evaluation receipt are rejected; FSF does not reconstruct missing execution evidence.
For new production plans, --post-sources also adds QC after remaster and VFX when those skills are selected. It requires --media and does not itself run generation. Use configured real-media executors or complete the Handoff workflow; the default shape executors cannot produce importable video.
fsf intake sheet.docx --out production fsf plan sheet.docx --media --post-sources --out production/plan.json fsf execute production/plan.json --out production Approve any required source reviews before importing the outputs.
Create an operator-local sources.json using fsf_source_executions_v1:
{ "schema_version": "fsf_source_executions_v1", "executions": [{ "execution_id": "production_A", "root": "production", "job": "job_manifest.json", "plan": "plan.json", "journal": "fsf_execution_journal.json" }] } root is explicitly trusted operator configuration, resolved from the process working directory. Job, plan, journal and artifact paths must stay beneath it; symlinks, reparse points and non-regular files are refused. Do not publish this configuration. The post-production plan cannot supply or override these roots.
Create selection.json using fsf_edit_import_v1. Copy producer_step_id and artifact_ref from the actual production plan; the following identities illustrate the format:
{ "schema_version": "fsf_edit_import_v1", "edit_id": "trailer", "clock_rate": {"num": 24, "den": 1}, "selections": [{ "source_execution_id": "production_A", "producer_step_id": "step_001_T01_generate", "artifact_ref": "artifact:T01.mp4", "label": "Opening shot" }] } Import assigns source IDs S01, S02, etc. and clip IDs C01, C02, etc. in selection order. FSF captures and verifies the source digests and available frame counts; do not manufacture completed journal entries or hand-edit hashes. The edit destination directory must exist.
fsf edit import selection.json --source-executions sources.json --out edit.json fsf edit inspect edit.json fsf edit patch edit.json --patch patch.json fsf edit plan edit.json --out post-plan.json --width 1024 --height 576 --audio keep fsf execute post-plan.json --source-executions sources.json --out post-output An edit patch binds the current edit_id, base_revision and base_digest. For example, these operations trim C01 to source frames [12, 36) and move C02 before C01 (the reorder list must include every current clip exactly once):
[ {"op": "trim", "clip_id": "C01", "in_frame": 12, "out_frame": 36}, {"op": "reorder", "clip_ids": ["C02", "C01"]} ] Put that list in the patch's operations field; it is not a complete patch. All frame values use the edit clock, including rational rates such as {"num":24000,"den":1001}. A trim must remain inside the verified source range. Use clip IDs plus revision/digest when discussing changes; labels may be ambiguous.
Subtitle patches support upsert_subtitle_track, remove_subtitle_track, upsert_cue and remove_cue; see fsf_edit_patch_v1. Each track uses exactly one timebase. Clip-relative cues move with their clip; absolute cues require explicit confirm_timeline_anchor after timing changes. Removing or splitting clips requires repairing any dangling cues in the same patch. Plan options --subtitles sidecar|burned select one track with --subtitle-track when needed. Required subtitle burning failures block delivery instead of silently switching to sidecar.
To preview a clip, copy the current revision and digest from inspect:
fsf edit preview edit.json --source-executions sources.json --out previews --revision --digest --clip-id C01 --start-frame 0 --end-frame 12 The preview range is clip-relative and excludes its end frame. A stale revision is rejected. Preview output binds the edit revision, clip, source SHA and range; it is not a final conformance report or a visual approval.
Post-production uses an independent plan and journal. It rechecks source files, QC evidence and current required reviews before execution, reuse and delivery. Changing the pinned source journal requires a fresh import. Source production files and journals remain unchanged. Real-media sources only are accepted; shape/mock stubs, audio, subtitles and images cannot substitute for video.
Successful execute returns artifact_directory relative to --out. That directory contains movie.mp4, qc.json, source_manifest.json, receipt.json and optional captions.srt. Files are prepared privately and the complete directory becomes visible by a same-filesystem rename. Revision/attempt paths are isolated; --no-resume creates another attempt rather than overwriting a prior movie. Revoking a source review blocks subsequent reuse/delivery but does not delete historical output.
The receipt binds clip selections, clock, source manifest and delivered files. fsf.runtime.post_runtime.verify_post_receipt(folder) checks local bundle integrity; it does not re-check live source approvals. Digests are not signatures, and source approval is not final-film visual approval. Concurrent hostile filesystem mutation is outside the integrity guarantee.
generation_dispatches reports process/API/new-Handoff dispatches separately from post_transform_dispatches and media_process_counts.ffmpeg_calls. The latter counts post-renderer FFmpeg calls, including its version query; Media QC's own probe/filter processes are separate. Resume still rechecks sources and tool version even when all four post steps are reused.
Without audio_mix, audio options retain, remove or require the source audio, padding missing audio with silence when needed for concatenation. An explicitly disabled mix uses this same source-audio path. Post-production does not render Blender scenes or register assets; use the separate commands below for those tasks.
An optional audio_mix in an edit selects exact sources, tracks, events and sample ranges. The existing audio_tracks list supplies track roles and labels; settings refer to track_id. Use clip IDs and event/region IDs when requesting changes, together with the edit revision and digest. Audio inspection reports event positions in 48 kHz samples.
.venv/Scripts/python -m fsf.cli edit audio inspect output/edit.json .venv/Scripts/python -m fsf.cli edit audio import output/edit.json --definition audio-import.json --audio-resources audio-resources.json --out output/audio-declarations.json .venv/Scripts/python -m fsf.cli edit patch output/edit.json --patch audio-patch.json .venv/Scripts/python -m fsf.cli edit plan output/edit.json --out output/post-plan.json .venv/Scripts/python -m fsf.cli edit audio analyze output/post-plan.json --source-executions sources.json --audio-resources audio-resources.json --out output/analysis .venv/Scripts/python -m fsf.cli execute output/post-plan.json --source-executions sources.json --audio-resources audio-resources.json --out output/post The import request follows fsf_audio_import_request_v1 and binds the current edit ID, revision and digest. Its selections explicitly choose audio_source_id, resource_id, relative_path and stream_index. fsf_audio_resources_v1 maps resource IDs to operator-controlled roots. Import returns measured source declarations without changing the edit. It proves integrity and decodability, not video conformance or generation provenance. No adjacent voice file is selected automatically.
Apply initialize_audio_mix once through an edit patch, then use upsert_audio_track (identity plus settings), add_audio_source, upsert_audio_event, upsert_audio_region, their corresponding removal operations, set_audio_settings, or set_audio_enabled. See the operation shapes in fsf_edit_patch_v1. Initialization must supply the complete settings and routing; original video sound needs explicit clip_original sources and events in an enabled mix. Removed IDs cannot be reused. Disabling a mix retains its settings and history; it does not apply its external sources, gains or mute controls.
Events use canonical 48 kHz stereo sample trims and clip-relative or explicitly anchored timeline placement. Events on one track cannot overlap. Regions are event-relative sample intervals. Changes use the existing revision/digest compare-and-publish protocol. confirm_audio_timeline_anchor explicitly confirms an absolute event after a video timing change. Gain changes do not change the video timing anchor. --audio strip conflicts with an enabled mix.
Normalization is off unless requested. Dialogue groups analyze selected event contents in event declaration order, before placement gaps, manual gain and mute; this is not whole-film loudness. BGM/SFX cannot be dialogue-group members. Required normalization needs at least ten seconds of selected content and a measurable loudness; silence or an unreachable target blocks delivery. Linear normalization is capped at +12 dB. Manual gain remains after normalization, so a master target of -16 LUFS followed by -3 dB has an effective target of -19 LUFS. Group normalization imposes no -16 LUFS target on the final mixed film.
The renderer applies bounded ramps, peak limiting without automatic gain compensation, and one final AAC encode. It measures the encoded MP4 again and allows at most two additional attempts with tighter peak headroom. It never changes manual gain to hide an unreachable target. Processing shares a fixed 300-second assemble budget; bounded process cleanup can take additional time. Interrupting an audio/edit/post CLI operation returns a bounded cancellation response with exit status 130, without a traceback. Delivery includes audio_report.json and audio_analysis.json; numeric checks and listening_review: not_reviewed remain separate. A missing peak reading is not a passing measurement. Decoded all-zero audio can be delivered with numeric_quality: unmeasurable and peak_status: verified_digital_silence; other missing measurements block delivery. A required master LUFS target still cannot pass on silence.
For A/B listening, preserve two edit snapshots differing only in audio processing:
The Python API fsf.core.asset_library.validate_asset_record(record, resource_root=...) checks a fsf_library_asset_record_v1 against local files and returns an isolated record copy. This validation function does not register assets or create an index. Use fsf asset register and fsf asset get for immutable registration and fixed-version lookup, described in the Blender section below. Both v1 records and v2 control-asset records are accepted without changing their respective role definitions.
Validation checks the primary artifact reference, supported kind and role/MIME pairs, reference-image bindings, portable relative paths, file sizes and SHA-256, and both record digests. Every declared file must exist under the explicit resource root. Symlinks, reparse points and non-regular files are rejected.
ref_images[].role describes the semantic category (character, scene, prop, or style); artifacts[].role describes file usage. A reference-image SHA must resolve to an artifact with usage reference_image. An image-only asset may use that artifact as its primary. The content hash binds the asset specification; the record digest also binds artifact declarations and order, excluding only itself and location hints (artifacts[].locator). Moving a locator does not change that digest, but the new location is still checked.
Successful validation proves the declared integrity checks at the time of reading. It does not decode media, establish complete model dependencies, certify rendering/Gaming/VR suitability, or protect against every concurrent filesystem replacement. Consumers must re-check files when using them.
These local commands were introduced in rc7 and are included in rc8.
fsf blender runs controlled, trusted small scenes with CPU Cycles. Supported profiles are reference (one frame, up to two named cameras) and clay_v1 (explicit gray material override, camera/object transform keyframes). The tested Blender families are 3.2 and 4.3. Blender is an operator-installed external tool.
Create a fsf_blender_request_v1 JSON document using the packaged schema. It binds a verified source asset record, relative source file, named cameras, resolution, rational clock, half-open frame interval, and optional linear position/Euler-rotation keyframes. The source root contains record.json and its declared resources. Asset records verify bytes and declarations, not scene safety. Only explicitly trusted scenes are accepted; disabling auto-execution is not a sandbox for hostile files.
fsf blender check --executable fsf blender plan request.json --out plan.json fsf blender execute plan.json --source-root source --out renders --executable --trusted-scene fsf blender verify renders/ fsf blender condition renders/ --view-id front --out condition.json fsf blender record renders/ --asset-id prop_A --asset-version 1 --prompt "A fixed prop" --out record.json fsf asset register record.json --resources renders/ --library library fsf asset get prop_A 1 --library library Create output/library directories before these commands. Executing the same plan revalidates and reuses its bundle. --no-resume creates a separate attempt; existing bundles and asset versions are not overwritten. JSON output files must not already exist. A model, frame files, portable control MP4, manifest and receipt are published together only after validation. Static references have no control MP4. No credentials or operator scripts are copied into the bundle.
The small-scene profile limits rendering to 96 frames per view, two views, 512-by-512 pixels, 64 objects, 250,000 mesh vertices and 64 MiB of declared input files. Frame rates are 24 and 24000/1001. The transform has a shared 120-second processing deadline; cleanup may extend wall time. These limits are not a hard OS memory sandbox. Linked libraries, pre-authored animation, constraints, modifiers and executable drivers, compositing and sequencer overrides are unsupported. CPU profiles use four samples, seed zero and no denoising. Tool-binary and worker-script digests participate in reuse identity. Reference images require available textures; clay is an explicit override, never an automatic missing-texture fallback.
Dynamic artifacts use fsf_library_asset_record_v2 control roles; v1 records retain their original semantics. Control videos are conditioning inputs, not approved story footage or video-continuity sources. They never enter static ref_images. Condition metadata binds the actual video SHA, clock, frame count and frame mapping. Only preprocess="none" is supported; implicit resampling, cropping, looping and prompt-only fallback are refused.
Python callers can use condition_request, validate_condition_capability and validate_condition_ack from fsf.runtime.blender. Handoff workorders can carry video_condition and condition_capability; successful results must return a matching condition_acknowledgement. This acknowledgement reports use, not visual compliance. Render receipts keep motion_review="not_reviewed". Remote scheduling and model generation are separate capabilities; these commands do not submit jobs or promise that a model will follow the control motion.
Blender is not required for this import. Create controls/ first, then run:
fsf blender import-control user-control.mp4 --out controls --control-id user_A fsf blender verify controls/ fsf blender condition controls/ --view-id imported --out condition.json fsf blender record controls/ --asset-id control_A --asset-version 1 --prompt "User motion control" --out record.json fsf asset register record.json --resources controls/ --library library The import copies the original bytes, fully decodes the video and records its SHA, actual frame timing, decoded RGB digest and identity frame mapping. Repeating an unchanged import revalidates the existing bundle. The manifest identifies operator_control_video_import; it does not claim Blender camera evidence or certify a gray material profile. clay_profile is unverified and motion_review remains not_reviewed. No Blender render receipt is fabricated.
This first import profile accepts a single video-only MP4 stream, 24 or 24000/1001 constant fps, zero-based timestamps, at most 96 frames, even dimensions from 32 to 512 pixels, square pixels and at most 64 MiB. Audio, rotation, variable timing and unsupported dimensions/rates are refused, not silently stripped or converted. Prepare a conforming export in the source tool if necessary. Processing shares a 120-second budget; cleanup may take longer. Existing bundles are never overwritten. Use a short output directory on Windows to stay within filesystem path limits.
The resulting condition uses the same capability and Handoff acknowledgement checks as rendered controls. Registration and acknowledgement do not prove that a model followed the motion. These commands do not run a generation model.
The separate production importer retains a complete control movie rather than requiring the operator to split it into short assets. The original Blender import profile above keeps its existing limits.
fsf production import-control full-control.mp4 --out controls --control-id control_A fsf production verify-control controls/ fsf production segments controls/ --capability capability.json --shot-id shot_A --policy-digest --out segments.json Create controls/ first. The production input profile accepts video-only CFR MP4, square pixels, no rotation, 24/1 or 24000/1001 fps, even dimensions from 32 through 3840, up to 120 minutes and 64 GiB, subject to decoding and disk budgets. It refuses implicit conversion. Verified decode checkpoints survive interruption; incomplete directories are not delivery sources.
production split-artifact and assemble-artifact provide content-checked chunks on mounted disks. A transfer adapter must transport those chunks; these commands do not make the old native archive limit disappear.
The Python production parent supports finite leases, bounded attempts, exact budget reservations and provider reconciliation. Its remote driver reuses existing native dispatch and collection. A current-source and quality verifier is mandatory: provider completion does not approve story footage. These components can coordinate operator-supplied generation and evaluation backends across finite batches. Building a long-take or feature-film workflow is separate from demonstrating its visual quality. World-state records preserve declared identity, spatial and prop facts across chapters; they do not force model pixels to obey. ASR callbacks and ducking envelopes require explicit backend/rendering integration. Required missing, rejected or unknown quality checks block machine acceptance, which does not grant human approval or evaluator calibration.
Use short working roots on Windows: deeply nested hash-based checkpoint paths can exceed platform path limits. Native ZIP transfer remains limited to 64 MiB; local checkpoint chunks and streamed HTTP outputs have separate limits. Large-card hardware qualification, full-length neural works and calibrated visual-quality statistics are not established by these software interfaces.
production calibration-corpus checks an operator-supplied set of double annotations, balanced development and held-out windows, and split isolation. production calibration-check scores exactly the frozen held-out predictions bound to their media, evaluator and policy digests. Unknown results do not count as correct decisions. The tools do not supply human labels or qualify a model without real labeled examples; they do not change human review states.
production workorder-definition binds a remote definition to a workorder already emitted by production execution. production fulfill-remote rechecks the corresponding remote result, video QC and bytes before publishing its Handoff result. It refuses mismatched parent IDs, attempts and contracts; it does not re-label an unrelated remote clip as a new production job. Resume the original production execution to obtain its own journal and QC evidence. The bridge never writes production completion entries or approves reviews.
Both files in this release have provenance metadata.
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
Both files in this release have been uploaded with provenance metadata.
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.




