Back to Blog

Automate Video Editing with FFMPEGAPI.net: Convert to Vertical Format

June 2026 FFMPEG API Team

In a world increasingly dominated by mobile video content, having the ability to quickly convert horizontal videos to vertical format can be a game-changer. With FFMPEGAPI.net, a hosted REST API for FFmpeg-powered video and audio processing, developers can seamlessly integrate video editing capabilities into their applications without worrying about server setup or FFmpeg infrastructure management. This article will guide you through the process of using the Convert to Vertical endpoint to automate video editing tasks.

Why Use FFMPEGAPI.net for Video Editing?

FFMPEGAPI.net provides an efficient solution for video processing, allowing developers to focus on building their applications instead of handling the complexities of video manipulation. With API-key authentication, you can easily integrate this service into your workflows.

  • No server setup required.
  • Easy integration with existing applications.
  • Suitable for automation, SaaS apps, and content pipelines.

Overview of the Convert to Vertical Endpoint

The Convert to Vertical endpoint allows you to convert a horizontal video to a vertical format, making it perfect for platforms like Instagram Stories or TikTok. The process is straightforward and involves sending a POST request with the video URL and optional watermark.

  • Endpoint path: /api/convert_to_vertical
  • Method: POST
  • Content-Type: application/json

Parameters for the Convert to Vertical Request

When making a request to the Convert to Vertical endpoint, you need to include several parameters in your JSON payload. Here are the necessary details:

The `video_url` parameter is mandatory and should contain the URL of the video you want to convert. Optionally, you can include a `watermark_url` if you wish to overlay an image on your video. The `async` parameter can be set to true if you want to process the video in the background.

  • video_url (string): Required; the URL of the video.
  • watermark_url (string): Optional; the URL of the watermark image.
  • async (boolean): Optional; if true, returns a job_id for background processing.

Making a Request to Convert Video to Vertical

To convert a video using the API, you can use a simple cURL command or a Python request. Here's how you can do this:

In this example, we will send a request to the Convert to Vertical endpoint with a video URL and an optional watermark.

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"}'
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'
}
response = requests.post(url, json=data)
print(response.json())

With FFMPEGAPI.net, automating video editing tasks like converting horizontal videos to vertical format has never been easier. By leveraging the hosted API, developers can streamline their workflows and enhance user experiences without managing complex infrastructure. Start transforming your video content today with FFMPEGAPI.net.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free