Back to Blog

Convert Horizontal Videos to Vertical Format with FFMPEGAPI.net

June 2026 FFMPEG API Team

In today's mobile-first world, optimizing video content for vertical viewing is essential. Whether you’re developing an app, automating content pipelines, or integrating video processing into your project, converting horizontal videos to vertical format is a common requirement. FFMPEGAPI.net offers a fast and reliable hosted REST API that makes this task straightforward, eliminating the need for complex server setups.

Why Choose FFMPEGAPI.net?

FFMPEGAPI.net provides a hosted solution for video and audio processing, allowing developers to focus on building their applications rather than managing server infrastructure.

With API-key authentication, you can efficiently integrate video processing into your workflows, whether for SaaS applications, automation, or AI agents.

  • No server setup required.
  • Easy integration with existing workflows.
  • Fast, reliable video processing.

How to Convert Videos Using the API

To convert a horizontal video to a vertical format, you can use the '/api/convert_to_vertical' endpoint. This API not only adjusts the video orientation but also allows you to add a watermark if desired.

The process is simple and can be done with just a POST request.

  • Endpoint: /api/convert_to_vertical
  • Method: POST
  • Request Content Type: application/json
curl -X POST https://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://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 Required

When using the '/api/convert_to_vertical' endpoint, you need to provide the following parameters:

  • video_url (string, required): The URL of the video you wish to convert.
  • watermark_url (string, optional): The URL of the watermark image you want to apply.
  • async (boolean, optional): If set to true, you receive a job_id immediately and the processing happens in the background.

FFMPEGAPI.net is the ideal solution for developers looking to integrate seamless video processing into their applications. With its straightforward API and powerful capabilities, you can easily convert horizontal videos to a vertical format, enhancing your content for mobile users. Start with FFMPEGAPI.net today and experience fast media processing that fits perfectly into your content pipelines.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free