One-call creation endpoint. Provide a natural-language brief and Lamina handles everything: resolves brand context, selects the best workflow/app, injects guidance into prompts, and executes.
How it works:
appId is provided, selects the best-matching app for the brief, platform, and modalityAfter starting: Use GET /v1/runs/{runId} to poll for results,
GET /v1/runs/{runId}/stream for SSE streaming, or pass a
webhook query parameter on the execution.
Optional overrides:
appId — Force a specific app instead of automatic selectioninputs — Override specific input parameters on the selected apptemplateId — Apply a content template for structured guidance (from GET /v1/templates)brandProfileId / campaignId — Scope brand context to a specific profile or campaignOne-call creation. Describe what you want, and the API handles app selection, input mapping, brand context injection, and execution. Instead of manually choosing an app and mapping inputs, pass aDocumentation Index
Fetch the complete documentation index at: https://docs.uselamina.ai/llms.txt
Use this file to discover all available pages before exploring further.
brief describing the content you need. The engine resolves brand context, selects the best-fit app, injects creative guidance, and starts the execution.
The operation is asynchronous — use the returned run ID with the wait, stream, or get-run endpoints to retrieve results.
Best for agent-driven workflows where you want a single call to go from intent to finished asset.Workspace API key. Prefix: lma_. Example: lma_abc123...
Natural-language description of what content to create. This is the primary input.
Target platform (e.g. instagram, tiktok, facebook). Helps select the right app and optimize guidance.
Desired content modality (e.g. image, video). Helps select the right app.
Scope brand context to a specific brand profile.
Scope guidance to a specific campaign.
Force a specific app instead of automatic selection. Use GET /v1/apps to find app IDs.
Override specific input parameters on the selected app. Keys are parameter names.
Apply a content template for structured guidance. Use GET /v1/templates to find template IDs.
Auto-quality guarantee. Score output after completion and retry if below threshold.
Output aspect ratio. Auto-mapped to the matching workflow parameter. Common values: 1:1, 16:9, 9:16, 4:3, 3:4, 4:5, auto.
"9:16"
Freeform context about the target placement, injected into prompt engineering as structured document context. Useful for passing context from the calling application without manually writing it into the brief.
{
"documentTitle": "Summer Collection 2026",
"fieldName": "heroImage",
"fieldPurpose": "Main banner image for collection landing page",
"dimensions": { "width": 1920, "height": 1080 }
}Content creation started. Poll the run for results.
Run details including runId, workflowId, and status.