# Tool: TikTok Caption & Hook Generator (`scrapers_lat/tiktok-post-generator-tool`) Actor

Generate a punchy first-second TikTok hook, an engaging caption, a mix of trending and niche hashtags, and quick shot ideas using premium AI. Paid Apify plans only.

- **URL**: https://apify.com/scrapers\_lat/tiktok-post-generator-tool.md
- **Developed by:** [Scrapers Lat](https://apify.com/scrapers_lat) (community)
- **Categories:** AI, Social media, Marketing
- **Stats:** 2 total users, 1 monthly users, 96.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $40.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

[![Tool: TikTok Caption & Hook Generator](https://scrapers.lat/banners/tiktok-post-generator-tool.png)](https://console.apify.com/actors/tiktok-post-generator-tool)

## Tool: TikTok Caption & Hook Generator

> Turn a video idea into a ready-to-film TikTok plan. Get a punchy first-second hook, a natural caption, a mix of trending and niche hashtags, and quick shot ideas.

**📥 [Input](https://apify.com/scrapers_lat/tiktok-post-generator-tool/input-schema) · 📤 [Output](https://apify.com/scrapers_lat/tiktok-post-generator-tool/output-schema) · 💰 [Pricing](https://apify.com/scrapers_lat/tiktok-post-generator-tool/pricing) · ▶️ [Examples](https://apify.com/scrapers_lat/tiktok-post-generator-tool/examples)**

![Apify](https://img.shields.io/badge/Platform-Apify-1CE1CE?logo=apify\&logoColor=white)
![Paid plan](https://img.shields.io/badge/Requires-Paid%20Apify%20plan-DE7356)
![Output](https://img.shields.io/badge/Output-JSON%20%7C%20CSV%20%7C%20Excel-orange)

<table><tr>
<td align="center"><strong>Hook</strong><br>first 1 to 2 seconds</td>
<td align="center"><strong>Caption</strong><br>under 2200 chars</td>
<td align="center"><strong>Hashtags + ideas</strong><br>trending, niche, shots</td>
</tr></table>

<br>

### What it does

Give it a topic in plain words, pick a tone, and it builds a full TikTok post plan:

- **hook**: the spoken opening line for the first one to two seconds, written to stop the scroll
- **caption**: a natural on-post caption under 2200 characters
- **hashtags**: a mix of trending discovery tags and specific niche tags, cleaned and de-duplicated
- **videoIdeas**: a short shot list of scene ideas so you know what to film

Copy the result straight into TikTok, a scheduler, or a content plan. Export to JSON, CSV or Excel, or pull it through the Apify API.

### Paid plans only

This tool runs on the latest, most reliable premium AI models. Because each run has a real model cost, it is available to paid Apify accounts only. A run started from a free account stops immediately with an upgrade message. Upgrade your Apify subscription to a paid plan and run it again.

### Who is it for

| Use case | Who benefits |
|---|---|
| Creators | Solo creators who need a strong hook every time |
| Brand social | Teams shipping short-form video daily |
| Agencies | Managers planning TikTok for many clients |
| Ecommerce | Stores turning products into short video ideas |

### Input

- **topic**: what the video is about, in your own words.
- **tone**: optional voice, for example friendly, hype, deadpan or expert.

### Notes

- The caption is capped at 2200 characters and hashtags at 30.
- The hook is written for the first one to two seconds, where most watch-time is won or lost.

### Example use cases

Ready-to-run example tasks, each preconfigured for a common scenario. Open one and press run, or use it as a template:

- [TikTok Script for a Quick Recipe](https://apify.com/scrapers_lat/tiktok-post-generator-tool/examples/ttpost-tiktok-script-quick-recipe-hook): Write a TikTok script for a quick recipe video with a strong hook that keeps viewers watching to the last second.
- [TikTok Script for a Productivity Hack](https://apify.com/scrapers_lat/tiktok-post-generator-tool/examples/ttpost-tiktok-script-productivity-hack): Create a TikTok script sharing a productivity hack that grabs attention in the first second and drives strong saves and shares.
- [TikTok Script for a Skincare Routine](https://apify.com/scrapers_lat/tiktok-post-generator-tool/examples/ttpost-tiktok-script-skincare-routine): Write a TikTok script walking through a simple skincare routine that keeps beauty viewers watching and following.
- [TikTok Script for a Small Business Story](https://apify.com/scrapers_lat/tiktok-post-generator-tool/examples/ttpost-tiktok-script-small-business-story): Generate a TikTok script telling a small business origin story that connects with viewers and drives them to shop.
- [TikTok Script for Budget Travel Tips](https://apify.com/scrapers_lat/tiktok-post-generator-tool/examples/ttpost-tiktok-script-budget-travel-tips): Write a TikTok script sharing budget travel tips with a fast hook that keeps wanderlust viewers watching and saving.
- [TikTok Script for a Fitness Challenge](https://apify.com/scrapers_lat/tiktok-post-generator-tool/examples/ttpost-tiktok-script-fitness-challenge): Create a TikTok script for a seven day fitness challenge that motivates viewers to follow along and duet the video.
- [TikTok Script for a Tech Gadget Review](https://apify.com/scrapers_lat/tiktok-post-generator-tool/examples/ttpost-tiktok-script-tech-gadget-review): Write a TikTok script reviewing a budget tech gadget that hooks viewers quickly and helps them decide whether it is worth buying.
- [TikTok Script for Study Tips](https://apify.com/scrapers_lat/tiktok-post-generator-tool/examples/ttpost-tiktok-script-study-tips-for-students): Generate a TikTok script sharing study tips for exam season that keeps students watching and following for more.
- [TikTok Script for Money Saving Tips](https://apify.com/scrapers_lat/tiktok-post-generator-tool/examples/ttpost-tiktok-script-money-saving-tips): Write a TikTok script sharing money saving tips with a hook that stops the scroll and drives shares and saves.
- [TikTok Script for a Day in the Life](https://apify.com/scrapers_lat/tiktok-post-generator-tool/examples/ttpost-tiktok-script-day-in-the-life): Create a TikTok script for a day in the life of a remote founder that feels real and keeps viewers watching to the end.

### Export, API and AI agents (x402 + MCP)

Export the scraped data to **JSON, CSV or Excel**, pull it as a **dataset** through the Apify **API**, or wire it into your app with **no code**. This web scraper and data extractor also works for bulk data extraction and scheduled runs.

For AI agents: this Actor is available on **x402**, Apify's agentic payment standard built with Coinbase. An AI agent can discover, pay for and run it on its own with a funded wallet and a single HTTP request: no account, no subscription, no API key and no human in the loop. It also runs as an **MCP** tool inside Claude, Cursor and other AI clients out of the box. Learn more about [x402 agentic payments on Apify](https://docs.apify.com/platform/integrations/x402).

Built by [scrapers.lat](https://scrapers.lat).

# Actor input Schema

## `topic` (type: `string`):

What the video is about. Describe the idea, product or message in your own words.

## `tone` (type: `string`):

Optional. The voice you want, for example friendly, hype, deadpan, expert, funny.

## Actor input object example

```json
{
  "topic": "3 productivity apps that changed my workflow"
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "topic": "3 productivity apps that changed my workflow"
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapers_lat/tiktok-post-generator-tool").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "topic": "3 productivity apps that changed my workflow" }

# Run the Actor and wait for it to finish
run = client.actor("scrapers_lat/tiktok-post-generator-tool").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "topic": "3 productivity apps that changed my workflow"
}' |
apify call scrapers_lat/tiktok-post-generator-tool --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapers_lat/tiktok-post-generator-tool",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/uzLWLQODEm6jo7PMH/builds/8Ir2Ld4MJ8iuotqc2/openapi.json
