Skip to content
PuniDocs
Open Puni

Renderer commands


Talk to the local renderer: Cycles stills from a GLB, and film jobs.

These commands talk to the local renderer on your own machine. Read Rendering for setting it up.

puni rendererTalk to the local renderer: Cycles stills from a GLB, and film jobs.

CommandWhat it does
puni renderer healthAsk the local renderer whether it is running and what it has.
puni renderer submitQueue a Cycles still of an existing GLB. Success means admitted, not finished.
puni renderer statusRead a job's state.
puni renderer cancelCancel a queued or running job.
puni renderer retryRetry a failed or cancelled still as a new job.
puni renderer downloadDownload a finished job's file after checking the receipt's checksum.

#renderer health

Ask the local renderer whether it is running and what it has.

puni renderer health

FlagTypeDefaultValuesWhat it does
--bridge-urlstringhttp://127.0.0.1:4317The local renderer's loopback origin.
--timeoutnumber120000Deadline for the whole operation in milliseconds, 1 to 1800000.
--jsonbooleanfalseAnswer with one JSON envelope instead of the shell view. Exception: agent serve streams raw lifecycle JSON lines before its final envelope.
--help -hbooleanPrint the command list.

#Run renderer health

bash
puni renderer health --json

#renderer submit

Queue a Cycles still of an existing GLB. Success means admitted, not finished.

puni renderer submit --file model.glb --settings settings.json

FlagTypeDefaultValuesWhat it does
--file requiredstringA GLB of 20 bytes to 64 MB with no external references.
--settings requiredstringRender settings JSON; unitScale is required.
--bridge-urlstringhttp://127.0.0.1:4317The local renderer's loopback origin.
--timeoutnumber120000Deadline for the whole operation in milliseconds, 1 to 1800000.
--jsonbooleanfalseAnswer with one JSON envelope instead of the shell view. Exception: agent serve streams raw lifecycle JSON lines before its final envelope.
--help -hbooleanPrint the command list.

#Run renderer submit

bash
puni renderer submit --file model.glb --settings settings.json --json

#renderer status

Read a job's state.

puni renderer status JOB_ID [--kind film]

FlagTypeDefaultValuesWhat it does
--kindstringfilmRead a film job instead of a still.
--bridge-urlstringhttp://127.0.0.1:4317The local renderer's loopback origin.
--timeoutnumber120000Deadline for the whole operation in milliseconds, 1 to 1800000.
--jsonbooleanfalseAnswer with one JSON envelope instead of the shell view. Exception: agent serve streams raw lifecycle JSON lines before its final envelope.
--help -hbooleanPrint the command list.

#Run renderer status

bash
puni renderer status 6f1c… --json

#renderer cancel

Cancel a queued or running job.

puni renderer cancel JOB_ID [--kind film]

FlagTypeDefaultValuesWhat it does
--kindstringfilmCancel a film job instead of a still.
--bridge-urlstringhttp://127.0.0.1:4317The local renderer's loopback origin.
--timeoutnumber120000Deadline for the whole operation in milliseconds, 1 to 1800000.
--jsonbooleanfalseAnswer with one JSON envelope instead of the shell view. Exception: agent serve streams raw lifecycle JSON lines before its final envelope.
--help -hbooleanPrint the command list.

#Run renderer cancel

bash
puni renderer cancel 6f1c… --json

#renderer retry

Retry a failed or cancelled still as a new job.

puni renderer retry JOB_ID

FlagTypeDefaultValuesWhat it does
--bridge-urlstringhttp://127.0.0.1:4317The local renderer's loopback origin.
--timeoutnumber120000Deadline for the whole operation in milliseconds, 1 to 1800000.
--jsonbooleanfalseAnswer with one JSON envelope instead of the shell view. Exception: agent serve streams raw lifecycle JSON lines before its final envelope.
--help -hbooleanPrint the command list.

#Run renderer retry

bash
puni renderer retry 6f1c… --json

#renderer download

Download a finished job's file after checking the receipt's checksum.

puni renderer download JOB_ID --artifact output.png --output still.png [--kind film]

FlagTypeDefaultValuesWhat it does
--artifactstringoutput.png, output.blend, output.mp4 or frame-NNNNNN.png from the receipt; with --kind film only output.mp4. Defaults to output.png, or output.mp4 for a film.
--output requiredstringWhere to write the file.
--kindstringfilmDownload a film instead of a still.
--bridge-urlstringhttp://127.0.0.1:4317The local renderer's loopback origin.
--timeoutnumber120000Deadline for the whole operation in milliseconds, 1 to 1800000.
--overwritebooleanfalseReplace the output file if it already exists.
--jsonbooleanfalseAnswer with one JSON envelope instead of the shell view. Exception: agent serve streams raw lifecycle JSON lines before its final envelope.
--help -hbooleanPrint the command list.

#Run renderer download

bash
puni renderer download 6f1c… --artifact output.png --output still.png --json

Back to the command line index for every group.

Was this useful?