Are you tired of spending endless hours trying to create engaging content for Xiaohongshu (Little Red Book)? Look no further! Autoxhs is here to transform your content generation experience by streamlining the process and automating it with the help of OpenAI’s API.
Table of Contents
Features
- Automated Content Creation: Leverages OpenAI’s API to generate engaging images, titles, content, and tags.
- LangGPT Prompt Generation & Langchian Framework: Uses the LangGPT methodology and Langchian framework to create high-quality prompts for language model applications.
- Customizable & User-Friendly: Provides a Streamlit-based interface for prompt customization and model selection.
- Efficient Post Generation: Supports topic and image-based post generation, allowing users to input topics or upload photos to craft engaging posts.
Demo
Experience the magic of Autoxhs through quick demonstrations:
- Theme-Based Post Generation: Input just a topic, and Autoxhs will handle the rest by creating a complete post.
- Image-Based Post Generation: Upload your photos, and watch as Autoxhs generates rich content based on your images.


Getting Started
Ready to dive in? Follow these simple steps to install and run Autoxhs:
bash
# Create a new conda environment with Python 3.9
conda create -n Autoxhs python=3.9
# Activate the conda environment
conda activate Autoxhs
# Clone the Autoxhs repository to your local machine
git clone https://github.com/Gikiman/Autoxhs.git
# Navigate to the Autoxhs project directory
cd Autoxhs
# Install dependencies from requirements.txt
pip install -r requirements.txt
# If you are using a Linux system, you'll need to install the corresponding dependencies
xargs -a packages.txt sudo apt-get install -y
After installing, launch the application with:
bash
streamlit run Autoxhs.py
Note: A high-speed internet connection is essential, and users in China might need to use a proxy.
Configuration
Optimize your experience with these configurations:
- Prompt Customization: Modify prompts in the
data/prompt
folder using the LangGPT methodology. - Model Selection: Default models are
gpt-4-0125-preview
for text anddall-e-3
for images, easily selectable in the app.
Supporters
Autoxhs has garnered support from various contributors:
Troubleshooting and Tips
If you encounter any issues while using Autoxhs, consider these troubleshooting ideas:
- Ensure that you have a proper internet connection, especially if you are accessing the application from China.
- Check for any missing dependencies by reviewing the
requirements.txt
file again. - If you experience errors related to prompt generation, verify the prompts in the
data/prompt
folder. - Feel free to reach out to the community for help or look through open issues in the GitHub repository for potential solutions.
- For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.
At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.