Back to Blog

Automate Video Editing with FFMPEGAPI.net: Convert to TikTok Portrait Format

June 2026 FFMPEG API Team

In the ever-evolving landscape of social media, producing visually appealing content is crucial. TikTok, with its unique 9:16 portrait format, has become the go-to platform for engaging video content. In this article, we'll explore how to automate the process of converting videos to TikTok's portrait format using FFMPEGAPI.net, a reliable hosted solution for video and audio processing. By leveraging FFMPEGAPI.net, you can focus on creativity without worrying about server management or complex setups.

What is FFMPEGAPI.net?

FFMPEGAPI.net is a hosted REST API that allows developers to harness the power of FFmpeg for video and audio processing without the hassle of managing infrastructure. It is tailored for developers, automation tasks, SaaS applications, and content pipelines, making it a versatile tool for anyone in the media industry.

  • No server setup or FFmpeg infrastructure management required.
  • API-key authentication ensures secure developer workflows.
  • Easy integration for automation, content creation, and AI applications.

Using the TikTok Portrait Converter Endpoint

One of the standout features of FFMPEGAPI.net is the TikTok Portrait Converter. This endpoint allows you to convert any video to a full-bleed 9:16 format, perfect for TikTok. The conversion process not only crops and scales the video into the required dimensions but also offers optional features such as adding a watermark or an outro video.

The endpoint can be accessed via a simple POST request to '/api/convert_to_tiktok_portrait'. Below is a summary of the parameters you can use:

  • video_url (string, required): The URL of the video to be converted.
  • watermark_url (string, optional): URL of a watermark image to overlay on the video.
  • outro_video_url (string, optional): URL of an outro video to append to the main video.
  • async (boolean, optional): If set to true, the API will return a job_id immediately and process the request in the background.
curl -X POST https://ffmpegapi.net/api/convert_to_tiktok_portrait \
-H 'Content-Type: application/json' \
-d '{"video_url": "https://example.com/landscape.mp4", "outro_video_url": "https://example.com/outro.mp4"}'
import requests

url = 'https://ffmpegapi.net/api/convert_to_tiktok_portrait'
data = {'video_url': 'https://example.com/landscape.mp4', 'outro_video_url': 'https://example.com/outro.mp4'}
headers = {'Content-Type': 'application/json'}

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

Automating video editing for platforms like TikTok has never been easier with FFMPEGAPI.net. By utilizing the TikTok Portrait Converter endpoint, you can seamlessly convert your videos into the perfect format while adding creative elements like watermarks and outros. Embrace the power of a hosted video API and enhance your content production workflow today!

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free