Advanced AI-Based Blog Posting Module

Job ID: 40001538

Budget: ₹12,500 – ₹37,500 INR

I need an advanced blog posting module to be developed and integrated into my **existing SaaS project **.
The module must support AI-generated posts (ChatGPT or DeepSeek), manual writing, a token-based billing system, and APIs for managing and publishing posts.

This is an add-on module for my existing platform — not a standalone system.

---

## **Module Requirements (to integrate into existing project )**

### **Super Admin (SaaS Owner)**

* Set price per token
* Set token-to-word ratio
* Set token cost per AI image
* Add/update ChatGPT API key
* Add/update DeepSeek API key
* Enable/disable any AI model for tenants

---

### **Tenant Admin (Inside afli.ae Admin Panel)**

#### **Blog Creation & Editing**

* Create blog using AI or Manual
* Choose AI model (ChatGPT or DeepSeek)
* Set word limit before generating content
* AI will deduct tokens per word
* AI image generation will deduct tokens per image
* Manual content creation allowed
* Rich text editor with media upload
* Add meta title, meta description, keywords
* Add featured image
* SEO score indicator
* Draft / Publish / Unpublish / Schedule

#### **Blog Management**

* Blog list (Draft / Published / Unpublished / Scheduled)
* Edit blog
* Delete blog

#### **Token System**

* Token wallet inside admin panel
* Buy tokens
* Token usage logs
* Auto-block AI tools if insufficient tokens

#### **Categories & Tags**

* Add / manage categories
* Add / manage tags

---

### **User / Expert (Inside afli.ae User Dashboard)**

* Create blog (AI / Manual)
* Generate outlines
* Rewrite or improve content
* Add meta tags
* Upload images
* Submit post for admin approval
* View token usage

---

## **Post Management API (Mandatory Integration)**

Integrate the following APIs into afli.ae so external apps and mobile can manage posts:

1. `POST /posts` – Create post
2. `GET /posts` – List posts
3. `GET /posts/{id}` – Get single post
4. `PUT /posts/{id}` – Update post
5. `DELETE /posts/{id}` – Delete post
6. `POST /posts/{id}/publish` – Publish post
7. `POST /posts/{id}/unpublish` – Unpublish post
8. `POST /posts/{id}/schedule` – Schedule post
9. `POST /posts/{id}/upload-image` – Upload featured image
10. `POST /posts/{id}/meta` – Update meta tags

This API must be connected to the same token logic and permission levels of afli.ae.

---

## **Technical Requirements**

* Must integrate into **current afli.ae code structure**
* Any backend tech acceptable: Laravel, Node.js, Python
* Use MySQL/PostgreSQL
* Follow afli.ae authentication (JWT)
* Clean REST API
* Completely modular so it doesn’t break existing system

---

## **Deliverables**

* Fully integrated blog module in afli.ae
* Admin/User/Expert UI screens
* Working token-based AI generation
* Image upload + meta tag system
* Post Management API
* Database tables + migrations
* Clean documented source code
* Full API documentation

---
Related categories: MySQL Laravel