Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Generate platform-specific post copy for social media
praisonai recipe run ai-post-copy-generator \ --input '{"topic": "AI agents tutorial", "platform": "linkedin"}' \ --json
import sys sys.path.insert(0, 'agent_recipes/templates/ai-post-copy-generator') from tools import generate_post_copy, generate_multi_platform_copy # Generate for single platform copy = generate_post_copy( topic="AI agents are revolutionizing development", platform="linkedin", tone="professional", include_hashtags=True ) # Generate for multiple platforms multi = generate_multi_platform_copy( topic="AI agents tutorial", platforms=["x", "linkedin", "youtube"] )
{ "type": "object", "properties": { "topic": {"type": "string"}, "platform": { "type": "string", "enum": ["x", "linkedin", "youtube", "instagram"] }, "tone": {"type": "string", "default": "professional"}, "include_hashtags": {"type": "boolean", "default": true}, "include_cta": {"type": "boolean", "default": true} } }
{ "copy": "🚀 AI agents are changing everything...", "platform": "linkedin", "length": 500, "within_limit": true }