Skip to main content
POST
Create TikTok Slideshow
Try it out! Use the API playground on the right to test the TikTok Slideshow endpoint directly.

Overview

TikTok Slideshow videos combine multiple images or video clips with text overlays, voiceovers, and music to create engaging social media content. Perfect for:
  • Storytelling with visual elements
  • Product showcases with descriptions
  • Educational content with slides
  • Social media posts with multiple images
  • Presentation-style videos
Each slide can contain up to 10 text elements with custom positioning, styling, and animations.

Endpoint


Required Fields

array
required
Array of slides for the slideshow (1-50 slides)
string
required
Video aspect ratio:
  • ratio_9_16: Vertical (TikTok, Reels, Shorts) - Default
  • ratio_16_9: Horizontal (YouTube)
  • ratio_1_1: Square (Instagram)
string
required
Language code (exactly 2 characters, e.g., “en”, “es”)

Optional Fields

string
Project name (1-100 characters). If not provided, a name will be auto-generated.
string
Voiceover script for the slideshow (max 10,000 characters). If provided, requires voiceId.
string
Voice ID for narration from /v1/voice/list (max 30 characters). Required if script is provided.
string
Avatar ID to appear in the video from /v1/avatar/list (max 30 characters)
string
Background music ID from /v1/music/list (max 30 characters)
string
Webhook URL for status notifications (max 500 characters, must be HTTPS)
object
Custom metadata object (max 5KB JSON)

Request Examples

Basic Slideshow

Advanced with Avatar and Music


Response


Webhook Notification

When your video is ready, we’ll POST to your webhook URL (if configured):
Webhook Payload

Best Practices

Text Positioning

Canvas dimensions depend on aspect ratio. For 9:16 (1080x1920), ensure coordinates are within bounds.

Slide Duration

Keep slides between 2-5 seconds for optimal engagement.

Text Readability

Use high contrast colors and appropriate font sizes (24-48px) for mobile viewing.

Image Quality

Use high-resolution images (1080px width minimum) for best results.

Coordinate System

The coordinate system for text positioning varies by aspect ratio: Example: For 9:16 format (1080x1920), a text box with x: 100, y: 150, width: 880, height: 100 creates a full-width text near the top.

Error Handling


Next Steps

List Videos

View all your created videos

Video Details

Check your video processing status

Webhooks Guide

Learn how to handle webhook notifications

UGC Ads

Create UGC-style advertisement videos

Authorizations

x-api-key
string
header
required

Body

application/json
slides
object[]
required

Array of slides (1-50 slides)

Required array length: 1 - 50 elements
aspectRatio
enum<string>
default:ratio_9_16
required

Video aspect ratio

Available options:
ratio_9_16,
ratio_16_9,
ratio_1_1
language
string
default:en
required

Language code (exactly 2 characters, e.g., en, es, fr)

Required string length: 2
name
string

Project name (1-100 characters). If not provided, a name will be auto-generated.

Required string length: 1 - 100
script
string

Voiceover script (max 10,000 characters)

Maximum string length: 10000
voiceId
string

Voice ID from /v1/voice/list (max 30 characters)

Maximum string length: 30
avatarId
string

Avatar ID from /v1/avatar/list (max 30 characters)

Maximum string length: 30
musicId
string

Music ID from /v1/music/list (max 30 characters)

Maximum string length: 30
webhook
string

HTTPS URL for status notifications (max 500 characters)

Maximum string length: 500
metadata
object

Custom metadata object (max 5KB)

Response

TikTok Slideshow created successfully

success
boolean
data
object
message
string