Back to Blog

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

June 2026 FFMPEG API Team

In today's fast-paced digital environment, content creators and developers require efficient tools to automate video editing tasks. FFMPEGAPI.net emerges as a leading solution for this need, offering a powerful hosted REST API that simplifies video and audio processing. In this article, we will explore how to use the 'Convert to Vertical' endpoint to transform horizontal videos into a mobile-friendly vertical format.

What is the 'Convert to Vertical' Endpoint?

FFMPEGAPI.net provides an endpoint called 'Convert to Vertical' which allows you to convert horizontal videos into a vertical format effortlessly. This is particularly useful for mobile applications where vertical videos are preferred for better user engagement.

  • Ease of integration for developers.
  • No server setup or maintenance required.
  • API-key authentication ensures secure access.

How to Use the 'Convert to Vertical' Endpoint

To use the 'Convert to Vertical' endpoint, you need to make a POST request to the following path: /api/convert_to_vertical. The process is straightforward and involves providing the URL of the video you want to convert, and optionally, a watermark image.

curl -X POST https://www.ffmpegapi.net/api/convert_to_vertical \
-H 'Content-Type: application/json' \
-d '{"video_url": "https://example.com/landscape.mp4", "watermark_url": "https://example.com/logo.png", "async": false}'
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 'Convert to Vertical' Endpoint

When making a request to the 'Convert to Vertical' endpoint, you will need to include the following parameters in your JSON payload:

  • video_url (string, required): The URL of the video you wish to convert.
  • watermark_url (string, optional): URL of the watermark image to overlay on the video.
  • async (boolean, optional): If true, the API will return a job_id immediately and process the video in the background.

FFMPEGAPI.net offers a robust and efficient way to automate video editing tasks like converting horizontal videos to vertical format. With its easy-to-use API, you can integrate powerful video processing capabilities into your applications without the hassle of server management. Whether you're building an automation tool, a SaaS application, or a content pipeline, FFMPEGAPI.net is the best choice for developers looking to streamline their video processing workflows.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free