Building a Mobile AI Comic Drama App from Scratch: An 8-Day Practice and Character Consistency Analysis
This article describes how a solo developer built a mobile AI comic drama app called Mandao in eight days. It covers the four-stage workflow from a one-line idea to a finished video, a three-layer approach to keeping characters consistent across shots, practical tips for working with an AI coding assistant, and the project's open-source plans.
1. Project Background: Why Build an AI Comic Drama Tool for Mobile
AI comic drama has become a popular format in content creation over the past two years. A creator provides an idea or a single sentence, and the system generates a script, character designs, and scene descriptions. It then produces storyboard images and short video clips in batches and assembles them into a complete short comic drama. On short-video platforms, this has formed a clear production pipeline and has attracted many practitioners and offline meetups.
In practice, most mainstream tools today run in the browser. Creators sit at a computer and switch between several platforms to write scripts, generate images, and compose videos. Mobile creation has clear gaps. The need to create whenever spare time appears is not well served.
Based on this observation, a reasonable starting point is a mobile-first AI comic drama app. Users would start with one sentence and export a finished video, with the entire process handled inside a single app. This is the goal of the project described here. The final product is named Mandao, which means “the director who makes comic dramas.”
2. Workflow Design: A Four-Stage Pipeline from One Sentence to a Finished Video
The core workflow can be broken down into four stages. Each stage is an independent module that can be extended separately:
- Script generation: Takes the user’s one-sentence idea and calls a large language model to expand it into a structured script. The script includes a plot summary, episode structure, and dialogue.
- Character and scene setup: Extracts characters and scenes from the script. For each character, the system generates an appearance description, clothing settings, and personality tags. For each scene, it generates an environment description. By default, each scene offers seven optional settings and each character has two candidate appearances. All of these are configurable so users can intervene.
- Storyboard generation: Splits the script into shots based on its story beats, then generates an image and a short video clip for each shot. This is the most computationally expensive part of the pipeline.
- Output and composition: Joins the shot videos in sequence, adds voiceover and subtitles, and exports the complete comic drama video.
{"story": "The Last Letter of the Star Courier","characters": [{ "name": "Courier", "appearance": "...", "clothing": "...", "voice": "..." }],"scenes": [{ "id": 1, "description": "...", "shots": [...] }]}
Designing the intermediate products as structured JSON like the example above keeps the downstream modules stable. The script module does not output a long block of natural language. It outputs schema-based data that the storyboard module can use directly. This greatly reduces the cost of integrating the modules.
3. Character Consistency: The Biggest Technical Challenge in AI Comic Drama
The key difference between AI comic drama and ordinary AI image generation is narrative continuity. The same character appears across dozens of shots. If each image is generated independently, the character’s face shape, hair color, and clothing will vary, and viewers will immediately lose immersion.
This project uses a three-layer approach to character consistency:
- Locked descriptions: Each character gets a detailed appearance description that stays fixed. This description is injected into every storyboard image prompt, which enforces consistency at the prompt level.
- Reference image constraints: After the first generation, a base character image is selected. Later shots are generated using this image as a visual reference, which reduces semantic drift that can happen with text descriptions alone.
- A configurable character pool: Character settings are not fixed once. Users can edit them and regenerate the base image, so the locked appearance is one the user approves.
Testing showed that this combined approach reached a fairly high level of consistency in the MVP version. Some issues remain for later iterations, including constraints on dubbing language and consistency when multiple characters appear in the same frame. These challenges are common in the current AI video generation field.
4. Building Efficiently with an AI Coding Assistant: Where the Eight Days Came From
One developer completed the MVP of a mobile app in eight days, excluding holidays. The effective development time was shorter. This was only possible through heavy use of AI coding tools. The project used a terminal-based AI coding assistant combined with a large language model. The developer described requirements in natural language, and the model generated code, modified files, and debugged errors directly in the terminal.
Several practical lessons are worth recording:
- Break down tasks before writing code. Splitting the four-stage workflow into independent modules and describing each module separately worked much better than giving one broad instruction such as “build an AI comic drama app for me.”
- Have the model propose a plan before implementation. For core challenges such as character consistency and storyboard scheduling, ask the model for a technical analysis first. Confirm the approach manually before generating code. This prevents much of the rework.
- Use structured output constraints. Requiring the model to return schema-based JSON in the prompt, along with validation logic, noticeably improves the reliability of the generated code.
- Keep costs under control. The total model cost, including the calls the app makes to plan scripts, was on the order of tens of yuan (RMB). This suggests that the trial-and-error cost of lightweight AI applications has dropped to a level individual developers can comfortably afford.
5. Open Source and Collaboration
The project is open source. The goal is to attract more developers to help improve character consistency, dubbing constraints, mobile interaction, and other modules. In a field that is still evolving quickly, open collaboration is an effective way to mature the approach.
6. Final Thoughts
This project offers a repeatable pattern. Find a mobile gap in a content creation workflow. Use a large language model to generate scripts and storyboards. Maintain character consistency with locked descriptions and reference image constraints. Shorten the development cycle with an AI coding assistant. The result was one person, eight days, and tens of yuan in model costs. AI coding is lowering the barrier for individual developers to build complete product ideas to a level that has not existed before.
