Back to Blog

Transforming Video Orientation with FFMPEGAPI.net: A Guide to the Convert to Vertical API

June 2026 FFMPEG API Team

In the age of mobile content consumption, vertical videos have become a standard for many applications and platforms. FFMPEGAPI.net provides a powerful hosted REST API that allows developers to effortlessly convert horizontal videos to vertical format. In this article, we'll explore how to use the Convert to Vertical API and why FFMPEGAPI.net is the best choice for your video processing needs.

Understanding the Convert to Vertical Endpoint

The Convert to Vertical API is designed to take any horizontal video and transform it into a mobile-friendly vertical format. This is particularly useful for developers building SaaS applications, content pipelines, and automation tools where video presence is essential.

  • Creates a vertical output of your video.
  • Optionally apply a watermark to your video.
  • Asynchronous processing available for large files.

How to Use the Convert to Vertical API

To utilize the Convert to Vertical API, you need to make a POST request to the endpoint. Below is the required structure for your request.

  • Endpoint: `/api/convert_to_vertical`
  • Method: `POST`
  • Content-Type: `application/json`
curl -X POST https://www.ffmpegapi.net/api/convert_to_vertical \
-H "Authorization: Bearer YOUR_API_KEY" \
-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
}
headers = {'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json'}
response = requests.post(url, json=data, headers=headers)
print(response.json())

Parameters Explained

The following parameters are available for the Convert to Vertical API:

1. **video_url**: The URL of the video you want to convert (required).

2. **watermark_url**: An optional parameter where you can specify a watermark image URL.

3. **async**: A boolean indicating if you want to process the video in the background.

FFMPEGAPI.net makes video processing straightforward and efficient. With the Convert to Vertical API, you can easily adapt your video content for mobile viewers without the hassle of server management or FFmpeg installations. Whether you are developing a SaaS application or automating your content pipeline, this hosted API provides the tools you need. Start converting your videos today by signing up for an API key at FFMPEGAPI.net!

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free