API Documentation
Haiper
API documentation and implementation examples for the Haiper model.
Part of the Video / Haiper collection
API Endpoint
/v1/video/haiper
Request Parameters
seedinteger
Seed value for reproducible generation
prompt(Required)string
Prompt for video generation
durationinteger
Duration of the video in seconds
Enum:
[
4,
6
]
Code Examples
Response Example
Response Fields
video(Required)object
urlstring
URL of the generated video
file_namestring
Name of the video file
file_sizeinteger
Size of the video file in bytes
content_typestring
Content type/MIME type of the video