I created an AI storybook for my son from the terminal

Create an interactive storybook for your child with a single command. Learn how to generate consistent illustrations and storytelling with the Bailian CLI.

martes, 14 de julio de 2026 • 4 min read • Q2BSTUDIO Team

How to generate consistent illustrations with the same character

Generative artificial intelligence has opened up extraordinary possibilities in the creation of personalized content. A few months ago, I wanted to design an interactive book for my five-year-old son, a story with consistent illustrations, built-in storytelling, and the ability to turn pages like in an app. The commercial tools of 'AI storybook' promised a lot but failed in the essentials: the face of the protagonist changed in each illustration, they did not include audio or interactivity. After trying several options, I discovered that the most flexible solution was not a graphical application, but a terminal and a set of artificial intelligence APIs. This approach, based on the use of language models and image generation with fixed seeds to maintain consistency, allows the creation of everything from a children's story to dynamic corporate materials. The key is to combine text, image, and speech generation using command-line tools that invoke cloud models, and then assemble it all into interactive HTML. This principle is directly applicable to business environments, where process automation using AI agents can produce technical documentation, sales presentations, or tailored training materials, all without manual intervention.

The real value of this approach lies in the granular control it offers. By working directly with APIs and scripts, it is possible to define a visual 'anchor' for the characters—a detailed description that is repeated at each prompt—and set a random seed for the image generation model to produce consistent results. In this way, the hero of the story looks the same in all scenes, something that generic tools do not achieve. In addition, speech synthesis is integrated through AWS or Azure cloud services, allowing you to choose natural voices and synchronize them with each page. For a business, this means being able to generate product catalogs with consistent images, explainer videos with automated narration, or even interactive dashboards that combine Power BI data with AI-generated descriptions. The same logic I used for a children's book can scale to creating custom apps for employee training, dynamic technical documentation, or custom executive reports.

In the corporate context, artificial intelligence for companies not only reduces costs and times, but also opens the door to levels of personalization that were unthinkable until now. Let's imagine an organization that needs to produce procedure manuals for different departments, each with its own language and visual examples. With a flow similar to the one described—an AI agent that writes the text, another that generates the illustrations while maintaining the visual identity, and a third that synthesizes the narrative—it is possible to create hundreds of versions in minutes. All of this can be integrated into a custom software platform, hosted on AWS or Azure cloud services, with cybersecurity measures that protect sensitive data. In addition, the result can feed AI systems for businesses that allow end users to interact with content, perform semantic searches, or automatically generate updated versions.

The democratization of content creation also implies rethinking roles in organizations. It is no longer necessary for a team of designers, editors and voice-over artists to work weeks on a single material. With well-orchestrated AI tools, any professional can become a creator, as long as the parameters of quality and consistency are clearly defined. This is where companies like Q2BSTUDIO bring their expertise in developing solutions that integrate language models, image generation, speech synthesis, and process automation. We offer business intelligence services with Power BI to visualize usage metrics, AI agents that manage complex workflows, and custom applications that connect with legacy systems or ERPs. All this on scalable cloud infrastructure and with advanced cybersecurity protocols to guarantee the protection of corporate information.

A practical example: an online training company wanted to create interactive videos for each student, adapting the content to their level of knowledge and language. We implemented a system that, based on a knowledge base, generated texts, images and audios in real time, assembling them in a web interface. The AI engine used specialized agents: one drafted the script, another selected images from a pre-generated bank with fixed seeds, and a third synthesized the voice with the appropriate intonation. The result was a unique course for each student, delivered in minutes. Behind this system were AWS cloud services for storage and processing, and Power BI to monitor the effectiveness of content. Security was ensured through encryption and granular access controls, a critical aspect in any custom software project.

The evolution of generative AI is taking content creation into a new paradigm: that of on-demand production, with consistent quality and near-zero marginal costs. Whether it's for a personalized children's book or an interactive corporate manual, the principles are the same: an automated flow that combines text, image, and speech, orchestrated from a terminal or API, and packaged into a simple web interface. Companies that adopt these capabilities will gain a significant competitive advantage, being able to respond quickly to the needs of their internal and external customers. At Q2BSTUDIO we work to make this transition secure, efficient and scalable, offering artificial intelligence, cloud, cybersecurity and business intelligence services integrated into software solutions as they transform the way information is created and consumed.

OUR SERVICES

How we can help you

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.