Edit a video
Create a HappyHorse video editing task through the OpenAI Videos API.
Provide one input video and optionally up to five reference images. The request body can use either the platform structure or the Alibaba-native media structure.
/v1/videos/editsCreate an asynchronous video editing task with one input video and optional reference images. The platform structure uses input_reference and reference_images; the Alibaba-native structure uses input.media.
Video editing accepts one input video and up to five reference images. It does not support the ratio parameter.
Authorization
bearerAuth Use Bearer your-api-key in the Authorization Header.
In: header
Request Body
application/json
Submit a video editing request with either the platform structure or the Alibaba-native structure.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json