Skip to main content
POST
Create Content
One-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 a 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.

Authorizations

x-api-key
string
header
required

Workspace API key. Prefix: lma_. Example: lma_abc123...

Body

application/json
brief
string
required

Natural-language description of what content to create. This is the primary input.

platform
string | null

Target platform (e.g. instagram, tiktok, facebook). Helps select the right app and optimize guidance.

modality
string | null

Desired content modality (e.g. image, video). Helps select the right app.

brandProfileId
string<uuid> | null

Scope brand context to a specific brand profile.

campaignId
string<uuid> | null

Scope guidance to a specific campaign.

appId
string<uuid> | null

Force a specific app instead of automatic selection. Use GET /v1/apps to find app IDs.

inputs
object | null

Override specific input parameters on the selected app. Keys are parameter names.

templateId
string | null

Apply a content template for structured guidance. Use GET /v1/templates to find template IDs.

autoQuality
object | null

Auto-quality guarantee. Score output after completion and retry if below threshold.

aspectRatio
string | null

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.

Example:

"9:16"

metadata
object | null

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.

Example:

Response

Content creation started. Poll the run for results.

data
object

Run details including runId, workflowId, and status.