DocsAI tools
Set up AI and describe your style in the Prose builder
ProUpdated
AI in Gnarlywog is optional, and it is off until you set it up. This page covers the whole of it: how it works and who is billed, connecting it, the Prose builder where you describe how your prose should read, and the AI button in the chapter editor that uses that description.
The AI tools are a Pro feature.
How AI works in Gnarlywog
Gnarlywog has no AI model of its own. It sends your request to OpenRouter, a separate service that gives one account access to many AI models, and shows you what comes back.
- Who is billed. You are, by OpenRouter. You create your own OpenRouter account and add credits to it, and every request comes out of that balance. Your Gnarlywog plan does not include AI usage, and Gnarlywog adds no charge of its own.
- Which model. You choose one default model from the list OpenRouter offers. Every AI tool uses it. Models differ in price and quality, and Gnarlywog shows no prices, so compare them on OpenRouter.
- What is sent. Only what a request needs, and only when you ask for something. The sections below say what each tool sends. The text goes to OpenRouter and on to the company behind the model you chose, and their policies apply to it.
- What Gnarlywog keeps. The connection to your OpenRouter account, stored encrypted and never shown again; your default model; your prose prompt and any prompts you changed; and whether AI is switched on. Gnarlywog keeps no record of your requests or of what you spent. A result is kept only when it lands in your book: text you accept, a draft still waiting in a chapter, or steps added to a beat.
Step 1: Connect OpenRouter
Until you connect, every AI page shows a red bar that reads Your AI connection isn’t ready.


- Press Open AI settings on the bar. You can also press your name at the bottom of the sidebar and choose AI.
- Read Before you connect. If you have no OpenRouter account, its first link opens the page where you create one, and its second opens the page where you add credits.
- Press Connect OpenRouter.
- Sign in on OpenRouter’s own page and approve access. You come straight back to this page.


The Connection row now reads Connected to OpenRouter, with the date. You never type or paste a key into Gnarlywog.
Connecting works with no credits in your OpenRouter account, but requests fail once the balance runs out.
To stop, press Disconnect on the same row. Gnarlywog forgets the connection and keeps your choice of model. The key itself still exists in your OpenRouter account, and you can remove it there.
Step 2: Choose a default model
- On the same page, find Model for AI tools.
- Press the box that reads Choose a model.
- Type in Search models to find a model by its name or its maker.
- Press the model you want.


You can change the model here at any time. Handwriting import needs a model that reads images.
Step 3: Describe your prose
The Prose builder holds one prompt: a description, in your own words, of how your prose should read. You have one for your whole account, and it applies to every book.
- Open a book and choose Tools in the sidebar.
- Under AI, choose Prose builder.
- In the box under Prompt, describe your prose: point of view, tense, sentence rhythm, tone.




The question mark beside the page’s title opens a short summary of how the page works.
Step 4: Test the prompt and save it
- Press Test prose. The paragraph under Original is rewritten with your prompt, and the result appears under Rewritten.
- Change the prompt and test again until the result reads the way you write. Reset clears the result.
- Press Save prose at the top of the page.


The example paragraph is always the same one, and it is the only text a test sends, with your prompt. A test saves nothing and uses a little of your OpenRouter credit. Testing before you save is optional.
Saving a new prompt changes what AI writes next. Text already in your chapters stays as it is.
Step 5: Turn AI on in a chapter
- Open a chapter.
- Press the AI button, the sparkle at the end of the toolbar. It stays pressed while AI is on.
- Press the small arrow beside it to open AI assistant.


In the menu:
- Include linked context sends the chapter’s linked characters, locations and notes with the beat tools, so a draft stays consistent with them. It uses more credit. Turn the whole switch off, or only Characters, Locations or Notes.
- OpenRouter usage is what your connection has spent, as OpenRouter reports it.
- The gear opens the AI page of your account. The question mark opens a summary of the AI tools.
If AI is not ready, the button takes you to the AI page of your account instead. With AI off, none of the AI buttons below appear.
Rewrite, expand, shorten or describe a selection
- With AI on, select some text in a chapter. A small bar appears beside it.
- Press Rewrite, Expand, Shorten or Describe.


The result appears in a card under your selection, with the number of words in it. Press Accept to replace the selection, Retry for another version, or Discard to keep your own text.


A selection can be up to 500 words, and text only: leave images, LitRPG blocks and beat bars out of it. Undo reverses an accepted result in one step.
These actions send the selected text, the chapter text around it and the beat it sits in. They never send your characters, locations or notes. Rewrite, Expand and Describe follow your prose prompt. Shorten does not.
Draft from a beat
A beat is one thing that happens in a chapter, shown as a bar in the text. Plan a chapter in beats covers them. With AI on, each bar has a sparkle at its right end.
- Press the sparkle on a beat’s bar.
- Choose Draft chapter content. The beat needs some text first.


The draft is added at the end of that beat’s part of the chapter, in a box marked AI-generated · pending. Press Accept to make it ordinary chapter text, Retry for another draft, or Discard to remove it.


A pending draft stays in the chapter until you decide, even if you leave the chapter or turn AI off. It is not counted in the chapter’s words and is left out of your exports. If you type inside it, it becomes your text.
Suggest steps adds a short list of ideas under the beat instead. The list stays in the bar and is never part of the chapter. In the Beats tab, the sparkle beside Reorder offers Draft all chapter content, which drafts every beat that has no writing yet, and Suggest steps between beats.
The beat tools send the chapter’s beats and, for a draft, the chapter text before that point, and they follow your prose prompt when they draft. They also send the linked characters, locations and notes, unless you turned Include linked context off.
Change the prompt behind an action
Each action runs on an instruction that Gnarlywog wrote. You can replace any of them.
- Open the AI page of your account. The gear in AI assistant goes there.
- Under Prompts, press an action: Expand, Describe, Shorten, Rewrite, Draft chapter content or Suggest steps.
- Change the text in the box.
- Press Test to try it on the sample under Original. A test uses a little credit and saves nothing.
- Press Save. Cancel drops your change.


An action you changed is marked Custom in the list. Set to original puts Gnarlywog’s own instruction back in the box.
Limits
- A selection is 500 words at most.
- Draft all chapter content fills only the beats that have no writing yet.
- AI works in your own books, not in a book someone shared with you.
- The AI buttons need a connection. Offline they are dimmed.
- On a tablet or phone the toolbar has no AI button. See Write on a tablet or phone.
- Gnarlywog sets no spending limit. If your OpenRouter key has one, OpenRouter usage shows how much of it is spent.
On the Free plan
The AI button, Prose builder, Handwriting import and the AI entry in the account menu are all visible on Free. Pressing any of them opens the same dialog, AI with Pro. See Pro plans opens your billing page, and Not now closes the dialog.


Free and Pro covers upgrading.
Related
- Turn handwritten pages into chapter text: the other AI tool, which reads photos of your pages.
- Plan a chapter in beats: write the beats that AI drafts from.
- Write in the chapter editor: the toolbar the AI button sits in.
- Keep notes on a chapter: the notes that linked context can send.
- Free and Pro: how the two plans differ: what Pro adds.