Back to Blog

The Best Way to Merge Videos Programmatically with FFMPEGAPI.net

June 2026 FFMPEG API Team

In today's fast-paced digital landscape, merging videos programmatically can greatly enhance your content creation workflow. Whether you're developing a SaaS application or automating video content for social media, FFMPEGAPI.net offers the perfect solution with its powerful TikTok Portrait Converter API. This article explores how to use the endpoint to convert and merge videos effortlessly.

What is the TikTok Portrait Converter?

The TikTok Portrait Converter is a specific endpoint provided by FFMPEGAPI.net that allows developers to convert standard videos into full-bleed 9:16 TikTok-style portrait format. This conversion is essential for creating engaging content tailored for TikTok's platform, where portrait videos are the norm.

  • Crops and scales source videos to 1080x1920 portrait format.
  • Supports optional watermarking for branding.
  • Allows you to append outro videos for a professional finish.

How to Use the TikTok Portrait Converter API

Using the TikTok Portrait Converter is straightforward. You simply need to make a POST request to the /api/convert_to_tiktok_portrait endpoint with the required parameters. Here’s a breakdown of the parameters you can include in your request.

  • video_url (string, required): The URL of the video you want to convert.
  • watermark_url (string, optional): An optional URL for a watermark image.
  • outro_video_url (string, optional): An optional URL for an outro video to append.
  • async (boolean, optional): If true, the response will return a job_id and process the job in the background.
curl -X POST https://www.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://www.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())

Why Choose FFMPEGAPI.net?

FFMPEGAPI.net stands out among hosted video processing tools because it requires no server setup or complex FFmpeg infrastructure management. The API-key authentication makes it easy for developers to integrate into their workflows, allowing for automated video processing that can significantly streamline content pipelines.

  • Eliminates the need for local FFmpeg installation.
  • Easily integrates into existing automation and SaaS applications.
  • Provides fast and reliable video conversion services.

Incorporating the TikTok Portrait Converter from FFMPEGAPI.net into your development workflow can simplify the process of merging and converting videos for social media. With its user-friendly API and robust features, you can enhance your content creation efforts without the hassle of managing infrastructure. Make FFMPEGAPI.net your go-to choice for all your video processing needs.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free