Tất cả Tool›Rotate Video
Video · Âm thanh

Rotate Video

rotate-video

Use Rotate Video through the Zavilo SDK. Check input limits, parameters, output and supported modes below.

H · HeadlessE · Embedded
Tool IDrotate-video
Version1
ExecutionCLIENT
WorkloadSTANDARD
ModesHeadless, Embedded

Quick actions

Input files 1Output files 1

Đầu vào

Accepted input contract for this Tool.

Kindfile
File count1 – 1
Accepted MIME typesvideo/mp4, video/webm, video/quicktime

Tham số

Pass these values through request.options.

Parameter Type Bắt buộc Mặc định Giá trị / Phạm vi Mô tả
rotation enum Optional right right | left | 180 | flipH | flipV Rotation or flip operation.

Đầu ra

Result contract returned after successful processing.

Typefiles
File count1 – 1
MIME typesvideo/mp4
Metadataduration, sourceWidth, sourceHeight, width, height, inputBytes, outputBytes, rotation
ZIP archiveNo

Ví dụ cơ bản

Choose a supported integration mode and copy the generated starter code.

Headless

const result = await client.run("rotate-video", {
  file,
  options: { rotation: "right" }
});
console.log(result.files, result.data, result.metadata);

Embedded

await client.mount({ tool: "rotate-video", target: "#zavilo-tool", mode: "embedded" });
This page is generated from the SDK Tool Definition used by the runtime.