Documentation Index
Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
AI CTA Generator
Generate platform-optimized calls-to-action and titles for YouTube, X, LinkedIn, and more.
CLI Quickstart
praisonai recipe run ai-cta-generator \
--input '{"topic": "AI tutorial", "platform": "youtube"}' \
--json
Use in Your App (SDK)
import sys
sys.path.insert(0, 'agent_recipes/templates/ai-cta-generator')
from tools import generate_cta, generate_title
# Generate CTA
cta = generate_cta("AI tutorial video", platform="youtube")
# Generate title
title = generate_title("AI agents tutorial", platform="youtube")
{
"type": "object",
"properties": {
"topic": {"type": "string"},
"platform": {
"type": "string",
"enum": ["youtube", "x", "linkedin", "instagram", "tiktok"]
},
"cta_type": {
"type": "string",
"enum": ["subscribe", "like", "comment", "share", "link"]
}
}
}
Output Schema
{
"cta": "Subscribe and hit the bell...",
"title": "AI Agents: The Complete Guide",
"platform": "youtube"
}
| Platform | Title Length | CTA Style |
|---|
| YouTube | 60 chars | Subscribe, like, comment |
| X | 50 chars | Retweet, follow |
| LinkedIn | 100 chars | Connect, share |
| TikTok | 40 chars | Follow, duet |
Environment Variables
| Variable | Required | Description |
|---|
| OPENAI_API_KEY | Yes | For CTA generation |