# AI Content Repurposer (`enezli/ai-content-repurposer`) Actor

Content repurposing in one click. Turn a URL or text into 9 publish-ready formats: tweet thread, LinkedIn post, SEO meta, summary, Instagram caption and carousel, Reels/Shorts script, YouTube title and description. Stop rewriting the same idea nine times.

- **URL**: https://apify.com/enezli/ai-content-repurposer.md
- **Developed by:** [Turgay NANTA](https://apify.com/enezli) (community)
- **Categories:** AI, Social media
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $40.00 / 1,000 format generateds

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/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

## AI Content Repurposer — One Input, Content Ready for Every Platform

Turns a **URL or raw text** into **9 publish-ready formats** in a single run. One input → content ready for everywhere, natural and cliché-free (anti-slop).

### What it does

Instead of rewriting a blog post, article, or transcript by hand for every platform, this actor produces your chosen formats in seconds. Content creators (social posts) and bloggers / SEO writers (meta + summary) get everything from one tool.

### Generated formats

- **Tweet Thread (X)** — 4-7 tweets, each under 280 characters
- **LinkedIn Post** — 120-220 words, professional yet warm
- **SEO Meta Description** — 150-160 characters
- **Short Summary** — 3-4 sentences
- **Instagram Caption** — with relevant hashtags (8-15)
- **Instagram Carousel** — 5-8 slides
- **Reels/Shorts Script** — ~60 sec, strong first 3 seconds
- **YouTube Title** — under 70 characters
- **YouTube Description** — with hashtags (3-5)

Every format is **deterministically verified** against its platform limit (the LLM requests it, the code guarantees it). Any output that doesn't fit is flagged in the dataset as `Publish Ready: No` with a warning — no surprises at publish time.

### Output language

Set `language` to control the language of every generated piece. The content is written **entirely in your chosen language** (English, Türkçe, Deutsch, Español, Français), regardless of the source content's language.

### Input

| Field | Description |
|---|---|
| `sourceText` | The raw text to repurpose (takes priority over the URL when provided) |
| `url` | A URL instead of text; content is fetched automatically (used when `sourceText` is empty) |
| `formats` | Which formats to generate (from the list above) — empty = all |
| `language` | Output language: English / Türkçe / Deutsch / Español / Français |
| `model` | (Advanced) LLM model — the default is fast and economical |

### Output (dataset)

One row per format with the columns **Format · Size · Publish Ready · Warning · Preview**, plus the full text in `Content` (ready to copy directly). A final summary row reports how many formats were generated and whether they are all publish-ready. If a URL was provided, `source_url` is also included.

### How to use

1. Paste your raw text into `sourceText`, or provide a `url`.
2. Pick the formats you want (or leave empty for all) and set the output `language`.
3. Click **Start**.
4. Grab your ready-to-publish content from the Dataset tab.

### Why this actor?

Most tools are either locked to a video/topic input or only produce social posts. This actor turns **raw text OR a URL into 9 formats at once** — and notably includes SEO meta + summary, which most social content generators leave out. A unified combo in one tool, with natural language.

### Pricing (Pay-Per-Event)

You only pay for what you use: per run + per processed content + per generated format. No monthly subscription.

# Actor input Schema

## `sourceText` (type: `string`):

The raw content to repurpose (blog post / transcript / article text). If provided, it takes priority over the URL.

## `url` (type: `string`):

Instead of text, you can provide a URL (blog/article). The content is fetched automatically. Used when sourceText is empty.

## `formats` (type: `array`):

Which content formats should be generated? If left empty, all of them are produced.

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

The language of the generated content.

## `model` (type: `string`):

The LLM model. The default is cheap and fast; pick a stronger model for deeper, more creative output.

## Actor input object example

```json
{
  "sourceText": "Remote work is no longer a perk — it is the default for millions of knowledge workers. Teams that thrive share three habits: they write things down instead of relying on meetings, they set clear expectations for response times, and they protect deep-focus blocks on the calendar. The result is fewer interruptions, better documentation, and happier people who can do their best work from anywhere.",
  "formats": [
    "tweet_thread",
    "linkedin_post",
    "seo_meta",
    "summary"
  ],
  "language": "English",
  "model": "claude-haiku-4-5-20251001"
}
```

# 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 = {
    "sourceText": "Remote work is no longer a perk — it is the default for millions of knowledge workers. Teams that thrive share three habits: they write things down instead of relying on meetings, they set clear expectations for response times, and they protect deep-focus blocks on the calendar. The result is fewer interruptions, better documentation, and happier people who can do their best work from anywhere.",
    "url": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("enezli/ai-content-repurposer").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 = {
    "sourceText": "Remote work is no longer a perk — it is the default for millions of knowledge workers. Teams that thrive share three habits: they write things down instead of relying on meetings, they set clear expectations for response times, and they protect deep-focus blocks on the calendar. The result is fewer interruptions, better documentation, and happier people who can do their best work from anywhere.",
    "url": "",
}

# Run the Actor and wait for it to finish
run = client.actor("enezli/ai-content-repurposer").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 '{
  "sourceText": "Remote work is no longer a perk — it is the default for millions of knowledge workers. Teams that thrive share three habits: they write things down instead of relying on meetings, they set clear expectations for response times, and they protect deep-focus blocks on the calendar. The result is fewer interruptions, better documentation, and happier people who can do their best work from anywhere.",
  "url": ""
}' |
apify call enezli/ai-content-repurposer --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=enezli/ai-content-repurposer",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/t61zCOlaabQRyqOgI/builds/6vezPEnrwlhyNER84/openapi.json
