# YouTube Title & Thumbnail Analyzer + Better Titles (`ingeniela/youtube-title-thumbnail-analyzer`) Actor

See which titles and thumbnails win in your YouTube niche (numbers, questions, faces, text, contrast) measured in views per subscriber, then get 5 better titles and a thumbnail brief for each of your videos.

- **URL**: https://apify.com/ingeniela/youtube-title-thumbnail-analyzer.md
- **Developed by:** [Ingeniela](https://apify.com/ingeniela) (community)
- **Categories:** Videos, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 80.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 video analyzeds

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

## YouTube Title & Thumbnail Analyzer + Better Titles

On YouTube, **packaging decides whether anyone clicks**. This Actor takes the top videos for your niche searches and measures what their titles do: numbers, questions, CAPS, emojis, power words, length. It also reads their **thumbnails with AI vision**: text, face, emotion, contrast and colors. Then it compares everything in **views per subscriber**, so a small channel's hit counts as much as a big channel's.

The result is the **title and thumbnail rules for your niche**, backed by numbers. For your own videos, you get **5 better titles** and a **thumbnail brief** each.

### Tutorial (1 minute)

![Step-by-step tutorial: what to fill in, click Start, the real result and the price](https://api.apify.com/v2/key-value-stores/RXaOr7FspyrQ4JP88/records/youtube-packaging-tutorial.gif)

### Why views per subscriber

A video with 1M views on a 10M-subscriber channel did worse than one with 200K views on a 20K channel. Dividing views by subscribers shows which **packaging** overperformed, not which channel was biggest. Every feature gets a **lift**: the median views per subscriber of videos with the feature, divided by the median of videos without it.

Real run on *rutina de skincare* (15 top videos):

- a **number in the title** went with **2.07×** the views per subscriber;
- thumbnails with a **face** went with less, and thumbnails with **no text** were among the weakest;
- the AI turned this into concrete rules, for example "name the ingredient or problem instead of a generic 'routine'".

### What you get

**One row per video:** title, views, views per subscriber, views per day, length, title features, and, read by AI, the text on the thumbnail, face, emotion, contrast, colors and style. Your videos also get **5 better titles** and a **thumbnail brief**.

**Report** (`REPORT`, HTML):

- summary, title rules and thumbnail rules for the niche;
- a feature lift table and the title length sweet spot;
- your videos with their rewrites;
- a grid of the niche's top performers.

### How to use it

1. Add **niche searches**: what your viewers type (`skincare routine`, `n8n tutorial`…).
2. Optional: add **your video links** or **your channel** to get rewrites.
3. Choose the language and click **Start**. Open **REPORT**.

### Input example

```json
{
  "nicheSearches": ["skincare routine", "retinol for beginners"],
  "videosPerSearch": 20,
  "dateFilter": "year",
  "yourChannel": "@yourchannel",
  "yourLatestVideos": 5,
  "language": "English"
}
```

### Pricing

| Event | Price |
|---|---|
| Video analyzed | $0.003 |
| Thumbnail read by AI vision (built-in AI) | $0.003 |
| 5 better titles + thumbnail brief, per video of yours (built-in AI) | $0.02 |
| Niche packaging rules (built-in AI) | $0.15 |

40 niche videos plus 5 of yours cost about **$0.52**. With your own AI key, the AI events are free. Collecting the videos runs on your Apify account at about US$0.004 per video, with a spend limit you set.

### Good to know

- Shorts are skipped: title and thumbnail packaging matters most for long-form videos.
- With small samples, read the lifts as hints, not laws. Use 2–3 searches and 20+ videos each for stronger rules.
- Rewrites keep the same topic and promise. The AI is told not to suggest clickbait the video can't deliver.

# Actor input Schema

## `nicheSearches` (type: `array`):

What your viewers search on YouTube. The top videos are compared.

## `videosPerSearch` (type: `integer`):

Sorted by views. Shorts are skipped.

## `dateFilter` (type: `string`):

Recent videos reflect today's packaging.

## `yourVideos` (type: `array`):

Get 5 better titles and a thumbnail brief for each.

## `yourChannel` (type: `string`):

@handle or channel link: your latest videos are reviewed.

## `yourLatestVideos` (type: `integer`):

Only with a channel.

## `readThumbnails` (type: `boolean`):

Text on the thumbnail, face, emotion, contrast, colors.

## `rewriteTitles` (type: `boolean`):

5 better titles and a thumbnail brief per video of yours.

## `language` (type: `string`):

Language of the rules and briefs (titles keep the video's language).

## `scraperMaxCostUsd` (type: `integer`):

Upper limit for collecting the videos (about US$0.004 per video).

## `aiProvider` (type: `string`):

Leave all keys empty to use the built-in AI (billed per AI event).

## `aiModel` (type: `string`):

Empty = a good default for the provider. Vision needs Anthropic, OpenAI or OpenRouter with an image model.

## `anthropicApiKey` (type: `string`):

With your own key (any provider) that provider bills you and AI events are not charged.

## `openaiApiKey` (type: `string`):

Your own key from platform.openai.com.

## `openrouterApiKey` (type: `string`):

Your own key from openrouter.ai/keys.

## `geminiApiKey` (type: `string`):

Your own key from aistudio.google.com/apikey.

## `xaiApiKey` (type: `string`):

Your own key from console.x.ai.

## `deepseekApiKey` (type: `string`):

Your own key from platform.deepseek.com.

## `mistralApiKey` (type: `string`):

Your own key from console.mistral.ai.

## Actor input object example

```json
{
  "nicheSearches": [
    "skincare routine"
  ],
  "videosPerSearch": 15,
  "dateFilter": "year",
  "yourLatestVideos": 5,
  "readThumbnails": true,
  "rewriteTitles": true,
  "language": "English",
  "scraperMaxCostUsd": 2,
  "aiProvider": "auto"
}
```

# Actor output Schema

## `report` (type: `string`):

No description

## `videos` (type: `string`):

No description

## `summary` (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 = {
    "nicheSearches": [
        "skincare routine"
    ],
    "videosPerSearch": 15
};

// Run the Actor and wait for it to finish
const run = await client.actor("ingeniela/youtube-title-thumbnail-analyzer").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 = {
    "nicheSearches": ["skincare routine"],
    "videosPerSearch": 15,
}

# Run the Actor and wait for it to finish
run = client.actor("ingeniela/youtube-title-thumbnail-analyzer").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 '{
  "nicheSearches": [
    "skincare routine"
  ],
  "videosPerSearch": 15
}' |
apify call ingeniela/youtube-title-thumbnail-analyzer --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ingeniela/youtube-title-thumbnail-analyzer"
        }
    }
}
```

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/bdAQuaX6GDXHXM4U6/builds/ZucwgWF82BDaUaZMB/openapi.json
