# Viral Video Hook Extractor & Script Cloner | TikTok & Reels AI (`ultra-liquid/viral-video-hook-cloner`) Actor

Extract high-retention hooks from Shorts, Reels, and TikTok videos, decode psychological retention formulas, and generate ES/PT-BR/EN scripts with 3D prompts.

- **URL**: https://apify.com/ultra-liquid/viral-video-hook-cloner.md
- **Developed by:** [Vadim Polansk](https://apify.com/ultra-liquid) (community)
- **Categories:** AI, Social media, Marketing
- **Security:** Limited permissions
- **Stats:** 5 total users, 4 monthly users, 100.0% runs succeeded, 3 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $50.00 / 1,000 viral video analyzed & multilingual script packs

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## AI Viral Video Hook Extractor & Multilingual Script Cloner (`viral-video-hook-cloner`)

> **Turn Winning Shorts, Reels & TikToks Into High-Retention Production Scripts in Seconds.**
> Extract psychological 0–3s hooks, retention formulas, localized **Spanish (`es`)**, **Brazilian Portuguese (`pt-BR`)**, and **English (`en`)** voiceover scripts, 3D visual prompts, and ManyChat comment-trigger CTAs.

***

### Why Content Teams & Agencies Use This Actor

- **Psychological Hook Deconstruction**: Identifies the exact 0–3 second curiosity gap, pattern interrupt, or visual shock driving high watch-time on TikTok, YouTube Shorts, and Facebook/Instagram Reels.
- **Instant Multilingual Script Cloning (`ES` / `PT-BR` / `EN`)**: Translates and culturally adapts winning hooks into ready-to-record 40-second narration scripts rather than literal word-for-word translations.
- **Ready-to-Render 3D & AI Video Prompts**: Generates scene-by-scene visual prompts optimized for **Flux**, **Midjourney**, **Runway Gen-3**, **Kling**, and **Sora**.
- **Automated ManyChat / Comment-Bait CTAs**: Creates high-converting comment-trigger CTAs (e.g., *"Comment GLUCOSA below"*) to boost algorithmic distribution and DM lead capture.
- **Predictable Pay-Per-Event Pricing**: No monthly subscription required — pay only per analyzed video & generated script pack.

***

### Input Parameters (`JSON`)

```json
{
  "sourceVideos": [
    {
      "platform": "facebook_reels",
      "channel": "Dr. Daniel Natural",
      "url": "https://www.facebook.com/61595625357853/videos/2292799641451324/",
      "title": "El páncreas trabaja en dos sistemas al mismo tiempo (#pancreas #insulina)",
      "views": 855000,
      "reactions": 13000
    }
  ],
  "targetLanguages": ["es", "pt-BR", "en"],
  "niche": "3D Human Anatomy, Metabolic Health & Longevity",
  "commentTriggerKeyword": "GLUCOSA"
}
```

***

### Output Example (`Dataset Item`)

```json
{
  "source_platform": "facebook_reels",
  "source_channel": "Dr. Daniel Natural",
  "source_url": "https://www.facebook.com/61595625357853/videos/2292799641451324/",
  "source_views": 855000,
  "extracted_hook_formula": "Counter-Intuitive Biological Threat (0-3s) + Hidden Internal Mechanism (3-18s) + Symptom Self-Check Question + Keyword Comment CTA",
  "retention_drivers": [
    "Immediate physiological curiosity gap in first 2.5 seconds",
    "Microscopic 3D cutaway visualization of an invisible organ process",
    "Direct symptom question that triggers viewer self-diagnosis in comments"
  ],
  "cloned_scripts": {
    "es": {
      "hook_0_3s": "Tu endotelio tiene solo una célula de grosor y decide tu presión arterial cada segundo.",
      "narration_40s": "Dentro de tus arterias existe una capa microscópica que libera óxido nítrico...",
      "flux_3d_prompt": "3D medical cutaway of a glowing human coronary artery releasing blue nitric oxide molecules, 8k",
      "comment_cta": "¿Sientes manos frías o fatiga? Comenta GLUCOSA 👇"
    },
    "pt-BR": {
      "hook_0_3s": "Suas artérias possuem uma camada de uma única célula que controla sua pressão a cada segundo.",
      "narration_40s": "O endotélio libera óxido nítrico para relaxar seus vasos sanguíneos...",
      "flux_3d_prompt": "3D medical cutaway of a glowing human coronary artery releasing blue nitric oxide molecules, 8k",
      "comment_cta": "Mãos frias ou cansaço? Comente GLUCOSA 👇"
    },
    "en": {
      "hook_0_3s": "54 million people scrape off a 1-cell-thick artery lining every night without feeling a thing.",
      "narration_40s": "Inside your 60,000 miles of blood vessels sits a single-cell lining called the endothelium...",
      "flux_3d_prompt": "3D medical cutaway of a glowing human coronary artery releasing blue nitric oxide molecules, 8k",
      "comment_cta": "Do your hands or feet get cold easily? Comment GLUCOSA 👇"
    }
  }
}
```

***

### Integrations (`Python`, `n8n`, `Make.com`, `MCP`)

#### Python (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("ultra-liquid/viral-video-hook-cloner").call(run_input={
    "sourceVideos": [
        {
            "platform": "youtube_shorts",
            "channel": "@Health3D",
            "url": "https://www.youtube.com/shorts/example",
            "title": "What happens to your liver after 14 days without sugar?",
            "views": 1250000,
            "reactions": 48000
        }
    ],
    "targetLanguages": ["es", "pt-BR", "en"],
    "niche": "3D Medical Animation & Longevity",
    "commentTriggerKeyword": "HIGADO"
})

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["extracted_hook_formula"])
    print(item["cloned_scripts"]["es"]["hook_0_3s"])
```

#### n8n / Make.com / Zapier HTTP Webhook

Call the synchronous dataset endpoint directly from an **HTTP Request** node:

```bash
curl -X POST "https://api.apify.com/v2/acts/ultra-liquid~viral-video-hook-cloner/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"sourceVideos":[{"platform":"tiktok","url":"https://www.tiktok.com/@creator/video/123","title":"3 signs your cortisol is spiked at 3AM","views":940000,"reactions":31000}],"targetLanguages":["es","en"]}'
```

# Actor input Schema

## `sourceVideos` (type: `array`):

List of viral video URLs or titles/metrics to reverse-engineer and clone.

## `targetLanguages` (type: `array`):

Languages to generate localized production scripts in.

## `niche` (type: `string`):

Niche for script cloning and visual prompt generation.

## `commentTriggerKeyword` (type: `string`):

Keyword viewers comment to trigger ManyChat / DM funnel.

## Actor input object example

```json
{
  "sourceVideos": [
    {
      "platform": "facebook_reels",
      "channel": "Dr. Daniel Natural",
      "url": "https://www.facebook.com/61595625357853/videos/2292799641451324/",
      "title": "El páncreas trabaja en dos sistemas al mismo tiempo (#pancreas #insulina)",
      "views": 855000,
      "reactions": 13000
    },
    {
      "platform": "youtube_shorts",
      "channel": "@vikaWTF",
      "url": "https://www.youtube.com/@vikaWTF/shorts",
      "title": "22 million people watched gum sit in acid. Was grandma right? #science #facts",
      "views": 3500,
      "reactions": 190
    }
  ],
  "targetLanguages": [
    "es",
    "pt-BR",
    "en"
  ],
  "niche": "3D Human Anatomy, Metabolic Health & Weird Biology",
  "commentTriggerKeyword": "GLUCOSA"
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `overview` (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 = {
    "sourceVideos": [
        {
            "platform": "facebook_reels",
            "channel": "Dr. Daniel Natural",
            "url": "https://www.facebook.com/61595625357853/videos/2292799641451324/",
            "title": "El páncreas trabaja en dos sistemas al mismo tiempo (#pancreas #insulina)",
            "views": 855000,
            "reactions": 13000
        },
        {
            "platform": "youtube_shorts",
            "channel": "@vikaWTF",
            "url": "https://www.youtube.com/@vikaWTF/shorts",
            "title": "22 million people watched gum sit in acid. Was grandma right? #science #facts",
            "views": 3500,
            "reactions": 190
        }
    ],
    "targetLanguages": [
        "es",
        "pt-BR",
        "en"
    ],
    "niche": "3D Human Anatomy, Metabolic Health & Weird Biology",
    "commentTriggerKeyword": "GLUCOSA"
};

// Run the Actor and wait for it to finish
const run = await client.actor("ultra-liquid/viral-video-hook-cloner").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 = {
    "sourceVideos": [
        {
            "platform": "facebook_reels",
            "channel": "Dr. Daniel Natural",
            "url": "https://www.facebook.com/61595625357853/videos/2292799641451324/",
            "title": "El páncreas trabaja en dos sistemas al mismo tiempo (#pancreas #insulina)",
            "views": 855000,
            "reactions": 13000,
        },
        {
            "platform": "youtube_shorts",
            "channel": "@vikaWTF",
            "url": "https://www.youtube.com/@vikaWTF/shorts",
            "title": "22 million people watched gum sit in acid. Was grandma right? #science #facts",
            "views": 3500,
            "reactions": 190,
        },
    ],
    "targetLanguages": [
        "es",
        "pt-BR",
        "en",
    ],
    "niche": "3D Human Anatomy, Metabolic Health & Weird Biology",
    "commentTriggerKeyword": "GLUCOSA",
}

# Run the Actor and wait for it to finish
run = client.actor("ultra-liquid/viral-video-hook-cloner").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "sourceVideos": [
    {
      "platform": "facebook_reels",
      "channel": "Dr. Daniel Natural",
      "url": "https://www.facebook.com/61595625357853/videos/2292799641451324/",
      "title": "El páncreas trabaja en dos sistemas al mismo tiempo (#pancreas #insulina)",
      "views": 855000,
      "reactions": 13000
    },
    {
      "platform": "youtube_shorts",
      "channel": "@vikaWTF",
      "url": "https://www.youtube.com/@vikaWTF/shorts",
      "title": "22 million people watched gum sit in acid. Was grandma right? #science #facts",
      "views": 3500,
      "reactions": 190
    }
  ],
  "targetLanguages": [
    "es",
    "pt-BR",
    "en"
  ],
  "niche": "3D Human Anatomy, Metabolic Health & Weird Biology",
  "commentTriggerKeyword": "GLUCOSA"
}' |
apify call ultra-liquid/viral-video-hook-cloner --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ultra-liquid/viral-video-hook-cloner"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

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