Back to Blog

How to Automate Video Editing with FFMPEGAPI.net: Using the TikTok Portrait Converter

June 2026 FFMPEG API Team

In today's digital age, video content has become a staple of online engagement, particularly on platforms like TikTok. Automating video editing processes can save developers time and streamline workflows. FFMPEGAPI.net offers a powerful hosted REST API specifically designed for video and audio processing, making it the ideal solution for those looking to convert videos to the TikTok portrait format quickly and efficiently.

What is the TikTok Portrait Converter?

The TikTok Portrait Converter is an endpoint provided by FFMPEGAPI.net that allows developers to convert videos into the preferred 9:16 aspect ratio used by TikTok. This conversion is crucial for ensuring that content is optimized for viewing on mobile devices, which is predominantly how TikTok users engage with videos.

  • Crops and scales videos to a full-bleed 1080x1920 portrait format.
  • Supports optional watermarking to protect your content.
  • Allows appending an outro video for a polished finish.

How to Use the TikTok Portrait Converter API

To utilize the TikTok Portrait Converter, developers need to send a POST request to the endpoint. The API requires specific parameters, including the source video URL and optionally a watermark image and outro video URL.

  • Endpoint path: /api/convert_to_tiktok_portrait
  • HTTP Method: POST
  • Content-Type: application/json
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'
}

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

Parameters for the API Request

The TikTok Portrait Converter requires several parameters to function correctly. Here is a breakdown of the parameters you need to include in your request.

  • video_url (string, required): The URL of the video to be converted.
  • watermark_url (string, optional): An optional URL for a watermark image.
  • outro_video_url (string, optional): An optional URL for an outro video.
  • async (boolean, optional): If set to true, the task will run in the background, and a job ID will be returned immediately.

FFMPEGAPI.net provides a simplified, hosted solution for developers looking to automate video processing tasks, particularly for platforms like TikTok. With its robust API and ease of integration, you can enhance your content delivery pipelines significantly. No server setup or FFmpeg management is necessary, allowing you to focus on what matters—creating engaging video content. Start using the TikTok Portrait Converter today and make your videos shine on social media!

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free