Back to Blog

Convert Horizontal Videos to Vertical with FFMPEGAPI.net

June 2026 FFMPEG API Team

In the age of mobile content consumption, converting horizontal videos to vertical formats has become crucial for developers. FFMPEGAPI.net offers a seamless solution with its hosted REST API that allows you to convert videos without managing any FFmpeg infrastructure. This article will guide you through the process of using the Convert to Vertical endpoint, making it easy to integrate into your applications.

Why Use FFMPEGAPI.net for Video Conversion?

FFMPEGAPI.net stands out as a cloud-based FFmpeg alternative for developers, allowing you to handle video processing tasks without the hassle of server setup. Its API-key authentication ensures that your workflows remain secure while you focus on building innovative solutions.

  • No server setup required.
  • API-key authentication for secure access.
  • Ideal for automation, SaaS applications, and content pipelines.
  • Supports various video processing tasks including conversion, compression, and more.

Understanding the Convert to Vertical Endpoint

The Convert to Vertical endpoint enables you to transform a horizontal video into a mobile-friendly vertical format. This is especially useful for platforms that prioritize vertical content, like TikTok and Instagram Stories.

  • Endpoint: POST /api/convert_to_vertical
  • Creates mobile-oriented vertical output.
  • Optionally applies a watermark to the video.

Parameters for the Convert to Vertical Request

To utilize the Convert to Vertical endpoint, you'll need to provide several parameters in your request. Understanding these parameters is key to successfully achieving the desired output.

  • video_url (string, required): The URL of the video to be converted.
  • watermark_url (string, optional): URL for an optional watermark to overlay on the video.
  • async (boolean, optional): If set to true, it returns a job_id immediately and processes in the background.

Making a Request to Convert Video

You can make requests to the Convert to Vertical endpoint using cURL or Python. Below are examples of both methods.

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": true}'
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': True
}

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

FFMPEGAPI.net provides a robust solution for developers looking to convert horizontal videos into vertical formats seamlessly. With its easy-to-use REST API and powerful features, you can enhance your applications and meet the growing demand for mobile-optimized content. Start using FFMPEGAPI.net today and simplify your video processing workflows.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free