Repository navigation
Releases
v0.1.5
vpipe-api setup [--models h3,flashvsr] [--check] [--yes] [--json] [--lan] [--service] [--port N] [--prefix DIR] [--label-suffix S] [--coordinate-with NAME=HEALTH_URL]: one command for what took
setup vpipe+setup models+ editing the config by hand, the same as the other AI servers.
h3builds vpipe (under--prefix, default~/.local/opt/vpipe-api) and prepares H3 Turbo;flashvsr
prepares FlashVSR.--checkchanges nothing and reports each component asinstalled,missing(with
its download size) orunsupportedwith the reason (not Apple Silicon, macOS older than 26, no Xcode /
cmake). It asks once before downloading (exit 3 without a terminal and without--yes) and stops before
anything when the disk cannot hold the peak (185 GB for H3). The config getsvpipe_bin,
vpipe_src_dirandwork_dir(existing keys are kept);--lan,--port,--coordinate-withand
--service(a launchd agent, checked through/v1/health) are optional.setupruns on an invalid config (it warns and keeps every key), updates a--coordinate-withpeer
already in the config, and waits for launchd to unload the old agent before loading the new one.setup vpipewritesvpipe_bin,vpipe_src_dirandwork_dirto the config instead of printing them.
setup vpipeandsetup modelsotherwise work as before.
Install / update
uv tool install git+https://github.com/kabatin/vpipe-api@v0.1.5 # new install
uv tool install --reinstall git+https://github.com/kabatin/vpipe-api@v0.1.5 # update an existing installThe config and its token are kept. Restart the server after updating, once /v1/health shows "running": 0:
launchctl kickstart -k gui/$(id -u)/com.github.kabatin.vpipe-api for the LaunchAgent, or run vpipe-api setup --service again.
ixa 0.8.3 and later do this for you: pnpm ixa ai install upgrades an older vpipe-api before checking what is installed.
Full changes: v0.1.4...v0.1.5
v0.1.4
minimax-h3-turbo-videotakesaudio: true: the clip keeps H3's soundtrack (dialogue, sound effects,
music), which the model generates with the picture anyway, as AAC ending with the last frame. Without it,
the clip stays silent as before. A clip vpipe returns without a soundtrack fails withunexpected_output.coordinate_with: other GPU servers on the Mac (ace-step-api, sfx-api, klein-api) whose/v1/health
the next job waits for. It starts only once every one reportsrunningandwaitingat 0 (and
outside_runs, when present), and not withinsettle_seconds(30) of seeing one busy. A server that
cannot be asked counts as idle; a running job is never stopped. While the head job waits, its job shows
waiting_forand/v1/healthcounts it inwaiting_for_peerinstead ofwaiting, so the other servers
go first rather than all waiting for each other.doctorasks each server;configlists them without
their tokens. Withoutcoordinate_with, nothing changes.- A job whose record cannot be saved as it starts (a full disk) fails as
internal(retryable) instead
of stopping the worker, which leftrunning: 1and the queue stuck until a restart.
Install / update
uv tool install git+https://github.com/kabatin/vpipe-api@v0.1.4 # new install
uv tool upgrade vpipe-api # existing install (follows main)Restart vpipe-api serve after updating, once /v1/health shows "running": 0. Add [[coordinate_with]]
to the config only after the update: 0.1.3 refuses a config with keys it does not know.
Full changes: v0.1.3...v0.1.4
v0.1.3
minimax-h3-turbo-videotakesnative: true: the clip comes back at its generation size, only
center-cropped to the shape ofoutput(1920×1080 atfinal: 1344×756), for clients that scale it
themselves.result.outputgives the returned size;details.generationthe size before the crop. Without
it, nothing changes. Idempotency keys made before the update still match.
Install / update
uv tool install git+https://github.com/kabatin/vpipe-api@v0.1.3 # new install
uv tool upgrade vpipe-api # existing install (follows main)Restart vpipe-api serve after updating, once /v1/health shows "running": 0.
Full changes: v0.1.2...v0.1.3
v0.1.2
- Workflow
flashvsr-upscale: FlashVSR v1.1 super-resolution of an uploaded MP4 (≤ 64 MB, ≤ 40 s) to an
exact size, keeping the source's frame count, frame rate and audio. It shares the GPU slot and the
waiting queue with every other workflow. Model:vpipe-api setup models flashvsr-upscale(≈ 6.8 GB). estimate_secondson every job (and in the submit's202body): the workflow's estimate of the run, as
in wan-api, so clients need no formula of their own.timingson every job (queue_seconds,backend_seconds,postprocess_seconds,total_seconds),
measured by the server, same keys as wan-api.- A submit to a workflow whose model is not downloaded is refused before its body is read:
409 model_not_installed(not retryable).doctorwarns instead of failing when another workflow can
still run, anddoctor --smokeskips that workflow. setup modelscan fetch a model vpipe uses as published (no prepare pipeline), with one download
stream: vpipe's default eight stalled at 0 % on every try.max_body_mbdefaults to 96 (a 64 MB video is about 86 MB as base64)./v1/healthreportsoutside_runs:vpipecommand-line runs on the Mac that the server did not start
(an experiment,doctor --smoke). The next queued job waits while there are any.- Outputs are exactly 24 fps again. Since 0.1.1 the frame rate was guessed from the Matroska intermediate's
millisecond timestamps; with large frames (final) the file came out at a guessed rate (23.976 on our server)
with the right frame count, while the job result still saidfps: 24.
Install / update
uv tool install git+https://github.com/kabatin/vpipe-api@v0.1.2 # new install
uv tool upgrade vpipe-api # existing install (follows main)
vpipe-api setup models flashvsr-upscale # optional: the FlashVSR model (~6.8 GB)Restart vpipe-api serve after updating, once /v1/health shows "running": 0.
Full changes: v0.1.1...v0.1.2
v0.1.1
quality: "final": H3's training resolution (short side 768; 1344×768 for 16:9), about 3× the time ofdraft.- vpipe now writes a lossless intermediate (FFV1, 4:4:4, full-range BT.709) instead of 2 Mbps H.264, so the final
encode is the only lossy step. The final encode always runs (it used to be a stream copy at the same size) and
converts to limited-range BT.709, tagged as such (the output used to carry BT.601 / mixed tags). - Time estimates refit to ~140 measured jobs,
finalat 124 and 243 frames included (they ran up to ~20 % low).
Job timeouts andRetry-Afterfollow the new estimates. - WebP start/end images decode (Pillow was handed an MPO decoder that does not exist, which ended the lookup).
- Docs: a first job with curl, how to update, every config key, measured times for each tier, memory use of
final.
Install / update
uv tool install git+https://github.com/kabatin/vpipe-api@v0.1.1 # new install
uv tool upgrade vpipe-api # existing install (follows main)Restart vpipe-api serve after updating, once /v1/health shows "running": 0.
Full changes: v0.1.0...v0.1.1