Appearance
content-gen
FreshSource: BIBLE.md (Phase 12 Phase 2, content-gen 4 routes)
LLM-powered content for posts, reviews, comments. Two backends: Gemini and Ollama.
6 content types
post: social media post bodycomment: comment on a postreview: business reviewqa-answer: Q&A answerarticle-section: SEO article sectionbio: profile bio
Routes (4)
| Method | Route | What |
|---|---|---|
| POST | /content-gen/generate | Generate content |
| POST | /content-gen/batch | Batch generate |
| GET | /content-gen/templates | List prompt templates |
| GET | /content-gen/stats | Usage stats per backend |
Example payload
bash
curl -X POST http://localhost:4700/content-gen/generate \
-H "Content-Type: application/json" \
-d '{
"type": "review",
"brand": "Journey Junk Removal",
"city": "Dallas",
"tone": "casual",
"rating": 5,
"backend": "gemini"
}'Backends
| Backend | Cost | Setup |
|---|---|---|
gemini | $0 (free tier) | GOOGLE_GEMINI_API_KEY |
ollama | $0 (local) | Pull a model, set OLLAMA_URL |
Related
- Cascade Runner
- Sleeves: content-factory: 3-tier content gen