Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

DreamLayer-Version
string
required
Allowed value: "1"
Idempotency-Key
string
required
Required string length: 1 - 200

Body

application/json
prompt
string
required
Required string length: 1 - 4000
respond
string
Required string length: 1 - 4000
conversation_id
string<uuid>
input_asset_id
string<uuid>
aspect_ratio
string
default:1:1
max_credits
enum<integer>
default:1
Available options:
1

Response

Sanitized server-sent events

The response is of type string.