Layer API documentation
Generate any modality
Section titled “Generate any modality”One API for image, video, 3D, and audio — 500+ models plus the custom styles your team trains.
Key concepts
Section titled “Key concepts”Workspaces are the top-level container. Every API call is scoped to a workspace, which holds your team, models, assets, and Creative Unit balance.
Models are the AI engines that generate assets. Each supports specific modalities (image, video, 3D, audio) and capabilities (reference images, inpainting, style transfer) — 500+ built-in, plus any custom styles your team has trained.
Inferences are individual generation runs. You pick a model, provide a prompt and parameters, and Layer returns the assets. Inferences run asynchronously — you start one and poll for results.
Workflows are multi-step pipelines built in the Layer app’s Blueprint editor. They chain operations (e.g. generate an image, upscale it, remove the background) and are callable as a single API endpoint.
Files are uploaded inputs — reference images, masks, poses, audio — that you pass to inferences as guidance.
Creative Units (CUs) are the billing currency. Cost varies by model and output size. Use the estimate endpoints to check cost before generating.



