Skip to main content Switch to mobile version layer 1.0.134 Command-line interface for Layer — AI asset generation for game studios.
pip install layer==1.0.134 Copy PIP instructions
Command-line interface for Layer — AI asset generation for game studios.
Reaches the same models, workspaces, and Creative Unit balance as the app, from a terminal, a Makefile, or a CI job.
uv tool install layer # or: pipx install layer Python 3.10 and up — deliberately older than the services that build it, so the same package imports inside Blender, Maya, and Houdini.
Working on the CLI itself? Install it from your checkout instead, so the layer command follows the branch you have out:
task -d apps/cli-py install-cli Sign in
layer login # prints a link and a code, opens the link when it can layer whoami layer use my-studio For CI and other unattended runs, set LAYER_API_KEY to a personal access token instead of signing in.
layer generate image -p "a crystal sword icon, transparent background" layer generate video -d 5 --aspect-ratio 16:9 -p "camera pushes through the gate" layer generate mesh -p "weathered treasure chest, game-ready" layer generate audio -p "arcade coin pickup" Each waits for the run, prints what it cost, and writes the result into the working directory under a name derived from the prompt — never overwriting a file already there. -o takes a directory, or the exact filename when there is a single output; --no-download prints URLs instead.
Leave --base-model off and the recommended model for that modality is chosen and named. The catalog is read from your workspace, not shipped with the package:
layer base-models list --modality video layer base-models show bfl-flux-2-pro # the keys --param accepts Every run is priced before it executes. --confirm asks first; --max-cost 8 refuses anything more expensive. For a long render, submit and collect later:
id=$(layer --json generate video --no-wait -p "..." | jq -r .inference_id) layer generate status "$id" --wait Where settings come from
an environment variable — LAYER_PROFILE, LAYER_WORKSPACE, LAYER_PROJECT, LAYER_API_URL, LAYER_API_KEY
layer.toml, found by walking up from the working directory
the active profile in ~/.layer/config.toml
Committing a layer.toml pins a checkout to its workspace, so two repos open in two terminals cannot generate into each other's:
workspace = "my-studio" project = "season-12-art" Scripting
--json puts the result on stdout and nothing else — progress, warnings, and errors all go to stderr, so a pipeline never has to filter them out.
layer --json whoami | jq -r .workspace layer --json generate image -p "..." | jq -r '.files[].path' Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 insufficient balance, 5 invalid input, 6 content policy, 7 timeout. They may gain members, never change meaning, so a caller can branch on them without parsing prose.
Driving Layer from an agent rather than a shell? There is an MCP server and an Agent Skills pack.
Apache-2.0 View SPDX License List
layer ai generative game-development cli
Development Status 4 - Beta
Intended Audience Developers
Topic Multimedia :: Graphics
Software Development :: Build Tools
Release files for layer 1.0.134
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 242.8 kB
Release files / layer-1.0.134.tar.gz
Release files / layer-1.0.134-py3-none-any.whl
Security for layer 1.0.134
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.
None of the files in this release were uploaded with provenance metadata.
A note on package security
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.
Release history Release notifications | RSS feed
Dec 3, 2026 2 release files No provenance
Dec 1, 2026 2 release files No provenance
Nov 28, 2026 2 release files No provenance
Nov 24, 2026 2 release files No provenance
Nov 23, 2026 2 release files No provenance
Nov 20, 2026 2 release files No provenance
Nov 19, 2026 2 release files No provenance
Nov 18, 2026 2 release files No provenance
Nov 17, 2026 2 release files No provenance
Nov 16, 2026 2 release files No provenance
Nov 13, 2026 2 release files No provenance
Nov 12, 2026 2 release files No provenance
Nov 11, 2026 2 release files No provenance
Nov 9, 2026 2 release files No provenance
Nov 8, 2026 2 release files No provenance
Nov 5, 2026 2 release files No provenance
Nov 4, 2026 2 release files No provenance
Nov 2, 2026 2 release files No provenance
Oct 29, 2026 2 release files No provenance
Oct 23, 2026 2 release files No provenance
Oct 22, 2026 2 release files No provenance
Oct 21, 2026 2 release files No provenance
Oct 19, 2026 2 release files No provenance
Oct 18, 2026 2 release files No provenance
Oct 14, 2026 2 release files No provenance
Oct 13, 2026 2 release files No provenance
Oct 12, 2026 2 release files No provenance
Oct 9, 2026 2 release files No provenance
Oct 8, 2026 2 release files No provenance
Oct 7, 2026 2 release files No provenance
Oct 6, 2026 2 release files No provenance
Oct 2, 2026 2 release files No provenance
Sep 26, 2026 2 release files No provenance
Sep 24, 2026 2 release files No provenance
Sep 22, 2026 2 release files No provenance
Sep 18, 2026 2 release files No provenance
Sep 17, 2026 2 release files No provenance
Sep 14, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




