aiVideos

Generate AI Video

Generate AI video using specified provider and model.

Supported Providers & Models:

ProviderModelsDefault
openaisora-2-prosora-2-pro
kie_aiseedance-1-5-pro, veo3, veo3_fast, sora-2-pro-image-to-videoseedance-1-5-pro
replicategoogle/veo-3.1, google/veo-3.1-fast, wan-video/wan-2.5-i2vgoogle/veo-3.1-fast
byteplus(internal)-
falKling v3 image-to-video (single model)-

Request Fields:

  • prompt (required): Text description for video generation
  • provider: Video provider (default: openai)
  • model: Specific model (optional, uses provider default)
  • aspect_ratio: 16:9, 9:16, 1:1, 4:3, 3:4, 21:9 (default: 16:9)
  • duration: Video duration in seconds (default: 8)
  • input_reference: List of reference image URLs
  • first_frame: First frame image URL
  • last_frame: Last frame image URL
post/api/v1/ai-videos/generate

Request body

promptstring required
providerstring nullable
modelstring nullable
aspect_ratiostring nullable
durationinteger nullable
input_referencestring[] nullable
first_framestring nullable
last_framestring nullable
domain_idstring nullable

Response

Successful Response

{"stackTrail":"paths:/api/v1/ai-videos/generate:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.