Documentation Index
Fetch the complete documentation index at: https://docs.uselamina.ai/llms.txt
Use this file to discover all available pages before exploring further.
The Core Lamina Model
App
An app is a packaged workflow with a stable input contract. Think of an app as the unit you expose in your product. One app might generate product imagery, another might run try-on, and another might turn still assets into video. The integration pattern stays the same. You use app endpoints to:- discover what is available
- inspect the app’s parameters
- optionally inspect the underlying workflow graph
- start an execution
Execution
An execution is one asynchronous run of an app. Executions are durable server-side jobs. They may complete quickly for lightweight image tasks, or take longer for multi-step catalog and video workflows.Standard Flow
The point of this model is stability: your backend always works with
appId, runId, inputs, and outputs, even as the workflows behind those apps evolve.
Execution Lifecycle
Executions move through a small set of top-level states:queuedrunningcompletedfailed
?webhook= URL to receive results automatically, or treat the execution ID as a job handle and poll for status.
What Comes Back
When you first start an execution, Lamina may return placeholder outputs with statuspending.
When the execution finishes:
- output
typechanges frompendingto something likeimage,video, ortext valuecontains the final resultstatusbecomescompletedfor successful outputs
- the top-level
errorMessage - each output’s
errorfield
When To Use Workflow Inspection
GET /v1/apps/{appId}/workflow returns the node graph behind an app.
Most product integrations do not need this endpoint. It is useful when you want to:
- reason about what the app does internally
- build richer agent tooling
- classify apps by pipeline structure
- list apps
- get app
- run app
- get execution