# MagicBook - [Introduction](https://magic-book.mintlify.app/getting-started/introduction.md): What MagicBook is, who uses it, and the three ways customers make books with AI. - [Requirements](https://magic-book.mintlify.app/getting-started/requirements.md): What your server needs to run MagicBook: PHP, extensions, database, folders, cron and the AI keys. - [Quickstart](https://magic-book.mintlify.app/getting-started/quickstart.md): From a fresh install to a finished test book: the setup order that gets MagicBook working on the first day. - [Web installer](https://magic-book.mintlify.app/installation/web-installer.md): Install MagicBook from your browser: what each step checks, what it writes, and how to sign in the first time. - [Manual setup](https://magic-book.mintlify.app/installation/manual-setup.md): Set up MagicBook from the command line when the web installer cannot be used, with the .env values it needs. - [Post-install checklist](https://magic-book.mintlify.app/installation/post-install-checklist.md): The ordered first-day tasks after installing MagicBook: security, AI, safety, limits, content and checks. - [Cron and queue](https://magic-book.mintlify.app/installation/cron-and-queue.md): The one cron job MagicBook needs, what it runs every minute, and how the background work finishes on shared hosting. - [Update instructions](https://magic-book.mintlify.app/updates/update-instructions.md): Install a new MagicBook version from the admin panel, and what to check after the update. - [Changelog](https://magic-book.mintlify.app/updates/changelog.md): What changed in each MagicBook release. - [License activation](https://magic-book.mintlify.app/license/activation.md): Activate, check and deactivate your MagicBook license, and what to do when you move to a new server. - [Extended license](https://magic-book.mintlify.app/license/extended-license.md): Which Envato license your MagicBook purchase carries, how to see it in the admin panel, and when to check the terms. - [Home](https://magic-book.mintlify.app/user-guide/dashboard.md): Read the Home page: the book to carry on with, your writing rhythm, your credits, your children and the AI work in progress. - [Bookshelf](https://magic-book.mintlify.app/user-guide/bookshelf.md): Start a book in one of the three modes, find and sort your books, and open, read, download or remove them. - [Storyland](https://magic-book.mintlify.app/user-guide/storyland.md): How children make a picture book by tapping pictures, with Inkling the owl reading every step aloud. - [Kid mode](https://magic-book.mintlify.app/user-guide/kid-mode.md): Lock the app into Storyland for children, and leave kid mode with the grown-up PIN. - [Family](https://magic-book.mintlify.app/user-guide/family.md): Make a personal bedtime story that stars your child, from a recipe card, then draw its pictures in the picture studio. - [Children](https://magic-book.mintlify.app/user-guide/children.md): Add the children who star in your stories, build how each one looks, and see which books they appear in. - [Writer's Room overview](https://magic-book.mintlify.app/user-guide/writers-room/overview.md): How a novel, chapter book or short story moves through the Writer's Room, from the first idea to the finished manuscript. - [Spark](https://magic-book.mintlify.app/user-guide/writers-room/spark.md): Turn an idea, a what-if question or a picture into three premise cards, lock the lines you like, and choose the premise for your book. - [Shape](https://magic-book.mintlify.app/user-guide/writers-room/shape.md): Set the genre, tone, format, audience, length and language of a book, and write its back-cover blurb. - [Plot](https://magic-book.mintlify.app/user-guide/writers-room/plot.md): Pick a story structure, let the AI plan the chapters or pages, shape the tension curve and rewrite the plan from any point with what-if. - [Cast & World](https://magic-book.mintlify.app/user-guide/writers-room/cast-and-world.md): Keep the Story Journal: characters, places, items, rules and groups, with a dossier for each, character sheets, auditions and interviews. - [Story Room](https://magic-book.mintlify.app/user-guide/writers-room/story-room.md): See the whole book at three distances: the Book view of chapters, the Board corkboard with plot threads, and the Page view of one scene. - [Manuscript](https://magic-book.mintlify.app/user-guide/writers-room/manuscript.md): Write one scene in the manuscript editor, let the AI draft or continue it, rewrite any passage, check continuity and keep versions. - [Picture studio](https://magic-book.mintlify.app/user-guide/picture-studio.md): Write, arrange and draw the pages and cover of a picture book, in one art style, with the same characters on every page. - [Reader](https://magic-book.mintlify.app/user-guide/reader.md): Read a book page by page on screen, listen along, narrate it, download it as a PDF and share it by link. - [Narration](https://magic-book.mintlify.app/user-guide/narration.md): Choose a narrator, record a book aloud, and see what narration costs in credits and minutes. - [Sharing and PDF](https://magic-book.mintlify.app/user-guide/sharing-and-pdf.md): Share a book with a private link that anyone can open, stop sharing, and download a screen-quality PDF. - [AI tools](https://magic-book.mintlify.app/user-guide/ai-tools.md): What the AI does in each part of MagicBook, what each step costs in credits, and what happens when a step fails or is blocked. - [Media library](https://magic-book.mintlify.app/user-guide/media-library.md): Upload images once, keep them in folders, add alt text and reuse them in your books. - [Voices](https://magic-book.mintlify.app/user-guide/voices.md): Hear every narrator before you choose one: search and filter the voices, check the languages each one speaks, and keep a shortlist. - [Profile and security](https://magic-book.mintlify.app/account/profile-and-security.md): Update your profile and contact details, change your password, verify your email and turn on two-factor authentication. - [Notifications](https://magic-book.mintlify.app/account/notifications.md): Read the notifications inbox for updates about your account and billing, and mark them as read. - [Support](https://magic-book.mintlify.app/account/support.md): Open a support ticket, choose its category and priority, attach a file, and follow the reply in the ticket. - [Credits](https://magic-book.mintlify.app/account/credits.md): How your credits work: the plan allowance, credit packs, credits held for running work, and your history. - [Billing](https://magic-book.mintlify.app/account/billing.md): Choose or change a plan, pay with your payment method, cancel a subscription, download invoices and send a bank transfer receipt. - [Referrals](https://magic-book.mintlify.app/account/referrals.md): Share your referral link, see the customers you brought in and the commissions you earned, and request a payout. - [Language and theme](https://magic-book.mintlify.app/account/language-and-theme.md): Change the language of the app and choose light, dark or system appearance for your account. - [Admin panel overview](https://magic-book.mintlify.app/admin/overview.md): Map of the admin sidebar: what each section does and which pages appear only when a plugin is installed. - [Admin dashboard](https://magic-book.mintlify.app/admin/dashboard.md): What the admin dashboard shows: the month in figures, the business, books and AI, background work, safety and people. - [Users](https://magic-book.mintlify.app/admin/users.md): Find, create, edit, view and delete customer accounts, check credit holds and orders, and watch live activity. - [AI providers](https://magic-book.mintlify.app/admin/ai-providers.md): Save, test, replace and remove the API keys for the eight AI providers MagicBook calls directly. - [Text models](https://magic-book.mintlify.app/admin/text-models.md): Choose which AI models write, plan and edit books, what each model costs customers, and which model does which job. - [Image models](https://magic-book.mintlify.app/admin/image-models.md): Choose which image models draw character sheets, pages and covers, which ones can keep characters consistent, and what each picture costs. - [Voices (admin)](https://magic-book.mintlify.app/admin/voices.md): Choose the ElevenLabs narrators customers can use, set the narration and voice input prices, and record Inkling for Storyland. - [Safety](https://magic-book.mintlify.app/admin/safety.md): Set how strict the AI safety check is for each audience, and review every request the check flagged or blocked. - [Generation activity](https://magic-book.mintlify.app/admin/generation-activity.md): Look up every AI step: who started it, how it went and what it cost. Start here when a customer reports a problem. - [Book settings](https://magic-book.mintlify.app/admin/book-settings.md): Set the longest picture books, chapter books and novels the site allows, and whether parents may use a child photo in Family books. - [Art styles](https://magic-book.mintlify.app/admin/art-styles.md): Add, edit and preview the picture styles customers choose from for their picture books. - [General settings](https://magic-book.mintlify.app/admin/general-settings.md): Set the credits new accounts receive, where uploads are stored, the upload limits, and the plugin settings cards. - [Global settings](https://magic-book.mintlify.app/admin/global-settings.md): Set the website name, URL, default theme and time zone, and connect reCAPTCHA, Google Analytics and Google Maps. - [Registration and login](https://magic-book.mintlify.app/admin/registration-and-login.md): Control sign-up, email verification, plan choice at sign-up, and social login with Facebook, Google, X and LinkedIn. - [SMTP settings](https://magic-book.mintlify.app/admin/smtp.md): Connect MagicBook to a mail server so it can send verification emails, notifications and receipts, and send a test email. - [Privacy and GDPR](https://magic-book.mintlify.app/admin/privacy-gdpr.md): Set up the cookie consent banner and its preferences window for visitors. - [Website content](https://magic-book.mintlify.app/admin/website-content.md): Edit the public site: the landing page, social links, SEO, logos, privacy policy and terms, FAQs, testimonials and Google AdSense. - [Blog](https://magic-book.mintlify.app/admin/blog.md): Write, publish and moderate the posts on your public blog, and review the comments readers leave. - [Support tickets](https://magic-book.mintlify.app/admin/support-tickets.md): Read and answer customer support tickets, and see how many are open, pending, resolved or closed. - [System notifications](https://magic-book.mintlify.app/admin/system-notifications.md): Review and manage the notifications that MagicBook sends to the admin account. - [System status](https://magic-book.mintlify.app/admin/system-status.md): Check that the server, cron job, AI keys, PDF fonts and mail are ready, and what to do for each item that is not. - [Languages](https://magic-book.mintlify.app/admin/languages.md): Choose the site languages, translate the interface strings, and publish the translations for customers. - [Plugins and themes](https://magic-book.mintlify.app/admin/plugins-and-themes.md): Install, update and remove plugins and themes from the marketplace, and activate the themes that come with MagicBook. - [SaaS overview](https://magic-book.mintlify.app/saas/overview.md): How the SaaS plugin adds plans, credits, payments, invoices, subscriptions and referrals to MagicBook. - [Plans](https://magic-book.mintlify.app/saas/plans.md): Create pricing plans: the price and type, the credits, the limits on books and pictures, and the features each plan includes. - [Free tier](https://magic-book.mintlify.app/saas/free-tier.md): Set the features and limits that apply to customers who do not have a plan while billing is on. - [Prepaid plans](https://magic-book.mintlify.app/saas/prepaid-plans.md): Sell one-time prepaid plans whose credits do not renew and stay until spent. - [Credits (admin)](https://magic-book.mintlify.app/saas/credits.md): How credits reach customers from plans, the free tier and sign-up, and how they are spent, held and released. - [Subscriptions](https://magic-book.mintlify.app/saas/subscriptions.md): See and manage customer subscriptions to monthly and yearly plans, and what happens when one is cancelled or renews. - [Orders](https://magic-book.mintlify.app/saas/orders.md): Find, view and manage every payment: approve bank transfers, download invoices and check proof of payment. - [Finance settings](https://magic-book.mintlify.app/saas/finance-settings.md): Set the default currency and tax, whether checkout needs billing details, and how prices are shown. - [Invoices](https://magic-book.mintlify.app/saas/invoices.md): Enter your company details and VAT number so every invoice shows who sold the plan and who paid for it. - [Affiliates](https://magic-book.mintlify.app/saas/affiliates.md): Run the referral program: affiliate accounts, the commissions earned from orders, and the payouts customers request. - [Finance dashboard](https://magic-book.mintlify.app/saas/finance-dashboard.md): Read the money figures: revenue, recurring revenue, active subscriptions, churn, revenue by gateway and plan, and the top customers. - [Payment gateways](https://magic-book.mintlify.app/gateways/overview.md): Enable the payment methods your customers use to buy MagicBook plans, and learn how webhooks, return URLs, plan sync and renewals work. - [Stripe](https://magic-book.mintlify.app/gateways/stripe.md): Connect Stripe to MagicBook to take card payments for one-time and recurring plans through Stripe Checkout. - [PayPal](https://magic-book.mintlify.app/gateways/paypal.md): Connect PayPal to MagicBook to take one-time payments and recurring subscriptions with the PayPal REST API. - [Paystack](https://magic-book.mintlify.app/gateways/paystack.md): Connect Paystack to MagicBook to take payments for one-time and recurring plans through the hosted Paystack checkout. - [Razorpay](https://magic-book.mintlify.app/gateways/razorpay.md): Connect Razorpay to MagicBook to take payments for one-time and recurring plans in the Razorpay checkout window. - [Mollie](https://magic-book.mintlify.app/gateways/mollie.md): Connect Mollie to MagicBook to take one-time payments and recurring subscriptions through the hosted Mollie checkout. - [Flutterwave](https://magic-book.mintlify.app/gateways/flutterwave.md): Connect Flutterwave to MagicBook to take payments for one-time and recurring plans through the hosted Flutterwave checkout. - [Paddle](https://magic-book.mintlify.app/gateways/paddle.md): Connect Paddle Billing to MagicBook to take one-time and recurring payments through the Paddle checkout overlay. - [YooKassa](https://magic-book.mintlify.app/gateways/yookassa.md): Connect YooKassa to MagicBook to take payments in the hosted YooKassa checkout, and learn how recurring plans behave. - [Braintree](https://magic-book.mintlify.app/gateways/braintree.md): Connect Braintree to MagicBook to take card and wallet payments for one-time and recurring plans through the Braintree Drop-in. - [Iyzico](https://magic-book.mintlify.app/gateways/iyzico.md): Connect iyzico to MagicBook to take payments for one-time and recurring plans through the hosted iyzico checkout form. - [Midtrans](https://magic-book.mintlify.app/gateways/midtrans.md): Connect Midtrans to MagicBook to take payments for one-time and recurring plans through the Midtrans Snap payment window. - [Coinbase Commerce](https://magic-book.mintlify.app/gateways/coinbase.md): Accept crypto payments for one-time MagicBook plans through Coinbase Commerce, and check whether your account can still create charges. - [Bank transfer](https://magic-book.mintlify.app/gateways/bank-transfer.md): Let customers pay for a plan by bank transfer, collect proof of payment, and approve the order to release the plan. - [Wallet](https://magic-book.mintlify.app/gateways/wallet.md): Let customers pay for a plan from the balance stored on their MagicBook account, and understand what this version does and does not provide. - [Plugins overview](https://magic-book.mintlify.app/plugins/overview.md): What plugins add to MagicBook, how to install, enable, price and give them to plans, and which three are available. - [Audiobook Studio](https://magic-book.mintlify.app/plugins/audiobook-studio.md): Turn a book or an uploaded manuscript into a full-cast audiobook with voices, sound design and M4B, MP3 or ACX export. - [Voice Cloning](https://magic-book.mintlify.app/plugins/voice-cloning.md): Let customers clone their own voice from a live recording or uploaded audio, and manage the ElevenLabs slots and consent rules. - [SaaS plugin](https://magic-book.mintlify.app/plugins/saas.md): The SaaS plugin that turns MagicBook into a paid service: what it adds and how to install and enable it. - [Integrations overview](https://magic-book.mintlify.app/integrations/overview.md): The outside services MagicBook connects to: the AI providers it calls directly, and the social login providers. - [OpenAI](https://magic-book.mintlify.app/integrations/ai/openai.md): Connect OpenAI for writing, pictures and the free safety check. - [Anthropic](https://magic-book.mintlify.app/integrations/ai/anthropic.md): Connect Anthropic for long-form writing and editing with Claude models. - [Google Gemini](https://magic-book.mintlify.app/integrations/ai/gemini.md): Connect Google Gemini for writing and for the image models that keep characters consistent. - [xAI Grok](https://magic-book.mintlify.app/integrations/ai/xai.md): Connect xAI for writing and planning with Grok models. - [FLUX (Black Forest Labs)](https://magic-book.mintlify.app/integrations/ai/flux.md): Connect Black Forest Labs FLUX for illustrations, with reference images for consistent characters. - [Ideogram](https://magic-book.mintlify.app/integrations/ai/ideogram.md): Connect Ideogram for picture models that are strong at covers and lettering. - [Recraft](https://magic-book.mintlify.app/integrations/ai/recraft.md): Connect Recraft for picture models that suit covers, vector art and line art. - [ElevenLabs](https://magic-book.mintlify.app/integrations/ai/elevenlabs.md): Connect ElevenLabs for narration voices, voice input and Inkling in Storyland. - [Google login](https://magic-book.mintlify.app/integrations/login/google.md): Let customers sign in with their Google account by creating a Google OAuth client and saving its keys in MagicBook. - [Facebook login](https://magic-book.mintlify.app/integrations/login/facebook.md): Let customers sign in with Facebook by creating a Facebook app and saving its keys in MagicBook. - [X (Twitter) login](https://magic-book.mintlify.app/integrations/login/x.md): Let customers sign in with their X account by creating an X app and saving its keys in MagicBook. - [LinkedIn login](https://magic-book.mintlify.app/integrations/login/linkedin.md): Let customers sign in with their LinkedIn account by creating a LinkedIn app and saving its keys in MagicBook. - [Environment variables](https://magic-book.mintlify.app/advanced/environment-variables.md): The settings in .env that MagicBook reads, what each one does, and the values that must not change after install. - [Storage](https://magic-book.mintlify.app/advanced/storage.md): Where MagicBook keeps uploads, pictures, narration and generated files, and how to store media on a cloud bucket. - [Cache](https://magic-book.mintlify.app/advanced/cache.md): Where MagicBook keeps its cache, why the scheduler heartbeat needs a persistent cache, and the cache options you can choose. - [PDF fonts](https://magic-book.mintlify.app/advanced/pdf-fonts.md): The fonts MagicBook uses for PDF downloads, the fallback for other languages, and how to check that PDFs can be made. - [ffmpeg](https://magic-book.mintlify.app/advanced/ffmpeg.md): When MagicBook needs ffmpeg, how it finds it, how to test it, and what works without it. - [Google Analytics](https://magic-book.mintlify.app/advanced/google-analytics.md): Connect Google Analytics to measure visitors on the public site, and show website traffic on the admin dashboard. - [Google reCAPTCHA](https://magic-book.mintlify.app/advanced/google-recaptcha.md): Protect the public forms from bots with Google reCAPTCHA v3, using a site key and a secret key. - [Google Maps](https://magic-book.mintlify.app/advanced/google-maps.md): Turn on Google Maps for the countries map on the accounts dashboard, with an API key you create in Google Cloud. - [Installation problems](https://magic-book.mintlify.app/troubleshooting/installation.md): Fix the errors the web installer and the first start can show: database, permissions, required PHP functions, activation and the cron job. - [Scheduler and queue problems](https://magic-book.mintlify.app/troubleshooting/scheduler-and-queue.md): Fix books, pictures and narration that stay on Waiting, a cron job that does not run, and a queue that stops moving. - [AI generation problems](https://magic-book.mintlify.app/troubleshooting/ai-generation.md): Find out why a chapter, picture, narration or voice step failed, and fix the key, model, balance or safety cause. - [Narration and PDF problems](https://magic-book.mintlify.app/troubleshooting/narration-and-pdf.md): Fix a missing Narrate button, narration that will not start, audio that does not play, and PDF downloads that fail. - [Billing and payments problems](https://magic-book.mintlify.app/troubleshooting/billing-and-payments.md): Fix a missing payment option, a failed checkout, a webhook that rejects payments, bank transfers that stay pending, and renewals that fail. - [FAQ](https://magic-book.mintlify.app/troubleshooting/faq.md): Answers to the questions admins ask most about MagicBook: costs, safety, children, ownership of books and what to do first. ## Optional - [Buy MagicBook](https://berkine.dev/scripts/magicbook) - [Support Tickets](https://support.berkine.dev/) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.