# Make a Karaoke Lyric Video from a Song

**Use case:** 

Turn a song and its lyrics into a karaoke-style lyric video: every word is timed to the singing, the current line fills with colour and the next line is previewed, on your image with a slow zoom. Example: a public-domain U.S. Navy Band recording.

## Input

```json
{
  "mode": "lyricVideo",
  "videoUrls": [
    "https://api.apify.com/v2/key-value-stores/aXcXwfChlioPWAUJv/records/sample-vertical-talk.mp4?signature=105QVevs72w3z5gMQzgIJ"
  ],
  "captionStyle": "tiktok",
  "audioUrl": "https://api.apify.com/v2/key-value-stores/aXcXwfChlioPWAUJv/records/star-spangled-banner-us-navy-band.oga?signature=eow1uiQTwEtOmdtdY9Bd",
  "lyrics": "O say can you see, by the dawn's early light,\nWhat so proudly we hailed at the twilight's last gleaming,\nWhose broad stripes and bright stars through the perilous fight,\nO'er the ramparts we watched, were so gallantly streaming?\nAnd the rocket's red glare, the bombs bursting in air,\nGave proof through the night that our flag was still there;\nO say does that star-spangled banner yet wave\nO'er the land of the free and the home of the brave?",
  "lyricStyle": "karaoke",
  "songTitle": "The Star-Spangled Banner",
  "artist": "U.S. Navy Band",
  "aspectRatio": "16:9",
  "backgroundUrl": "https://api.apify.com/v2/key-value-stores/aXcXwfChlioPWAUJv/records/aurora-from-iss.jpg?signature=bIy8ZlCMq3a6nyNyQSZI",
  "backgroundColor": "#1B1F3B",
  "backgroundZoom": true,
  "backgroundDim": 20,
  "font": "auto",
  "fontSize": 100,
  "textColor": "#FFFFFF",
  "highlightColor": "#FFD60A",
  "outlineColor": "#000000",
  "position": "auto",
  "uppercase": false,
  "wordsPerLine": 3,
  "resolution": "720p",
  "language": "en",
  "wordTimestamps": false,
  "maxDurationMinutes": 30,
  "maxFileSizeMb": 2000,
  "downloadTimeoutSecs": 600
}
```

## Output

```json
{
  "thumbnailUrl": {
    "label": "Preview",
    "format": "image"
  },
  "fileName": {
    "label": "Input file",
    "format": "text"
  },
  "videoUrl": {
    "label": "Captioned video (MP4)",
    "format": "link"
  },
  "style": {
    "label": "Style",
    "format": "text"
  },
  "width": {
    "label": "Width",
    "format": "number"
  },
  "height": {
    "label": "Height",
    "format": "number"
  },
  "durationSeconds": {
    "label": "Duration (s)",
    "format": "number"
  },
  "billedMinutes": {
    "label": "Minutes",
    "format": "number"
  },
  "language": {
    "label": "Language",
    "format": "text"
  },
  "srtUrl": {
    "label": "SRT",
    "format": "link"
  },
  "vttUrl": {
    "label": "VTT",
    "format": "link"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Auto Captions & Lyric Video Maker - TikTok Subtitles, Karaoke Actor is ready to run with the inputs already set for "Make a Karaoke Lyric Video from a Song". [Sign up or log in](https://console.apify.com/create-task-from-example/ro7B9a9jvvLKdsPja) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Make a Karaoke Lyric Video from a Song" task

The Auto Captions & Lyric Video Maker - TikTok Subtitles, Karaoke Actor will start running based on the input automatically. You can also change all the input fields, like what to make, video urls (captions mode), and more, to match your specific use case.

### 3. Receive the "Make a Karaoke Lyric Video from a Song" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as preview, input file, captioned video (mp4), and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Make a Karaoke Lyric Video from a Song" task via API](https://apify.com/kantolabs/auto-captions-lyric-video.md).

## About this Actor

This example demonstrates how to use [Auto Captions & Lyric Video Maker - TikTok Subtitles, Karaoke](https://apify.com/kantolabs/auto-captions-lyric-video.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/kantolabs/auto-captions-lyric-video.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/kantolabs/auto-captions-lyric-video.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
