Home/ IMAGE/ RedInk: Self-Hosted Generator for Xiaohongshu Image Posts
IMAGE

RedInk: Self-Hosted Generator for Xiaohongshu Image Posts

RedInk turns one sentence into a multi-page Xiaohongshu-style image post using Gemini and Nano Banana Pro via your own API keys. Docker install. License unverified.

Published Sep 15, 2026 · 3 min read
RedInk illustration
TL;DR: RedInk turns one sentence into a multi-page Xiaohongshu-style image post using Gemini and Nano Banana Pro via your own API keys. Docker install. License unverified.

Xiaohongshu (RedNote) posts are a genre of their own: a stack of image cards with bold on-image text, a consistent visual style and a cover designed to stop the scroll. RedInk automates that format. Type one sentence and it drafts an outline, designs a cover and generates the content pages, using text and image models you connect with your own API keys.

RepositoryHisMax/RedInk
MaintainerHisMax
Primary languagePython (Flask) with a Vue 3 front end
GitHub stars5,548 (as of 15 September 2026)
Last push30 June 2026
License statusUnverified — see below

What it does

The README splits the workflow into three steps:

  1. Outline — generates a page-by-page plan you can edit, reorder, and annotate with a custom description per page (which the README strongly recommends).
  2. Cover — generates a cover page aiming for your chosen style and accurate text rendering.
  3. Content pages — generates all remaining pages concurrently (up to 15 by default), with per-page regeneration.

By default the README lists Gemini 3 for text and Nano Banana Pro for images. Provider config files also accept OpenAI-compatible text and image endpoints, so you can point it at other services.

Who it’s for

  • Social media creators and marketers producing carousel-style image posts, especially for Xiaohongshu.
  • Developers who want a self-hosted web app on top of commercial image APIs rather than a SaaS subscription.

Getting started

The recommended route in the README is a single Docker command that exposes the app on port 12398, with volumes to keep generation history and output images. You then add API keys on the web UI’s Settings page; the container ships with none. A docker-compose file is also provided. For local development the README requires Python 3.11+, Node.js 18+, pnpm and uv, plus start scripts for macOS, Linux and Windows. Because generation happens through remote APIs, no local GPU is needed. You do pay whatever your API provider charges.

License status

Unverified. GitHub could not match this project’s license file to a standard open-source license (it reports NOASSERTION). The Signal has not reviewed the terms. Read the license file before any commercial use or redistribution. Content you generate is also subject to the terms of the text and image APIs you connect.

Limitations and open questions

  • Self-hosted app, but not local AI: every generation call goes to an external API.
  • The README warns that high-concurrency mode can fail on rate-limited or trial API accounts; it is off by default.
  • The tool is tuned for one platform’s post format.
  • We have not deployed or tested RedInk.

Sources

Related: Jaaz, a canvas-based creative app · more repo profiles.

This profile was drafted with AI assistance from the project’s public repository and reviewed by The Signal’s editors before publication. See our AI Disclosure.

The Signal newsletter

Keep getting this

One edition a week on open models, local setups and the tools around them.

Read the latest issue

Email delivery opens once the newsletter platform is connected.

Scroll to Top