Create a video
Create a HappyHorse video task through the platform or OpenAI Videos path.
Supports text-to-video, image-to-video, and reference-image-to-video. The request body can use either the platform fields or the input / parameters structure.
/v1/video/generations/v1/videosCreate an asynchronous HappyHorse video task with either the platform structure or the Alibaba-native input / parameters structure. Both structures are converted into the same upstream request.
Text-to-video does not require an image. Image-to-video requires one first-frame image. Reference-image-to-video requires 1–9 reference images, which can be referenced in the prompt with markers such as [Image 1] and [Image 2].
Authorization
bearerAuth Use Bearer your-api-key in the Authorization Header.
In: header
Request Body
application/json
Submit a HappyHorse request with either the platform structure or the Alibaba-native structure.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json