Back to Blog

Automate Video Editing: Convert Horizontal Videos to Vertical with FFMPEGAPI.net

June 2026 FFMPEG API Team

In today's mobile-first world, having vertical videos is essential for reaching your audience effectively. Whether you are building a content pipeline, developing a SaaS application, or enhancing an AI agent, automating video editing tasks can save you time and effort. In this article, we will explore how to use the FFMPEGAPI.net hosted REST API to convert horizontal videos to vertical format seamlessly.

Why Use FFMPEGAPI.net for Video Processing?

FFMPEGAPI.net offers a robust and easy-to-use hosted REST API for video and audio processing. With no server setup or management of FFmpeg infrastructure required, developers can focus on building great applications. The API-key authentication ensures secure access while allowing flexibility in automation workflows.

  • No complex server setup required.
  • API-key authentication enhances security.
  • Ideal for developers, content pipelines, and automating tasks.

The Convert to Vertical Endpoint

The Convert to Vertical endpoint is designed to change the orientation of your videos from horizontal to vertical. This is especially useful for social media platforms where vertical videos are preferred. The endpoint allows you to optionally add a watermark to your video, enhancing branding opportunities.

  • Endpoint Path: POST /api/convert_to_vertical
  • Creates a vertical output suitable for mobile devices.
  • Optional watermark feature for branding.
import requests

url = 'https://www.ffmpegapi.net/api/convert_to_vertical'
data = {
    'video_url': 'https://example.com/landscape.mp4',
    'watermark_url': 'https://example.com/logo.png',
    'async': False
}

response = requests.post(url, json=data)
print(response.json())

Parameters for the API Request

When making a request to the Convert to Vertical endpoint, you need to provide certain parameters. The 'video_url' is mandatory, while the 'watermark_url' and 'async' parameters are optional.

  • video_url (string, required): The URL of the video to convert.
  • watermark_url (string, optional): An optional URL for a watermark image.
  • async (boolean, optional): If true, the process will run in the background.

Using FFMPEGAPI.net's Convert to Vertical endpoint allows developers to automate the conversion of videos easily, making it a perfect solution for enhancing digital content. With its simple API, secure access, and the ability to add watermarks, FFMPEGAPI.net stands out as the go-to choice for video processing needs. Start streamlining your video workflows today by exploring the capabilities of the FFMPEGAPI.net API.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free