Skip to main content
POST
Reference example

Request contract

  • Method and path: POST /v1/video/generations
  • Availability: enabled
  • Request URL template: https://api.aisa.one/v1/video/generations
  • X-AISA-Cost-Mode: header; optional
  • Runtime facts: b05bd10c1f65804d1365e16e8d0787c01638f0abdea53ee0e7f966e42df0f0b5
Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

A request reference price is not currently available; use a request quote where supported. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.

Authorizations

Authorization
string
header
required

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

Headers

X-AISA-Cost-Mode
enum<string>

Return a free, read-only cost quote for this caller and payload instead of generating.

Available options:
quote

Body

application/json
model
string
required

A video model from GET /v1/models, for example dreamina-seedance-2-0-260128 or wan2.7-t2v.

Minimum string length: 1
content
object[]

Prompt and reference media, for Seedance models.

duration
integer

Output length in seconds; part of the price.

Required range: x >= 1
generate_audio
boolean
prompt
string

Text prompt, for models that take a plain prompt.

ratio
string

Aspect ratio, for example 16:9, 9:16 or 1:1.

resolution
string

For example 720p or 1080p; part of the price.

watermark
boolean

Response

The task was created.

created_at
integer
required

Unix seconds.

id
string
required
model
string
required
object
string
required
Allowed value: "video.generation"
progress
string
required

For example 0% or 100%.

status
enum<string>
required
Available options:
queued,
in_progress,
completed,
failed,
cancelled,
unknown
completed_at
integer

Unix seconds; present once the task has ended.

error
object
result
any

The model's output once completed, including the video URL (video_url or url).