Back to Blog

How to Add TikTok-Style Captions to Your Videos using FFMPEGAPI.net

June 2026 FFMPEG API Team

In today's digital age, video content is king, and captions are essential for improving accessibility and engagement. If you're a developer looking for an efficient way to add TikTok-style captions to your videos, FFMPEGAPI.net provides a robust REST API that streamlines this process without the need for server setup or FFmpeg management.

Why Use FFMPEGAPI.net for Video Captions?

FFMPEGAPI.net is a hosted tool that offers a seamless way to incorporate powerful video and audio processing capabilities into your applications. With its AI Captions endpoint, developers can transcribe audio from videos and render stylish captions in different styles and languages.

  • No server setup or infrastructure maintenance required.
  • API-key authentication ensures secure and straightforward integration.
  • Ideal for automation, SaaS applications, content pipelines, and AI-driven projects.

Introducing the AI Captions Endpoint

The AI Captions endpoint at FFMPEGAPI.net allows you to transcribe a video and add TikTok-style captions with various customization options. The endpoint is designed for ease of use and can handle different video formats and styles.

  • Endpoint Path: /api/videos/add-tiktok-captions
  • HTTP Method: POST
  • Content Type: application/json

Parameters for AI Captions

When calling the AI Captions endpoint, you have several parameters to customize your captioning process. Below are the key parameters you can use:

  • video_url (required): The URL of the video you want to process.
  • subtitle_style (optional): Choose from plain-white, yellow-bg, pink-bg, blue-bg, or red-bg. Default is plain-white.
  • language (optional): Specify the language code or set to 'auto'. Default is auto.
  • aspect_ratio (optional): Options include 16:9, 9:16, 4:3, or 3:4. Default is 9:16.
  • max_chars_per_line (optional): Set character limit per line (5 to 80). Default is 20.
  • max_lines (optional): Maximum number of caption lines (1 to 4). Default is 1.
  • position (optional): Determine the position of captions (top, center, bottom). Default is bottom.

Practical Example of Using AI Captions

To give you a better understanding of how to use the AI Captions endpoint, here is a practical example using curl to send a request:

curl -X POST https://ffmpegapi.net/api/videos/add-tiktok-captions \
 -H 'Content-Type: application/json' \
 -d '{
  "video_url": "https://example.com/video.mp4",
  "subtitle_style": "yellow-bg",
  "position": "bottom"
}'

FFMPEGAPI.net is your go-to solution for adding TikTok-style captions to your videos effortlessly. With its powerful AI capabilities and no hassle of managing server infrastructure, it empowers developers to focus on building great applications. Start using the AI Captions endpoint today and enhance your video content with stylish captions!

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free