Skip to main content
POST
Start a creative session (saves the brief and generates drafts with your key)

Authorizations

Authorization
string
header
required

API key or OAuth access token.

Path Parameters

id
string
required
Minimum string length: 1

Body

application/json
prompt
string
required
Required string length: 1 - 5000
format_kind
enum<string>
required
Available options:
image,
audio_hosted,
video_hosted
title
string
Maximum string length: 200
objective
string
Maximum string length: 500
persona
string
Maximum string length: 500
engine
object
provider_type
enum<string>
Available options:
openai,
gemini,
fal
params
object
reference_asset_ids
string[]
Maximum array length: 10
Minimum string length: 1
variant_count
integer
Required range: 1 <= x <= 4
action_key
string
Required string length: 8 - 128

Response

OK

data
object | null
required
error
object | null
required