Content Factory — AI Content Transformation Engine avatar

Content Factory — AI Content Transformation Engine

Pricing

Pay per usage

Go to Apify Store
Content Factory — AI Content Transformation Engine

Content Factory — AI Content Transformation Engine

Transform any text into 8 content formats: Q&A, blog posts, quizzes, flashcards, mind maps, data tables, slide decks, podcast scripts. Plus TTS with 7 voices. Local AI, zero API costs, 100% privacy.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

daehwan kim

daehwan kim

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Share

Transform any text into 8 content types and generate TTS audio. All powered by local AI — zero external API costs, 100% privacy.

Features

  • 9 Tools: Q&A, reports, quizzes, flashcards, mind maps, data tables, slide decks, podcast scripts, and TTS audio
  • TTS Audio: Generate natural speech from text (multiple voices, speed control)
  • Local AI: No external APIs, no privacy concerns
  • Cost Effective: $0.05-0.20 per tool call (optimized pricing)

Installation

$npm install

Usage

Via Apify API

const run = await Apify.call('ntriqpro/content-factory', {
toolName: 'qa_generate',
input: { text: 'Your text here', language: 'en' }
});
}
}

Tool Reference

1. QA Generate

Generate question-answer pairs from text.

{
"toolName": "qa_generate",
"input": {
"text": "Machine learning is a subset of AI...",
"language": "en" // optional, default: "en"
}
}

Response:

{
"status": "ok",
"model": "qwen2.5-7b",
"qa_pairs": [
{ "question": "What is machine learning?", "answer": "..." },
{ "question": "How does ML differ from AI?", "answer": "..." }
],
"processing_time_ms": 2345
}

2. Report

Generate formatted reports in three styles: blog, briefing, or study guide.

{
"toolName": "report",
"input": {
"text": "Python is a programming language...",
"style": "blog", // "blog" | "briefing" | "study_guide"
"language": "en" // optional, default: "en"
}
}

Response:

{
"status": "ok",
"model": "qwen2.5-7b",
"report": "# Python Programming\n\n## Introduction\n...",
"style": "blog",
"processing_time_ms": 3456
}

3. Quiz

Generate quiz questions with multiple choice options.

{
"toolName": "quiz",
"input": {
"text": "The solar system consists of...",
"language": "en" // optional, default: "en"
}
}

Response:

{
"status": "ok",
"model": "qwen2.5-7b",
"quiz_questions": [
{
"question": "How many planets are in our solar system?",
"options": ["8", "9", "10", "7"],
"correct_answer": "8"
}
],
"processing_time_ms": 2100
}

4. Flashcards

Generate flashcard decks for learning.

{
"toolName": "flashcards",
"input": {
"text": "Photosynthesis is the process...",
"language": "en" // optional, default: "en"
}
}

Response:

{
"status": "ok",
"model": "qwen2.5-7b",
"flashcards": [
{
"front": "What is photosynthesis?",
"back": "The process by which plants convert light energy..."
}
],
"processing_time_ms": 1987
}

5. Mindmap

Generate Mermaid mind map diagrams.

{
"toolName": "mindmap",
"input": {
"text": "Web development involves frontend and backend...",
"language": "en" // optional, default: "en"
}
}

Response:

{
"status": "ok",
"model": "qwen2.5-7b",
"mindmap": "mindmap\n root((Web Development))\n Frontend\n HTML\n CSS\n JavaScript",
"format": "mermaid",
"processing_time_ms": 1876
}

6. Data Table

Extract structured data into tables.

{
"toolName": "data_table",
"input": {
"text": "Japan: Capital Tokyo, Population 125M. Korea: Capital Seoul, Population 50M.",
"language": "en" // optional, default: "en"
}
}

Response:

{
"status": "ok",
"model": "qwen2.5-7b",
"data_table": {
"columns": ["Country", "Capital", "Population"],
"rows": [
["Japan", "Tokyo", "125M"],
["Korea", "Seoul", "50M"]
]
},
"processing_time_ms": 1654
}

7. Slide Deck

Generate presentation slide decks.

{
"toolName": "slide_deck",
"input": {
"text": "Digital transformation has three phases...",
"language": "en" // optional, default: "en"
}
}

Response:

{
"status": "ok",
"model": "qwen2.5-7b",
"slides": [
{
"slide_number": 1,
"title": "Digital Transformation",
"content": "An overview of modern business...",
"notes": "Speaker notes..."
}
],
"processing_time_ms": 3210
}

8. Podcast Script

Generate conversational podcast scripts.

{
"toolName": "podcast_script",
"input": {
"text": "Artificial intelligence is changing...",
"language": "en" // optional, default: "en"
}
}

Response:

{
"status": "ok",
"model": "qwen2.5-7b",
"script": "[Host]: Welcome to the AI podcast...\n[Guest]: Thanks for having me...",
"format": "conversational",
"processing_time_ms": 4123
}

9. TTS Generate

Generate natural speech audio from text.

{
"toolName": "tts_generate",
"input": {
"text": "Hello, this is a test message.",
"voice": "af_heart", // optional, default: "af_heart"
"speed": 1.0 // optional, 0.5-2.0, default: 1.0
}
}

Response:

{
"status": "ok",
"model": "kokoro",
"audio_url": "https://vision.ntriq.co.kr/audio/...",
"voice": "af_heart",
"speed": 1.0,
"duration_seconds": 3.2,
"processing_time_ms": 2456
}

Pricing

Optimized based on cloud performance testing. Processing times range from 263ms (TTS) to 54s (Slide Deck).

ToolPriceProcessing Time
tts_generate$0.05~260ms
mindmap$0.08~17s
report$0.12~28s
qa_generate$0.15~36s
quiz$0.15~36s
flashcards$0.15~36s
data_table$0.15~36s
podcast_script$0.18~53s
slide_deck$0.20~54s

Environment Variables

$NTRIQ_AI_URL=https://vision.ntriq.co.kr # default: https://vision.ntriq.co.kr

Development

# Run tests
npm test
# Lint
npm run lint

License

MIT