[Open-source] A one-stop AI-powered small red book image and text generator, driven by AI, uniform style, and accurate text

Open SourceOpen Source Systems
2026-06-10 12:25 4 次浏览 • 0 次下载 0KB
[Open-source] A one-stop AI-powered small red book image and text generator, driven by AI, uniform style, and accurate text

1. Project Overview

Image

Hong Mo - Xiao Hong Shu AI Text and Image Generator

Let dissemination no longer require barriers, let creation have never been so simple

Hong Mo - A one-stop small red book text and image generator based on Nano Banana Pro <One sentence, one image, generate small red book text and image>

Image

Use Hong Mo to generate various small red book covers - AI-driven, uniform style, accurate text

2. Open Source License

Uses CC BY-NC-SA 4.0 open-source protocol

3. Screenshots

Hong Mo Homepage

Image

Effect Display

Input a sentence, and generate a complete small red book text and image

Prompt words: Autumn whitening nail art (darkly recommended: Muzi nail polish), the picture is my small red book homepage. Meets my style generation

At the same time, I also took a screenshot of my small red book homepage, including my avatar, signature, background, name, etc.

Image

Then wait for 10-20 seconds, and there will be a large outline for each page, and you can adjust the page order according to your needs (not recommended), customize the content of each page (very recommended)

Image

Firstly, generate the cover page

Image

Then wait for a while, and generate all the subsequent pages (here are all the pages generated in parallel, defaulting to 15, if your API provider cannot support high concurrency, please modify the settings)

Image

4. Feature Overview

User Guide

Basic Usage

  1. Input theme
    Enter the theme you want to create on the homepage, such as 'How to make a latte at home'
  2. Generate outline
    AI generates 6-9 page content outline
  3. Edit and confirm
    Can edit and adjust the description of each page
  4. Generate images
    Click to generate, and view the progress in real-time
  5. Download and use
    One-click download all images

Advanced Usage

  • Upload reference images
    Suitable for brand owners, maintaining brand visual style
  • Modify description words
    Precise control of each page's content and composition
  • Re-generate
    Re-generate individual pages that are not satisfied

5. Tech Stack

Technical Architecture

Backend

  • Language
    Python 3.11+
  • Framework
    Flask
  • AI Model
    Gemini 3 (text generation) Nano banana Pro (image generation)
  • Package management
    uv

Frontend

  • Framework
    Vue 3 + TypeScript
  • Build
    Vite
  • State management
    Pinia

  How to deploy yourself

Method one: Docker deployment (recommended)

The simplest deployment method, one command can start:

docker run -d -p 12398:12398 -v ./output:/app/output histonemax/redink:latest

Access http://localhost:12398 in the Web interfaceSettings pageConfigure your API Key to use

Use docker-compose (optional):

Download docker-compose.yml later:

docker-compose up -d

Docker deployment instructions:

  • The container does not contain any API Key, and needs to be configured in the Web interface
  • Use -v ./output:/app/output to persist generated images
  • Optional: mount a custom configuration file -v ./text_providers.yaml:/app/text_providers.yaml

Method two: local development deployment

Pre-requisites:

  • Python 3.11+
  • Node.js 18+
  • pnpm
  • uv

1. Clone the project

git clone RedInk
cd RedInk

2. Configure API service

Copy configuration template file:

cp text_providers.yaml.example text_providers.yaml
cp image_providers.yaml.example image_providers.yaml

Edit the configuration file, fill in your API Key and service settings. You can also configure it after startup in the Web interface.Settings pageor

3. Install backend dependencies

uv sync

4. Install frontend dependencies

cd frontend
pnpm install

5. Start the service

Start the backend:

uv run python -m backend.app

Access: http://localhost:12398

Start the frontend:

cd frontend
pnpm dev

Access: http://localhost:5173

Acknowledgments

  • Google Gemini - Powerful content generation capabilities
  • Image generation service provider - Stunning image generation effects
  • Linux.do - Excellent developer community
#1
资源直链https://github.com/HisMax/RedInk
去下载
星河码客

发现和分享优质开源项目,传承互联网精神,为开发者服务。

关于本站

联系我们

微信/广告合作:ITcloub (备注星河码客)

免责声明:本站资源版权归原作者所有,仅供学习与交流。如有侵权,请通过「关于我们 - 侵权投诉」联系删除。

Powered by Nuxt · Deployed on Cloudflare