Welcome to the AI Blog Companion, an end-to-end application that generates high-quality blog content using Google's Generative AI Model. This app allows users to input their own API key, along with a blog title, keywords, and a word limit to generate a comprehensive, engaging blog post tailored to their needs.
- Generates unique and engaging blog content based on provided inputs.
- Supports customizable keywords, blog length, and tone.
- User input for Google API key, ensuring a personalized experience.
- Provides a safe content generation environment with built-in harm category filters.
You can access the live demo of the app here:
AI Blog Companion - Streamlit
app.py
: Main application file for the Streamlit interface and blog generation logic.requirements.txt
: List of required Python packages.
-
Clone the repository:
git clone https://github.com/cyberfantics/AI-Blog-Companion.git cd AI-Blog-Companion
-
Install dependencies:
Make sure you have Python 3.7 or later installed. Then run:
pip install -r requirements.txt
-
Run the Streamlit app:
streamlit run app.py
-
Access the app:
Open your browser and go to
http://localhost:8501
to view the app.
-
Enter Your API Key:
- Input your personal Google API Key in the provided field.
-
Enter Blog Details:
- Blog Title: Provide the title of the blog post.
- Keywords: Enter keywords relevant to the content (comma-separated).
- Word Limit: Choose the length of the blog post using the slider.
-
Generate Blog:
- Click the "Generate Blog π" button, and the app will create a blog post based on the inputs.
To use this application, you need a Google API key. You can get this key by following these steps:
- Go to the Google Cloud Console.
- Create a new project or use an existing project.
- Enable the Generative AI API.
- Create credentials for an API key.
- Copy the API key and paste it into the app when prompted.
The app uses safety settings to filter harmful content related to hate speech and harassment. These filters are adjustable, ensuring a secure environment for content generation.
This project is maintained and contributed by:
Feel free to contribute to this project by submitting pull requests or reporting issues.
Thank you for using AI Blog Companion! We hope this tool helps you streamline your blog writing process. π