跳到正文
DEV Community· Rohit Kumar singh·· 3 小時前AI 評分30

GhostWriter AI:以 Gemma 3 1B 打造銷售內容生成工具

Ghost Writer

AI 導讀

GhostWriter AI 使用開放權重模型 Gemma 3 1B,根據產品資料生成銷售推廣內容,服務學生、自由工作者、小型企業主及網上賣家。用戶可取得產品標題、描述、社交媒體文案、相關 hashtag、推廣訊息及行銷吸引句,並下載為 Markdown 檔案;應用以 Python、Streamlit、FastAPI 和 Ollama 建置,並由 Render 託管。

正文

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle

What I Built

I built GhostWriter AI, an AI-powered sales content generator designed for students, freelancers, small business owners, and online sellers who want to grow their side hustles.

Many people have great products but struggle to create attractive marketing content. Hiring professional copywriters can be expensive, especially for beginners and small businesses.

GhostWriter AI solves this problem by generating a complete sales content kit from simple product details. Users enter their product name, category, features, target customers, price, offer, preferred platform, tone, and language.

The application generates:

  • Catchy product titles
  • Short and detailed product descriptions
  • Social media captions
  • Relevant hashtags
  • Promotional messages
  • Marketing hooks to attract potential customers

GhostWriter AI helps users save time, reduce content creation costs, and focus more on growing their businesses.

The project could be monetized through a freemium model, offering basic content generation for free and premium features through a paid subscription.

Demo

Try the live application here:

https://ghostwriter-czm9.onrender.com/

Users can enter their product details, generate AI-powered marketing content, and download the generated sales content as a Markdown file.

Code

GitHub Repository:

https://github.com/rohit060321/ghostwriter.git

The repository contains the source code, setup instructions, and documentation needed to run the project.

Contributions and suggestions for improving the project are welcome.

How I Built It

I built GhostWriter AI using Python, Streamlit, FastAPI, Ollama, and the open-weight Gemma 3 1B model.

Technologies used:

  • Python: Implements the application's core logic and input processing.
  • Streamlit: Provides a simple and interactive user interface.
  • FastAPI: Handles backend requests and communicates with the AI model.
  • Ollama: Runs the language model locally during development.
  • Gemma 3 1B: Generates product titles, descriptions, social media captions, hashtags, promotional messages, and marketing hooks.
  • Render: Hosts the deployed application.

How it works:

  1. The user enters the product details and selects their preferred marketing settings.
  2. The Streamlit frontend sends the information to the FastAPI backend.
  3. The backend prepares a prompt based on the user's requirements.
  4. The Gemma model processes the prompt and generates relevant marketing content.
  5. The generated content is displayed to the user and can be downloaded.

I wanted to keep the project simple, practical, and accessible rather than building a complicated system with unnecessary dependencies.

Why Does Open Innovation Matter?

Open innovation makes AI development more accessible to students, independent developers, startups, and small businesses.

By using an open-weight model such as Gemma, developers can experiment with AI, customize prompts, understand how model-powered applications work, and build useful tools without depending entirely on proprietary AI APIs.

For GhostWriter AI, open-weight AI provides an opportunity to explore more accessible content generation, greater control over model execution, and the possibility of adapting the application to different business requirements.

Open-source technologies such as Python, FastAPI, Streamlit, and Ollama also make it easier for other developers to study, modify, and contribute to the project.

As a student developer, building this project helped me understand how an AI model can be integrated into a real application to solve a practical problem. It also showed me how open-source AI can help turn an idea into a useful tool for people trying to build their own side hustles.

My Agent Session

This project was developed with AI-assisted coding and experimentation. I focused on integrating the model, connecting the frontend and backend, and making the application usable.

Agent session link: Not available.

Prize Categories

  • Open-Source AI Project: Uses the open-weight Gemma model for AI-powered marketing content generation.

來源:DEV Community · dev.to