Skip to content

Join our Free Tier to bookmark chapters and show your appreciation with claps!

AI Basics for Fiction Authors: Unlock the Power of AI in Your Writing Journey – Chapter 3

Advanced Foundational Concepts

Now that you have a solid understanding of the basics of large language models (LLMs), tokens, and hyperparameters, it’s time to go deeper into the more advanced aspects of working with AI in fiction writing. This chapter is designed to build on the foundational knowledge you’ve gained so far, providing you with the tools and techniques to take your writing to the next level.

In this chapter, we’ll explore different models available to fiction writers, including both proprietary and open-source options. You’ll learn about the strengths and weaknesses of each model, helping you choose the best tool for your specific needs. We’ll also discuss the importance of context windows and how they influence the AI’s ability to generate coherent and contextually relevant text over longer passages.

Another key focus of this chapter is prompt engineering. Crafting effective prompts is an art form in itself, and mastering this skill can significantly enhance the quality of the AI’s output. We’ll provide practical tips and examples to help you create prompts that yield the best results, whether you’re generating dialogue, developing characters, or brainstorming plot ideas.

Finally, we’ll introduce a few personalized AI tool plans tailored to different writing styles. Whether you’re a plotter who meticulously plans every detail, a pantser who writes by the seat of your pants, a gardener who cultivates ideas organically, or an architect who structures your work meticulously, there’s an AI tool plan that can support your unique approach to writing. By the end of this chapter, you’ll have a comprehensive understanding of advanced AI concepts and be well-equipped to integrate these powerful tools into your creative process.

Choosing the Right Model for Your Writing Tasks

In Chapter 1, we introduced the major model providers — OpenAI’s GPT series, Anthropic’s Claude, Google’s Gemini, and the world of open-source models — along with their tier structures and general strengths. Now let’s get practical. As a fiction writer, you’ll encounter a range of tasks that benefit from different models. The key isn’t finding the single “best” model — it’s matching the right model to the right job.

Brainstorming and Ideation

When you’re generating ideas — plot concepts, character names, what-if scenarios, thematic explorations — you want a model that’s fast, creative, and inexpensive enough to use freely. This is a great use case for mid-tier and lightweight models across any provider. You’ll be generating lots of output and discarding most of it, so speed and cost matter more than maximum quality.

Tip: Turn up the temperature setting for brainstorming sessions. You want the AI to surprise you, not play it safe. Don’t worry about polish — you’re mining for sparks, not finished prose.

Drafting Scenes and Chapters

For drafting, you want a model that can maintain tone, follow your style cues, and produce prose that needs minimal cleanup. This is where flagship and advanced-tier models shine. Their deeper understanding of language, character voice, and narrative structure produces noticeably better first drafts than budget models.

Tip: Context window size matters here. If you’re feeding the AI your scene brief, character profiles, and previous chapter summaries, you need a model that can hold all of that in memory at once. Claude and Gemini currently offer some of the largest context windows, but all providers are expanding theirs regularly. Check current specs before committing to a workflow.

Plot Analysis and Consistency Checking

Need to find plot holes in your outline? Want to check whether your character’s motivations are consistent across chapters? This is where thinking/reasoning models excel. Their ability to work through problems step by step makes them ideal for analytical tasks that require the AI to evaluate rather than just generate.

Tip: When using a thinking model for analysis, be explicit about what you want it to evaluate. Instead of “Does this plot make sense?” try “Review this outline for logical inconsistencies, timeline errors, and character motivation gaps. For each issue you find, explain the problem and suggest a fix.”

Editing and Revision

AI can be a valuable editing partner — identifying overused words, suggesting tighter phrasing, checking for consistency in character descriptions, or flagging pacing issues. For editing tasks, you want a model that’s attentive to detail and good at following specific instructions. Flagship models from any major provider work well here, as do thinking models when you need deep analysis of narrative structure.

Tip: Be specific about what kind of edit you want. “Edit this chapter” is too vague. “Review this chapter for pacing issues, particularly in the middle section where the tension should be building toward the confrontation” gives the AI a clear job to do.

World-Building and Research Support

Building complex worlds — whether sci-fi, fantasy, historical, or contemporary — often requires the AI to synthesize information, maintain internal consistency, and generate detailed reference material. Models with large context windows are especially useful here because you can load your entire world bible into a conversation and ask the AI to generate new material that’s consistent with what exists.

Tip: Thinking models are particularly good at working through the logical implications of your world’s rules. Try prompts like “Given that magic in this world requires physical contact and drains the user’s life force, what would the societal implications be? How would warfare, medicine, and social hierarchies develop differently?”

Writing Blurbs, Marketing Copy, and Social Media

For shorter marketing-focused content, speed and cost-efficiency matter. Mid-tier and lightweight models handle these tasks well, especially when you provide a strong example blurb or a clear template. You can iterate quickly and cheaply, generating multiple versions to choose from.

Tip: These tasks are also a great way to test new models. When a new model launches, try it on a blurb or social media post — it’s low-stakes and gives you a quick sense of the model’s voice and capabilities.

Mature and NSFW Content

As we discussed in Chapter 1, mainstream models from OpenAI, Anthropic, and Google have content moderation policies that may restrict explicit content. If your writing includes graphic violence, explicit romance, or other mature themes, open-source models accessed through platforms like OpenRouter.ai remain your best option. We’ll cover this in depth in Chapter 5.

Remember, these are starting points, not rules. The best model for any task is the one that works best for your writing and your process. We strongly encourage you to experiment across providers and tiers to find your personal favorites — and to revisit your choices as new models launch, which happens frequently.

Context Windows and Prompt Engineering

When working with large language models (LLMs), one of the key concepts to understand is the context window. The context window refers to the amount of text the AI can consider at one time when generating responses. This window includes both the prompt you provide and the AI’s previous responses, creating a continuous thread of context that the model uses to generate coherent and relevant text.

The size of the context window is important because it determines how much information the AI can retain and reference while generating text. For fiction writers, this is particularly important when working on long-form content such as novels or series. A larger context window allows the AI to remember details from earlier in the text, ensuring consistency and coherence throughout your writing.

For example, if you’re writing a fantasy novel with intricate world-building, the context window can help the AI keep track of characters, settings, and plot points. This means you can provide the AI with detailed descriptions of your world, and it will be able to reference these details when generating new content, maintaining continuity and depth in your story.

Context Stuffing: The “Budget-Friendly Fine-Tune”

One effective technique for maximizing the utility of the context window is “context stuffing.” This involves providing the AI with as much relevant information as possible within the context window to guide its responses. Think of it as front-loading the AI with the necessary background details to produce more accurate and contextually appropriate text.

While fine-tuning a model involves training it on a specific dataset to tailor its behavior, context stuffing achieves a similar effect without the need for extensive training. By strategically including key information in your prompts, you can ensure the AI has all the context it needs to generate high-quality responses. This approach is particularly useful for authors who do a lot of world-building and want to maintain consistency in their narratives.

How to Effectively Use Context Windows

To make the most of the context window, it’s important to be strategic about the information you include. Here are some tips for effective context stuffing:

Prioritize Key Details

Focus on the most important aspects of your story, such as character names, relationships, settings, and plot points. Including these details in your prompts will help the AI generate responses that are consistent with your narrative.

Example: If your story involves a complex political intrigue, include a brief summary of the key factions and their motivations in the prompt.

Use Summaries

Instead of pasting entire chapters, provide concise summaries that capture the essence of the previous text. This allows you to include more information within the context window.

Example: “In the previous chapter, the protagonist discovered a hidden map that leads to an ancient artifact. They are now preparing for the journey to find it.”

Segment Your Prompts

Break down your prompts into manageable segments, each containing relevant context. This helps the AI process the information more effectively and generate coherent responses.

Example: Start with a brief summary of the previous events, followed by specific instructions for the current scene.

Iterate and Refine

Experiment with different ways of structuring your prompts and see how the AI responds. Adjust the amount and type of information you include based on the quality of the output.

Example: If the AI is missing key details, try rephrasing your summaries or including additional context to guide its responses.

By understanding and effectively using context windows, you can leverage the full potential of AI to enhance your writing. Whether you’re building a rich fantasy world or crafting a complex thriller, context stuffing allows you to provide the AI with the information it needs to generate consistent and engaging content, making it a valuable tool in your creative arsenal.

Prompt Engineering

Prompt engineering is the art of crafting effective prompts to guide the AI in generating the desired output. The quality of the AI’s responses is heavily influenced by the clarity and specificity of your prompts. If you once tried to prompt an AI and you thought the output was mediocre, it was most likely due to your prompt, not the inability of the AI to write well.

As an author, learning to create well-structured prompts can significantly enhance the quality of the text generated by the AI. In this section, we’ll explore how to be specific, layer your prompts with context, and use writing craft terms to get the most out of your AI assistant.

The Importance of Specificity

One of the most important aspects of prompt engineering is being specific. Vague prompts often lead to generic and uninspired responses, while specific prompts provide the AI with clear direction and context. For example, compare the following two prompts:

Vague Prompt: “Please give me 5 ideas for a sci-fi romance.”

Specific Prompt: “Please give me 5 ideas for a sci-fi romance that takes place on Earth with a feisty heroine who’s been abducted by a hot alien race.”

The specific prompt provides much more detail, allowing the AI to generate more tailored and interesting ideas. By including key elements such as setting, character traits, and plot points, you give the AI a clear framework to work within, resulting in more relevant and engaging responses.

Layering Your Prompts with Context

To further refine the AI’s output, you must layer your prompts with context. This means providing additional background information and details that help the AI understand the nuances of your request. Layering your prompts can involve including summaries of previous text, describing the tone or style you’re aiming for, and specifying the desired structure of the response.

Basic Prompt: “Write a scene where the heroine meets the alien for the first time.”

We have so many books to read!

Don't miss out on all of our other books!

Browse all the books

Layered Prompt: “Write a scene where the feisty heroine, who has just been abducted by a hot alien race, meets the alien leader for the first time. The setting is a high-tech spaceship with a tense and mysterious atmosphere. The heroine is defiant and determined to escape, while the alien leader is intrigued by her bravery.”

By layering the prompt with additional context, you provide the AI with a richer understanding of the scene, leading to more detailed and coherent responses. This approach ensures that the AI captures the desired tone, setting, and character dynamics.

Using Writing Craft Terms

Incorporating writing craft terms into your prompts can further enhance the AI’s ability to generate high-quality text. Terms related to plot structure, character development, dialogue, and other aspects of writing help the AI understand the specific elements you’re looking for in its responses.

Without Craft Terms: “Describe the hero’s internal conflict.”

With Craft Terms: “Describe the hero’s internal conflict, focusing on his struggle between duty and desire. Use deep point of view to convey his emotions and thoughts, and include sensory details to immerse the reader in his experience.”

By using terms like “internal conflict,” “deep point of view,” and “sensory details,” you guide the AI to produce more nuanced and sophisticated responses. This approach leverages the AI’s understanding of writing techniques to generate text that aligns with your creative vision.

Practical Tips for Effective Prompt Engineering

Be Clear and Concise: While it’s important to provide detailed context, make sure your prompts are still clear and concise. Avoid unnecessary complexity that might confuse the AI.

Example: “Write a dialogue scene where the heroine confronts the villain about his betrayal. Focus on her anger and sense of betrayal, and use short, sharp sentences to convey the tension.”

Use Examples: When possible, include examples of the type of response you’re looking for. This helps the AI understand your expectations and produce more accurate results.

Example: “Write a romantic scene similar to the one in ‘Pride and Prejudice’ where Elizabeth and Mr. Darcy confess their feelings. Capture the same sense of tension and emotion.”

Iterate and Refine: Don’t be afraid to experiment with different prompts and refine them based on the AI’s responses. Iteration is key to finding the most effective way to communicate your needs.

Example: If the AI’s initial response is too vague, try adding more specific details or rephrasing your prompt to provide clearer guidance.

Leverage the Context Window: Use the context window to include relevant background information and summaries that help the AI generate consistent and coherent text.

Example: Before asking the AI to write a new chapter, provide a brief summary of the previous chapters to ensure continuity.

By mastering the art of prompt engineering, you can harness the full potential of AI to enhance your fiction writing. Specificity, layered context, and the use of writing craft terms will help you create prompts that yield high-quality, engaging, and relevant responses, making AI an invaluable tool in your creative process.

Personalized AI Tool Plans

We recognize that every author has a unique approach to their writing process. To help you integrate AI into your workflow effectively, we’ve developed AI Job Types that cater to different styles and preferences. Whether you’re a Gardener who likes to experiment with various AI tools, a Weaver focused on project efficiency, a Baker who enjoys tinkering with AI settings, or an Architect who strategically guides AI’s creative output, there’s a personalized AI tool plan for you.

Introduction to AI Job Types

By identifying with one of the following AI Job types, you can better understand how to integrate AI into your writing process in a way that complements your style and enhances your creativity. Whether you prefer a light touch or extensive integration, targeted experimentation or strategic oversight, there’s an AI Job type that aligns with your approach to writing. Understanding these job types can help you determine the best way to integrate AI into your creative process, ensuring that you leverage these powerful tools effectively and efficiently.

Gardener

Gardeners are writers who enjoy experimenting with various AI tools and models, picking and choosing specific elements to incorporate into their work. They use AI in a very targeted manner, adding “handpicked” bits of AI-generated content to their creations. This approach is characterized by a light touch or minimal integration of AI into the creative process. Gardeners might use AI to generate unique character names, brainstorm plot twists, or come up with vivid descriptions, but they rely heavily on their own creativity to weave these elements into their stories.

Weaver

Weavers are project-focused writers who utilize AI to achieve their end goals, integrating AI-generated content more extensively than Gardeners. They are not concerned with how much AI they use, as long as it serves the project. Weavers have one or two go-to models that they rely on to get the job done, indicating a preference for efficiency and effectiveness over experimentation. Whether it’s generating dialogue, drafting scenes, or refining prose, Weavers seamlessly incorporate AI into their workflow to enhance productivity and ensure high-quality output.

Baker

Bakers are characterized by their experimental nature, frequently tinkering with AI settings and outputs to “bake” the perfect creation. They’re willing to run multiple iterations and mix different AI-generated elements (kitbash) to achieve their desired outcome. Bakers embrace the possibilities of AI, often facing the challenge of integrating diverse AI contributions into a cohesive whole. This iterative approach allows them to explore various creative avenues and refine their work until it meets their standards.

Architect

Architects aim to construct a framework within which AI operates, setting up prompts and parameters to guide AI’s creative output. They envision themselves as directors or overseers, assessing and refining the AI-generated material towards the end of the process. Architects have a strategic approach, looking to optimize AI’s role in their workflow to efficiently produce high-quality content. By carefully designing prompts and adjusting hyperparameters, Architects ensure that the AI generates text that aligns with their vision and meets their specific requirements.

Tailoring AI Tools to Different Writing Styles

Every writer has a unique approach to their craft, and integrating AI into your workflow can be tailored to fit your specific writing style. Whether you’re a meticulous Plotter, a spontaneous Pantser, or a Hybrid writer who combines elements of both, there’s an AI tool plan that aligns with your needs.

By understanding your writing style and identifying with one of the AI Job types — Gardener, Weaver, Baker, or Architect — you can create a personalized plan that enhances your creative process.

Plotters

Plotters are writers who plan their entire book ahead of time, outlining chapters, developing character arcs, and structuring the narrative in detail before they start writing. For Plotters, AI can be an invaluable tool for enhancing the planning process and ensuring consistency throughout the manuscript.

Gardener Plotters: As a Gardener Plotter, you might use AI to generate specific elements like character backstories, setting descriptions, or plot twists. By experimenting with different AI tools and models, you can handpick the best ideas to incorporate into your detailed outline.

Example: Use AI to brainstorm unique character traits or generate vivid descriptions of key locations, adding these elements to your meticulously crafted outline.

Weaver Plotters: As a Weaver Plotter, you can integrate AI-generated content extensively into your planning process. Rely on one or two go-to models to draft detailed scene outlines, develop intricate plot points, and refine your chapter summaries.

Example: Utilize AI to create comprehensive scene-by-scene outlines, ensuring that each chapter flows seamlessly into the next.

Baker Plotters: As a Baker Plotter, you’ll enjoy experimenting with AI settings and outputs to “bake” the perfect plan. Run multiple iterations of your outline, mixing and matching different AI-generated elements to create a cohesive and detailed structure.

Example: Experiment with various AI-generated plot twists and character arcs, refining your outline until it meets your standards.

Architect Plotters: As an Architect Plotter, you’ll set up prompts and parameters to guide the AI’s output, constructing a framework for your story. Assess and refine the AI-generated material to ensure it aligns with your vision and enhances your detailed plan.

Example: Design strategic prompts to generate detailed chapter outlines, then refine the AI’s output to fit your narrative structure.

Pantsers

Pantsers are writers who prefer to write by the “seat of their pants,” letting the story unfold organically without extensive planning. For Pantsers, AI can provide spontaneous inspiration and dynamic storytelling support, acting as a creative partner in real-time.

Gardener Pantsers: As a Gardener Pantser, you can use AI to generate specific elements on the fly, incorporating them into your narrative as you write. Experiment with different tools to find the perfect bits of inspiration.

Example: Use AI to brainstorm dialogue or generate descriptive passages that you can weave into your unfolding story.

Weaver Pantsers: As a Weaver Pantser, you can integrate AI-generated content extensively into your writing process. Rely on one or two go-to models to draft scenes, develop characters, and refine your prose as you write.

Example: Utilize AI to generate entire scenes or chapters, seamlessly incorporating the content into your manuscript.

Baker Pantsers: As a Baker Pantser, you’ll enjoy experimenting with AI settings and outputs to “bake” the perfect narrative. Run multiple iterations of your scenes, mixing different AI-generated elements to create a cohesive and engaging story.

Example: Experiment with various AI-generated plot developments and character interactions, refining your manuscript as you go.

Architect Pantsers: As an Architect Pantser, you’ll set up prompts and parameters to guide the AI’s output, directing the narrative in real-time. Assess and refine the AI-generated material to ensure it aligns with your spontaneous storytelling.

Example: Design strategic prompts to generate dynamic scenes and dialogue, then refine the AI’s output to fit your evolving narrative.

Hybrid Writers

Hybrid writers combine elements of both plotting and pantsing, balancing structured planning with spontaneous creativity. For Hybrid writers, AI can support both aspects of the writing process, providing structure and inspiration as needed.

By tailoring AI tools to your specific writing style and identifying with one of the AI Job types, you can create a personalized AI tool plan that enhances your creative process. Whether you’re meticulously plotting every detail, letting the story unfold organically, or balancing both approaches, there’s a way to integrate AI that suits your needs and helps you achieve your writing goals.

You have been reading AI Basics for Fiction Authors: Unlock the Power of AI in Your Writing Journey...

Step into the future of storytelling with AI Basics for Fiction Authors, the ultimate guide to integrating artificial intelligence into your writing process. Whether you’re a seasoned author or just starting out, this book provides the knowledge and tools you need to enhance your creativity, streamline your workflow, and produce high-quality content with ease. Inside, you’ll discover:

  • Comprehensive AI Insights: Learn the essentials of large language models, prompt engineering, and context windows to unlock new creative possibilities.
  • Customized AI Strategies: Find personalized AI tool plans tailored to your writing style, whether you’re a meticulous plotter or an adventurous pantser.
  • Effective Applications: Master the art of writing blurbs, social media posts, and crafting immersive worlds and characters with AI’s assistance.
  • Navigating Ethical Terrain: Understand the ethical considerations and content policies that guide responsible AI use, ensuring your work remains authentic and respectful.
  • Exploring Unfiltered Models: Access open-source models for generating NSFW content, providing the flexibility to tackle mature themes without limitations.

AI Basics for Fiction Authors is your gateway to a new era of writing, offering practical advice, expert tips, and real-world examples to help you integrate AI seamlessly into your creative process. Embrace the transformative power of AI and take your fiction writing to new heights with this indispensable guide.

This book is available at...

Join our Free Tier to bookmark chapters and show your appreciation with claps!