Skip to main content
POST

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"

Body

application/json

Describe a video. Exactly one source is required for image_to_video and none for text_to_video. The quote validates prompt/options consistency and source ownership, expiry, and normalized dimensions. It does not start generation.

prompt
string
required
Required string length: 1 - 4000
Pattern: \S
operation
enum<string> | null
Available options:
text_to_video,
image_to_video,
null
input_asset_id
string<uuid> | null
input_mode
enum<string> | null
Available options:
text,
first_frame,
null
options
object

Settings for the documented automatic Video workflow. Defaults are resolved with the prompt; conflicting instructions are rejected. This request schema describes the supported integration subset, not every server field.

context
object

Response

A ready or pricing_pending quote. Only ready quotes can be accepted. Documented integration fields are a subset of the response.

Customer integration fields. Additional response fields are allowed; this is not an exhaustive wire schema. Review resolved settings and customer_price, not a hardcoded price.

status
enum<string>
required
Available options:
ready,
pricing_pending
quote_id
string<uuid>
required
expires_at
string<date-time>
required
resolved_settings
object
required
customer_price
object
required
pricing_version
string | null
required
retention_days
integer
required