MeduxMedux

Media > Resize Video

Resize Video

Resize a video to a target resolution.

POST/api/app/v1/process/video/resize_video

Examples

curl -X POST https://api.medux.io/api/app/v1/process/video/resize_video \
  -H 'Authorization: Bearer $MEDUX_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"height":1,"input_file_id":"FILE_ID","model_id":"resize-video-default","width":1}'

Media Samples

Approved examples for understanding request inputs, response shape, and official example output.

Official resize video sample

This example uses resize-video-default.

Sample request

Example input for this capability.

input_file_id{file_id}width640height360

Sample response

Official example output for preview only. It is not a user Media Result.

Example output

Auth Requirements

Authentication is required via Authorization header.

Preconditions

Upload the source file and create a file reference before calling this endpoint.

Successful requests return a Medux task record immediately. Use the task query or sync endpoints to track completion.

All file inputs must be uploaded and persisted as file references before submission.

Request

Body

application/json
Authorizationstringrequired

Bearer token or API key.

Location: HEADER

input_file_idstringrequired

Input video file_id.

Location: BODY

widthintegerrequired

Output width in pixels.

Location: BODY

heightintegerrequired

Output height in pixels.

Location: BODY

model_idstringoptional

Model Default: resize-video-default.

Location: BODY

titlestringoptional

Optional task title.

Location: BODY

Response

Response

application/json
No response fields documented for this endpoint.

MCP Tool

This endpoint is also available through the Medux-hosted remote MCP service.

Resize Video

Resize a video to a target resolution.

Invocation Example

Resize a video to a target resolution.