Skazkomat
A service of personalized fairy tales where your child is the main character



An IdeaFix product of our own: a service of personalized illustrated fairy tales for children. Based on a questionnaire about the child — appearance, interests, family, photo — neural networks write and illustrate a story in which the child is the main character. It can be read online or ordered as a printed book, once or by subscription.
What we did
- A «text → art direction → illustrations» generation pipeline. The AI checks the finished images itself and redraws the weak ones.
- Onboarding with a free 12-page trial story and up to three redraws of the hero.
- An account area: a reader, child profiles, interests, subscriptions, reprinting a finished story.
- Billing: one-off purchases, quarterly and annual subscriptions, print plans, gifts, promo codes, a discount for a second child, upgrading to an annual subscription with credit for what was paid.
- Payments via processing.kz, Kaspi, ePay and CloudPayments: the payment method is chosen by country, and providers are switched on from the admin panel.
- Printing: an A5 book with bleed, PDF layout and a queue of orders to the print shop.
- Blog: every day a bot prepares a draft article with a cover image, and a person publishes it.
- Monitoring: an error log, Telegram alerts, encrypted backups with restore checks.
Highlights
- The same hero on every page of the book: a character and location sheet, request chains, a character «canon» for each story and automatic provider switching on failure.
- «Style universes»: the world's style is set at all three generation stages and when images are accepted, not as a final filter.
- Children's photos are stored encrypted, and access to personal data is logged.
Technologies
PHP 8.5, IdeaFix engine, MySQL/MariaDB, Memcached, background cron workers. OpenAI and Claude for text, xAI and OpenAI gpt-image for illustrations. GD, sodium, PHPMailer.






