Skip to content

Byaigo/ai-content-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

AI Content Service v2.0 🤖

⚡ One-Click Install

curl -fsSL https://raw.githubusercontent.com/Byaigo/install/master/install.sh | bash

HTTP API for AI-powered content generation. 14 endpoints covering resumes, copywriting, social media, emails, blogs, proposals, scripts, and more.

✨ New in v2.0 — 8 New Endpoints!

  • 📱 /social — Multi-platform social media posts (Twitter, LinkedIn, Instagram, TikTok, Reddit)
  • 📧 /email — Email templates (marketing, follow-up, cold outreach, newsletter)
  • 📝 /blog — Blog post outlines with SEO optimization
  • 💼 /proposal — Business proposals with budget breakdown
  • 📄 /coverletter — Customized cover letters
  • 🏷️ /slogan — Brand slogan generation
  • 📦 /product_desc — Product descriptions with comparison tables
  • 🎬 /script — Video scripts with timing and production notes
  • 🔑 API Key system — Generate keys, track usage per client
  • 📊 Enhanced /stats — Per-key usage tracking
  • 📮 POST support — Send JSON payloads

Quick Start

# Start server
python3 ai_service.py

# Get documentation
curl http://localhost:8765/

# Generate API key
curl "http://localhost:8765/generate-key?email=you@example.com"

All Endpoints

Original (Enhanced)

Endpoint Description Price (¥)
/resume Resume optimization 29-59
/summary Annual summary 39-99
/copy Copywriting 19-59
/ppt PPT outline 29-99
/paper Paper outline 49-199
/translate Translation 9-29

New in v2.0

Endpoint Description Price (¥)
/social Social media posts 15-39
/email Email templates 15-39
/blog Blog post outline 29-79
/proposal Business proposal 49-149
/coverletter Cover letter 19-49
/slogan Brand slogan 9-19
/product_desc Product description 19-49
/script Video script 29-79

Usage Examples

# Resume optimization
curl "http://localhost:8765/resume?text=my+experience&target=Software+Engineer"

# Social media posts for multiple platforms
curl "http://localhost:8765/social?topic=AI+Trends&platforms=twitter,linkedin,reddit"

# Email template
curl "http://localhost:8765/email?type=marketing&recipient=Customer&purpose=product+launch"

# Business proposal
curl "http://localhost:8765/proposal?project=Website+Redesign&client=TechCorp&budget=50000"

# Cover letter
curl "http://localhost:8765/coverletter?name=John&company=Google&position=SDE"

# Video script
curl "http://localhost:8765/script?topic=Python+Tutorial&duration=120&platform=youtube"

# Brand slogans
curl "http://localhost:8765/slogan?brand=AcmeTech&industry=fintech&values=secure,fast,innovative"

API Key (Optional)

# Generate key
curl "http://localhost:8765/generate-key?email=you@example.com"

# Use with requests
curl -H "X-API-Key: YOUR_KEY" "http://localhost:8765/resume?text=..."
# Or as query param
curl "http://localhost:8765/resume?text=...&key=YOUR_KEY"

# Check your usage
curl -H "X-API-Key: YOUR_KEY" "http://localhost:8765/stats"

Stats

# Global stats
curl http://localhost:8765/stats

# Your stats (with API key)
curl -H "X-API-Key: YOUR_KEY" http://localhost:8765/stats

Deploy

PORT=8765 python3 ai_service.py
# Use nginx reverse proxy for production

Donate

ETH: 0x18da907cb9d981bc798acb87ac27b03a2dc3cbb7

[MIT License]

About

AI Content Generation API - Resume, Copy, PPT, Paper writing. Pay-by-crypto.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages