AI toolsDocs menu

DocsAI tools

Set up AI and describe your style in the Prose builder

Pro

Updated

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.

A red-edged bar reading Your AI connection isn’t ready. Connect OpenRouter in Account, AI to test your prose. An Open AI settings button sits at its right end.A red-edged bar reading Your AI connection isn’t ready. Connect OpenRouter in Account, AI to test your prose. An Open AI settings button sits at its right end.
  1. Press Open AI settings on the bar. You can also press your name at the bottom of the sidebar and choose AI.
  2. 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.
  3. Press Connect OpenRouter.
  4. Sign in on OpenRouter’s own page and approve access. You come straight back to this page.
The AI page of the account before connecting. A box titled Before you connect lists four steps: create an OpenRouter account, add credits, press Connect OpenRouter, choose a default model. Under it the Connection row reads Not connected, with a Connect OpenRouter button.The AI page of the account before connecting. A box titled Before you connect lists four steps: create an OpenRouter account, add credits, press Connect OpenRouter, choose a default model. Under it the Connection row reads Not connected, with a Connect OpenRouter button.

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

  1. On the same page, find Model for AI tools.
  2. Press the box that reads Choose a model.
  3. Type in Search models to find a model by its name or its maker.
  4. Press the model you want.
The AI page once connected. The Connection row reads Connected to OpenRouter with a Disconnect button. Under Model for AI tools, the Choose a model box is open: a Search models field above a list of models, each with its maker at the right.The AI page once connected. The Connection row reads Connected to OpenRouter with a Disconnect button. Under Model for AI tools, the Choose a model box is open: a Search models field above a list of models, each with its maker at the right.

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.

  1. Open a book and choose Tools in the sidebar.
  2. Under AI, choose Prose builder.
  3. In the box under Prompt, describe your prose: point of view, tense, sentence rhythm, tone.
The AI group at the bottom of the Tools tab in the sidebar, with two entries: Prose builder, selected, and Handwriting import.The AI group at the bottom of the Tools tab in the sidebar, with two entries: Prose builder, selected, and Handwriting import.
The Prose builder page. Under Prompt, a box holds the text Close third person, past tense. Plain, concrete words and short sentences. Let the weather and the work carry the feeling. A Save prose button is at the top right.The Prose builder page. Under Prompt, a box holds the text Close third person, past tense. Plain, concrete words and short sentences. Let the weather and the work carry the feeling. A Save prose button is at the top right.

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

  1. Press Test prose. The paragraph under Original is rewritten with your prompt, and the result appears under Rewritten.
  2. Change the prompt and test again until the result reads the way you write. Reset clears the result.
  3. Press Save prose at the top of the page.
The Example section of the Prose builder: the fixed paragraph under Original on the left, its rewrite under Rewritten on the right with a Reset link above it, and a Test prose button below.The Example section of the Prose builder: the fixed paragraph under Original on the left, its rewrite under Rewritten on the right with a Reset link above it, and a Test prose button below.

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

  1. Open a chapter.
  2. Press the AI button, the sparkle at the end of the toolbar. It stays pressed while AI is on.
  3. Press the small arrow beside it to open AI assistant.
The end of the chapter toolbar with the AI button pressed and its menu open. The menu is titled AI assistant and has an Include linked context switch, with switches for Characters, Locations and Notes under it, then OpenRouter usage reading $1.25 of $10.00.The end of the chapter toolbar with the AI button pressed and its menu open. The menu is titled AI assistant and has an Include linked context switch, with switches for Characters, Locations and Notes under it, then OpenRouter usage reading $1.25 of $10.00.

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

  1. With AI on, select some text in a chapter. A small bar appears beside it.
  2. Press Rewrite, Expand, Shorten or Describe.
A sentence selected in a chapter, with a small bar above it holding four buttons: Rewrite, Expand, Shorten and Describe.A sentence selected in a chapter, with a small bar above it holding four buttons: Rewrite, Expand, Shorten and 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 card under the selected sentence, headed Rewrite and 13 words. It holds the rewritten sentence, with Discard, Retry and Accept buttons at the bottom right.A card under the selected sentence, headed Rewrite and 13 words. It holds the rewritten sentence, with Discard, Retry and Accept buttons at the bottom right.

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.

  1. Press the sparkle on a beat’s bar.
  2. Choose Draft chapter content. The beat needs some text first.
A beat bar in a chapter reading The Saltglass Lighthouse gutters, the one lamp Wren can’t reach. The sparkle at its right end is open, with two entries: Draft chapter content and Suggest steps.A beat bar in a chapter reading The Saltglass Lighthouse gutters, the one lamp Wren can’t reach. The sparkle at its right end is open, with two entries: Draft chapter content and Suggest steps.

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.

Two drafted paragraphs in a tinted box with a dashed edge, labeled AI-generated, pending. Discard, Retry and Accept buttons sit at its bottom right.Two drafted paragraphs in a tinted box with a dashed edge, labeled AI-generated, pending. Discard, Retry and Accept buttons sit at its bottom right.

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.

  1. Open the AI page of your account. The gear in AI assistant goes there.
  2. Under Prompts, press an action: Expand, Describe, Shorten, Rewrite, Draft chapter content or Suggest steps.
  3. Change the text in the box.
  4. Press Test to try it on the sample under Original. A test uses a little credit and saves nothing.
  5. Press Save. Cancel drops your change.
The Rewrite prompt open on the AI page: a box holding the instruction, then a row with Test, Set to original, Cancel and Save buttons, then the sample paragraph under Original beside an empty Result box.The Rewrite prompt open on the AI page: a box holding the instruction, then a row with Test, Set to original, Cancel and Save buttons, then the sample paragraph under Original beside an empty Result box.

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.

A dialog headed Pro feature, AI with Pro. It reads Connect your own OpenRouter account and choose the model your AI tools use with Pro, with Not now and See Pro plans buttons.A dialog headed Pro feature, AI with Pro. It reads Connect your own OpenRouter account and choose the model your AI tools use with Pro, with Not now and See Pro plans buttons.

Free and Pro covers upgrading.

Start your book free. Go Pro when you need more.

Free for one book. Pro is $20 a month or $200 a year.

Start your book free