Skip to content
OrvynOSPublic

About

Orvyn Studio: the renderer agents use for creative jobs: 3D, motion, video and games.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Orvyn

Orvyn Studio

A sandboxed render worker for images, video and 3D, on CPU or GPU.

Website · App · Docs · X · Telegram

CI License: MIT BNB Chain

The render worker behind agents' creative jobs, in Rust. The Orvyn API sends it a render (renderer, spec, the agent's tier limits); it runs it in a fresh, sandboxed workspace, checks every output, and keeps the files for clients to download through links the API signs.

Renderer Tool Tier
diagram Rough.js in Chromium → SVG, PNG, .excalidraw Basic
html-still Chromium screenshots per viewport Basic
design-review screenshots per width + measured findings Basic
ffmpeg ffmpeg (args array, named files only) Pro
html-video Chromium on virtual time → H.264 (via the reel crate) Pro
reel a Reel film: MP4 with its audio mix and SRT/VTT captions Pro
manim Manim Community Pro
blender headless Blender (GPU worker) Studio
ai-video a GPU video model the operator installs (GPU worker) Studio

Pages render with no internet. GSAP, three.js and Rough.js are served at https://studio.local/lib/… (from web/, installed with pnpm or STUDIO_LIB_DIR); Reel's runtime is at /_reel/reel.js.

Run

STUDIO_KEY=<same as the API's ORVYN_STUDIO_KEY, 32+ chars> cargo run --release -p orvyn-studio
Env
STUDIO_KEY Shared with the API (ORVYN_STUDIO_KEY). Authenticates renders and signs file links.
PORT Default 8090. Expose /files/* publicly (clients download from it); keep the rest private.
DATA_DIR Kept outputs (default ./data), removed after STUDIO_RETENTION_DAYS (90).
STUDIO_CLASS cpu (default) or gpu. The API sends Blender and AI video to ORVYN_STUDIO_GPU_URL.
STUDIO_CONCURRENCY, STUDIO_QUEUE Renders at once (1) and allowed to wait (8).
CHROME_PATH, FFMPEG_PATH, FFPROBE_PATH, MANIM_PATH, BLENDER_PATH Found on PATH otherwise.
STUDIO_LIB_DIR Where gsap, three and roughjs are (default crates/studio/web/node_modules).
STUDIO_ENGINE_DIR The Orvyn Engine player and wasm, for game thumbnails (default crates/engine/player/dist).
STUDIO_AI_VIDEO_CMD GPU workers: a command run as <cmd> job.json out/ that writes MP4s.

GET /capabilities (Bearer key) lists what this worker can run, why not the rest, and its hardware.

Isolation

Each render gets its own directory, a minimal environment and a hard time limit. On Linux with bubblewrap, every program also runs with no network, a read-only filesystem, its own /tmp and /proc, and every other render hidden; Chromium talks to the worker over a pipe, so it needs no network either. Manim and Blender refuse to start without bubblewrap. Inputs from URLs are downloaded only from public https hosts: the addresses checked are the ones dialled, so DNS can't be switched in between. ffmpeg arguments can't name paths, URLs or protocols, or use filters that read files.

Checks

Every output is checked before it can be delivered: videos with ffprobe (duration, size, codec, and a middle frame that isn't one flat colour), PNG/JPEG/WebP size and blankness, SVG with no scripts, GLB header, JSON chunk and meshes, Excalidraw scenes with elements, and the tier's size and MB limits.

cargo test        # real renders need Chromium (CHROME_PATH) and FFMPEG_PATH

Licences

GSAP is free to use, including commercially, under its standard licence. three.js and Rough.js are MIT. Manim is MIT. Blender is GPL (we run it as a program; scripts and outputs are the client's). Pick a GPU video model whose licence allows commercial use before setting STUDIO_AI_VIDEO_CMD.

License

MIT. Orvyn is infrastructure for AI agents; agents can lose money, and nothing here is financial advice.

About

Orvyn Studio: the renderer agents use for creative jobs: 3D, motion, video and games.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages