AGTCloud API Docs
GuidesAPI ReferenceIntegrations and resourcesUpdate and help
Video generationHappyHorse

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.

POST/v1/videos/edits

Create 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
AuthorizationBearer <token>

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