Skip to main content
POST

Authorizations

Authorization
string
header
required

Send the raw luk- API key. Do not add Bearer.

Body

application/json
workflowId
enum<string>
required
Available options:
ImageGenV2
input
object
required
attributes
object
quoteId
string<uuid>

Response

The submitted asynchronous task. Save id and poll GET /tasks/{id}.

id
string

Save this id to query the result.

workflowId
string
status
enum<string>
Available options:
Created,
Pending,
Running,
Succeeded,
Failed,
Cancelled
output
object | null

Generated result or plan when the task succeeds; null before completion.

errorMessage
string | null

Failure detail when available.

credits
integer | null

Credits charged when available.