Anvil Media¶
Anvil Media runs image and video generation as named, versioned workflows. Callers pick a workflow and its parameters; they never send a raw backend graph, a file path, or a placement choice. Each run is a durable job that survives disconnects and ends with an opaque, inspectable artifact.
Run bounded named image and video workflows with durable jobs and artifacts.
Boundary
Owns workflow validation, job state, cancellation, reconciliation, qualification, and opaque artifacts; callers cannot submit raw backend graphs, paths, installs, placement choices, or fallback lists.
The journey¶
Each step is a supported command. Run anvil-serving product journey anvil-media to print the same journey from the CLI.
Discover¶
List named workflows and their qualification-gated availability.
Result Callers see explicit workflow ids, versions, schemas, profiles, and blockers.
Inventory¶
Verify exact pinned worker assets before execution.
Result Missing or mismatched model assets fail closed without modifying the worker.
Validate¶
Validate one workflow against its selected backend.
Result Runtime compatibility is checked without accepting a raw workflow graph.
Preview¶
Review a bounded submission without creating work.
anvil-serving media workflow run <WORKFLOW> --version <VERSION> --parameters <JSON> --principal <ID> --backend-url <URL> --dry-run
Result The exact named workflow and parameter binding is available for review.
Observe¶
Inspect the durable job and its opaque artifact metadata.
Result Progress, terminal state, and artifact identity survive caller disconnects.
When to use it¶
- Agents or apps need image or video generation with predictable inputs.
- You want generation to fail closed when a pinned model asset is missing.
- Long jobs must keep running, and stay cancellable, after the caller leaves.
Go deeper¶
- Operator video workflows
- ComfyUI migration runbook
- Command reference: media