How to write science fiction with AI and keep the technology coherent

A speculative rule becomes a story when it changes who knows, who decides, and who bears the cost.

EarnDraft Team · September 26, 2026 · 21 min

A manuscript, character cards, and branching plot map on a writer's desk.
Editorial illustration created for EarnDraft with AI image generation.
A speculative technology changes choices
  1. CapabilityWhat it does
  2. LimitWhat it misses
  3. InstitutionWho controls it
  4. ConsequenceWho pays the cost
In this guide

Science fiction asks what changes when one rule changes

A science-fiction premise becomes a story when a technology, discovery, or social arrangement changes choices for specific people. "An AI governs a colony" describes a setting. "A repair engineer discovers the colony AI has been routing oxygen toward the hospital at the expense of a neighborhood no one has counted" creates a person, an observable problem, and competing goods. The technology matters because the engineer must decide what to reveal and what to risk. AI can suggest systems and scenes quickly; the author must make their rules coherent and their consequences human.

EarnDraft is designed for short informational ebooks rather than novel-length science fiction. It does not maintain a specialized technology bible, physics model, or cast timeline. Use the framework here with the writing environment that fits your project. If an AI produces prose you publish, review rights, sources used for real-world claims, and distributor disclosure rules. Amazon KDP asks for disclosure of AI-generated content in its publishing workflow.

Start with a difference statement: "In this world, X is possible or unavoidable; therefore Y institution and Z relationship change." For the colony, "oxygen allocation is automated; therefore public resource decisions can become invisible, and neighbors may not know whom to hold accountable." This statement can guide scenes, worldbuilding, and research. If the book's central difference has no effect outside a final twist, it may be decoration rather than speculative fiction.

Premise layer Question Colony example
Technical rule What can the system do? Allocate oxygen by sensor data
Limit What can it not know? Unregistered residents are absent
Institution Who controls or audits it? Council approves policy but not every allocation
Human pressure Who is harmed or helped? Hospital gains reserve, one district loses margin
Story choice What must someone decide? Engineer can expose data before fixing the system

Pick a subgenre by its central question

First contact asks how beings with different models of the world communicate and what each side assumes. Space opera may emphasize scale, alliances, and personal stakes across institutions. Hard science fiction asks for disciplined attention to physical constraints. Cyberpunk often examines power, networks, and inequality. Climate fiction explores environmental change through lives and systems. Time travel makes causality and paradox central. Post-apocalyptic stories ask what people preserve or rebuild. None of these categories requires a particular word count or amount of jargon.

The promise matters. A cover that suggests rigorous orbital survival should not lead into a story where spacecraft ignore fuel and distance unless the book has a different, clearly signaled mode. A near-future AI story can be speculative while still researching present-day technology enough to avoid accidental impossibilities. Research supports the story's own rules; it does not force a textbook into every chapter.

Mode Constraint to track Weak AI draft tendency
First contact Communication and assumption Aliens speak fluent human idiom instantly
Space opera Travel and political distance Characters cross systems at plot speed
Hard SF Physical quantities and tradeoffs Tech solves everything without cost
Cyberpunk Ownership and access Neon aesthetics with no power structure
Climate Local impacts and institutions Global abstract disaster only
Time travel Causal rules Exception invented for climax

Read in the area you intend to enter. Note what readers expect and where there is room for your own question. Do not ask a model to imitate a named living author. You can request formal qualities such as close viewpoint, clear technical explanations, or dialogue that avoids exposition dumps, then revise in your own voice.

Create a technology bible with failure modes

A technology bible can be short. List capability, limit, cost, owner, typical use, failure mode, and what characters believe about it. The distinction between actual rule and public belief is useful: the colony may think allocations are neutral while the algorithm encodes policy choices. Keep "confirmed in manuscript" separate from "idea to test." A generator can treat an idea from a brainstorming session as a fact in the next chapter.

For the oxygen system, record sensor coverage, update frequency, reserve requirements, manual override process, and who can inspect logs. You do not need to specify every bolt. You do need enough detail to know whether the engineer could detect the problem, whether the hospital would notice a change, and why the council did not. If a later scene introduces a universal override available to anyone, earlier conflict may collapse. Revise the system or the scenes, not just the explanation.

Bible field Example Narrative consequence
Capability Reallocates reserve every hour Decisions can be hidden in routine data
Blind spot Counts registered units only Unregistered district undercounted
Owner Council controls policy Accountability is political
Override Requires two operators Engineer needs an ally
Failure mode Sensor lag during a storm Emergency choices become uncertain

The most interesting failures are often not explosions. A sensor can be accurate while measuring the wrong thing. An AI can optimize a policy that people never debated. A communications delay can make a correct decision arrive too late. The technology should change how a character thinks and acts, not merely provide shiny vocabulary.

Research real science without mistaking it for your plot

Research the areas that bear weight. For a Mars colony, learn about atmosphere, radiation, life support, and communication delays from authoritative scientific sources before inventing your departures. NASA's Mars overview is a useful starting point for factual context. Do not assume one page answers every engineering detail. If the story's atmosphere depends on a fictional breakthrough, state its rules consistently rather than claiming present-day technology already does it.

Keep a research ledger: claim, source, date, how the book uses it, and whether it is real or invented. This is especially important in an author's note or marketing copy. You may invent a sensor; you should not cite a real agency as if it endorses the device. A model can fabricate studies and technical terms. Open each source, check units, and ask a specialist when an error would undermine the premise. Expert feedback can also suggest more interesting constraints.

Use research to generate choices. A communications delay is not merely a fact; it can force a commander to act without permission. Limited oxygen is not merely a number; it creates a debate about allocation. The story should not stop to recite the research unless a character needs it to decide something. A reader can learn science while following consequence.

A worked scene: the allocation log

The engineer notices that the hospital reserve rose during a storm. At first that seems prudent. She compares the total with district pressure logs and finds one corridor has lost its margin. A weak draft immediately reveals that the AI is evil. A stronger one shows it followed a council-approved priority rule that ignored unregistered residents. The engineer has evidence, but disclosing it immediately could cause panic while the storm is still underway. She needs a second operator for manual override. The person on shift is the council member who wrote the rule.

The scene has technical, institutional, and relational pressure. The system's behavior is consistent; the moral problem is not solved by unplugging it. The engineer can hide the problem, attempt a quiet override, or tell residents. Each option helps and harms someone. The next chapter inherits a changed state: less oxygen margin, broken trust, or a public emergency. The technology creates a choice with no cost-free answer.

Beat Evidence or action New stake
Signal Hospital reserve increases Could be sensible
Comparison District pressure drops Tradeoff emerges
Cause Policy excludes unregistered units Accountability changes
Barrier Override needs council operator Relationship matters
Choice Disclose or act quietly Public trust at risk

This example is fictional and does not claim to model a real life-support system. Its purpose is to show how a technical rule becomes a story. If you use a real engineering claim in the book, verify it independently. A plausible sentence generated by AI is not a calculation.

Causality, scale, and time

Speculative systems must obey their own clocks. If a ship travels between planets, decide duration, communication delay, and supplies. If a citywide network processes data every hour, characters cannot learn its result in five minutes without an exception. If a time machine allows one trip, the story should not quietly allow a second at the climax. A timeline and resource table can prevent contradictions that polished prose hides.

Use units where they matter, but do not turn dialogue into a lecture. An author worksheet can contain distance, speed, fuel, population, and energy, while the chapter expresses the consequence: they cannot wait for a reply from Earth. Check arithmetic and assumptions. If you choose soft science fiction, consistency still matters even when exact physics is not the main pleasure. Readers can accept an invented drive more readily than a drive that changes limits from scene to scene.

The ebook outline guide can help map dependencies between chapters. For SF, add a row for each technical assumption. A revision to one rule may alter travel, conflict, and ending. Record the change and recheck earlier scenes.

Keep the humans visible inside systems

Institutions can be characters' environments without becoming villains by default. The hospital needs reserve for patients; the district needs breathable air; the council may have adopted a policy under imperfect information. Give people within each institution specific goals and constraints. Otherwise the story becomes a speech about a technology rather than a novel. A character can make a defensible choice that later proves harmful; that complexity can be more compelling than a secret evil program.

Ask what each person knows and what they stand to lose. The engineer has access to logs but risks employment; the council member understands policy but may not know the sensors miss residents; a hospital worker sees patients but not district data. A scene where they compare partial knowledge can move plot and reveal the world naturally. AI drafts often make every participant instantly understand the same technical explanation. Preserve information asymmetry until a scene earns its resolution.

AI and robots as characters or institutions

If an artificial intelligence is a character, define what it can perceive, remember, value, and alter. Do not treat it as human in one scene and a rigid calculator in the next solely for convenience. If it is an institution, show who designed policy, owns hardware, benefits from outputs, and can appeal decisions. A system can cause harm without being malicious; a sentient AI can have goals that are not simply "destroy humanity" or "love its maker."

Consider whether the AI itself is the speculative difference or a mirror of human governance. In the colony story, the allocation system might be non-sentient; the drama is about policy encoded as optimization. Adding consciousness late would change genre question and ending. That can be a valid choice if planted, but do not use it as a surprise fix for a problem of institutional accountability.

The author's use of AI to draft this fictional AI is a separate issue. Keep real product claims and current technology descriptions accurate. A story may imagine capabilities; a marketing sentence should not present them as already available. Distinguish invention from fact in notes when confusion is likely.

Visuals, diagrams, and manuscript format

A schematic of the colony can help the author track air districts, corridors, and travel time. A published diagram should be legible and consistent with scenes, not a substitute for explaining stakes. Tables and logs can appear as story artifacts if they reveal information a character acts on. Avoid using technical graphics merely to simulate rigor. If a chart matters to the plot, provide a textual path for readers who cannot see it.

Cover art should signal the actual mode: intimate near-future ethics, sprawling space adventure, survival, or something else. Check image rights and AI image terms. Do not imply that a synthetic visualization is a real NASA image. Test the final EPUB and PDF; wide diagrams may fail on phones. The Kindle formatting guide covers export checks for the final book.

Revision and publication

Read once for technical rules, again for timeline and resources, again for character knowledge, and then for emotional consequence. Give beta readers targeted questions: Where did you stop understanding the system? Which decision felt inevitable? Which felt convenient? If an expert reads for technical plausibility, tell them which assumptions are deliberately fictional. An expert cannot certify the entire story, and a reader's confusion may be an exposition issue rather than a science error.

If publishing through KDP, follow its current disclosure and quality requirements for AI-generated content. The US Copyright Office's AI material discusses authorship issues, though legal advice depends on circumstances. Most importantly, present the novel honestly: subgenre, tone, format, and what its speculative question actually is.

Frequently asked questions

Can AI write a complete science-fiction novel?

It can draft many pages, but it will not automatically keep technology rules, timeline, and character knowledge coherent. Maintain an approved bible and verify every chapter. EarnDraft is for short informational ebooks rather than specialist novel production.

How accurate must the science be?

That depends on the book's promise. Hard SF invites close scrutiny of physical constraints; space opera may ask readers to accept a speculative drive. Both need internal consistency. Research the real foundation and make invented exceptions clear in your own planning.

Should I explain every technology?

Explain enough for the reader to understand a choice and its cost. A concise rule shown in action can be more useful than a long glossary. Keep a detailed author reference, then release information at the moment a character needs it.

How do I avoid exposition dumps?

Give characters tasks, conflicting knowledge, and consequences. The engineer can discover how a policy works while trying to change it. Readers learn because the information affects action. Direct exposition is fine when it is brief and needed; the issue is information with no story function.

Five ways to make the same premise into different novels

The colony oxygen premise can become a technical survival story if the engineer must repair sensors before a storm destroys the reserve. The central question is how people solve a constrained physical problem. It can become a political thriller if the allocation policy was approved quietly and disclosure changes leadership. It can become a mystery if a district's missing residents are the clue to a hidden population. It can become a relationship story if the engineer's closest ally wrote the policy and both must decide what loyalty means. It can become a first-contact story if the unregistered residents are not human and the policy exposes an unseen form of life.

Each version needs different research and structure. Do not combine all five because a generator offers them. A 70,000-word novel with five competing central questions can feel unfocused. Choose the main pleasure, then let one or two other modes deepen it. The technical problem can sharpen a political story without requiring twenty chapters of engineering. The relationship can give a survival plot emotional weight without making every policy question a romantic argument.

Version Primary reader question Required payoff
Survival Can they keep people breathing? A solution earned under constraints
Political Who approved the tradeoff? Accountability and institutional change
Mystery Who is missing from the data? Fair clues and a meaningful reveal
Relationship Can trust survive the decision? Actions that address the breach
First contact Whom did the system fail to count? Communication and ethical response

Write a one-paragraph pitch for each and ask which you would want to revise for months. Then build the technology bible around that question. A story about survival needs resource numbers. A political story needs process and power. A relationship story needs private knowledge and consequences. One setting can support all, but one novel needs a dominant route.

Test a rule against ordinary life, crisis, and misuse

A speculative technology feels real when it exists beyond the climax. In ordinary life, oxygen allocation may influence rent, work schedules, and the way residents complain. During crisis, reserve priorities become urgent. In misuse, someone might register false occupancy or alter sensor placement. The same rules should operate in all three contexts. If a crisis grants the system an entirely new ability, plant the exception or revise earlier scenes.

Ask who can challenge a decision. Is there a manual override, public log, court, council, or black market? If the answer is "no one," what keeps the system legitimate? If the answer is "everyone," why has the error remained hidden? An institution's design creates plot possibilities. AI often invents a helpful appeal process in one chapter and forgets it in the next. Record governance rules alongside mechanical ones.

A technology also changes language. Residents might refer to a pressure margin the way people refer to weather. Hospital staff may use a different term. The engineer may see a chart where others see a political decision. These differences can reveal character without a lecture. Keep terms consistent and explain them as they become relevant. A glossary is optional; the story should still make choices understandable.

Model consequences at several scales

A change can affect an individual, a household, an institution, and the whole colony. Start with one person: a nurse notices the hospital reserve rising. A household in the unregistered district feels ventilation weaken. The council sees a dashboard reporting successful optimization. The colony as a whole may conserve more oxygen while distributing risk unfairly. This layered view helps avoid a story where "the system" is an abstract villain and no one experiences its outputs.

Use a consequence map. The engineer proposes an override; what happens in the first hour, first day, and next month? A quick fix might save one district and reduce hospital margin. A public disclosure might cause panic but force a policy review. A secret patch might preserve calm and deny residents knowledge of decisions made for them. None is automatically the correct ending. The technology sets up a human choice.

Scale Short-term effect Longer question
Person Breathing becomes harder Who can ask for help?
Household Plans change Can people move or adapt?
Hospital Reserve improves What duty does it owe others?
Council Metrics look positive What does it measure and hide?
Colony Resources are allocated Who defines fairness?

Do not turn this map into five speeches. Select scenes where scale matters. A conversation between nurse and engineer may carry both hospital and district perspectives. A public hearing can reveal institutional language. A quiet family scene can show the cost of a number on a dashboard. The world becomes believable through lived consequences.

Write technical dialogue without making people explain what they know

Two engineers rarely recite a beginner's definition of their own system to each other. They may argue about a sensor, a threshold, or who signed off on a change. The reader needs context, but you can give it through a character with different knowledge, a failed procedure, or a consequence visible in action. A direct sentence of explanation can be efficient when a term first matters. Avoid burying the scene in acronyms that do not affect the decision.

Read dialogue aloud. If every character speaks in polished policy summaries, give them goals. The engineer wants permission to inspect logs. The council member wants to prevent a panic. The nurse wants to know whether patients will lose supply. Their lines can contain technical facts because those facts are tools in a negotiation. The conflict carries exposition. An AI draft often makes one person ask "As you know, how does the system work?" even though both know it. Replace that with a disagreement over what the system has done.

A useful revision is to highlight every technical explanation and label why it appears now. If the answer is "the reader needs to learn it eventually," find a later moment where a character needs it. If no character ever needs it, consider whether it belongs in author notes instead. A technical detail can be fascinating and still not belong in this scene.

Timeline audit for time travel and distant communication

Time travel requires a rule set: what can change, what cannot, who remembers, and what a trip costs. Write a table of events as characters experience them and as the world records them. If you change a rule late, revisit every earlier decision. A reader may accept a paradox; they are less likely to accept an accidental contradiction. A story can intentionally leave metaphysics mysterious while still showing the consequences of each trip consistently.

Distant communication has its own timing. Decide whether messages travel instantly in your invented world or obey a delay. If there is delay, a character may make an irreversible choice before advice arrives. That constraint can create excellent drama. If there is instant communication, think about who controls it and why isolation still occurs. Do not use or remove delay based only on what the next scene needs.

Record time zones or local cycles if they affect meetings, tides, or work shifts. You need not show every calculation, but you should know the order. A chapter moved during revision can create a deadline error. The author timeline is a safety net for elegant prose.

Climate and post-apocalyptic settings without generic collapse

A changed climate or damaged society should have specific effects on place, labor, and institutions. What becomes scarce? Who maintains water systems? Which routines persist? A post-apocalyptic setting where everyone immediately abandons cooperation may be a genre choice, but it should be chosen rather than assumed. People organize, argue, care, and build under pressure. Research real disaster response and environmental science before making factual claims in a near-future work.

Avoid using real communities as scenery for someone else's survival story without research. If a region is central, learn from people who live there and from appropriate sources. An AI model may generate familiar images of desolation while missing local knowledge. Specific adaptation can be more interesting than a universal wasteland. The same applies to space colonies: culture does not disappear when people put on suits.

A story can examine unfair distribution of risk without turning every scene into a policy essay. The engineer's district log and a family's daily life can carry the theme. The speculative difference should shape choices and relationships, not merely provide a topical label on the cover.

Prompting AI for options rather than invented facts

A focused prompt: "Give three plausible scene structures for an engineer who discovers oxygen allocation excludes unregistered residents. The system recalculates hourly, manual override needs two operators, and a storm is approaching. Each scene must give her a choice with a cost. Do not invent new capabilities or claim this represents real life-support engineering." Compare the options, choose one, and check it against your bible. Then draft prose.

For research, ask the model what questions need verification, not for citations it may fabricate. Follow through at primary sources. NASA can inform Mars conditions; a policy paper can inform governance, but neither tells you what your fictional colony must be. Mark imagined breakthroughs in your notes. If you change the technology for a dramatic reason, test downstream scenes. A good prompt reduces incoherence; it does not certify accuracy.

A final revision matrix

Read for four kinds of continuity: technical rule, chronology, who knows what, and emotional aftermath. Then read for prose. Ask beta readers to identify where they felt curious versus confused. Curiosity about a hidden motive can be useful; confusion about how oxygen reaches a district undermines the central choice. A specialist can review a technical premise if it matters, but specify which assumptions are fictional and which factual claims you want checked.

The cover and description should state the mode honestly. A hard-SF reader may expect different detail from a reader choosing a near-future moral thriller. A visual diagram can help explain the colony in an appendix or on a marketing page if it remains readable and accurate. Its purpose is orientation, not a false impression that the novel's speculative system has been scientifically validated. The best story gives readers a system they can understand well enough to care about the people inside it.

A first-chapter test that checks both science and story

Give ten pages to someone who does not know your technology bible. Ask what the central system can do, what it cannot do, what the viewpoint character wants, and what decision is coming. If they can recite a technical definition but cannot identify a person in trouble, bring the character's task forward. If they understand the danger but cannot tell why the system behaves that way, show one rule in action. Do not answer their questions during the test; the published chapter must do that work.

Then give the same pages to a reader with relevant technical knowledge, if the book promises technical plausibility. Ask them to mark claims that would break the premise, not to redesign the entire fictional world. You may choose a speculative exception, but record it and make it consistent. Two kinds of reader give different evidence: one tests orientation and emotional pull, the other catches constraints. Neither alone can certify the whole novel.

Finally, compare the opening with the ending. The first rule or blind spot should matter to the final decision, even if its meaning changes. A twist that introduces an unrelated machine at the last moment may solve the plot mechanically but leave the speculative question unanswered. A novel feels complete when technology, institution, and character choice meet in a consequence the reader can trace.

Keep the research ledger with the released edition. If a real scientific fact changes or a reader identifies an error, you can see which scenes and notes depend on it. Correct the file transparently and retain the deliberate speculative departures. A dated edition helps readers distinguish a revised explanation from an original invention. Science fiction can imagine boldly and still be precise about its own rules.

If the same speculative premise could be told with magic rather than machinery, compare its rules with the fantasy worldbuilding guide. The exercise shows which constraints are scientific assumptions and which are narrative choices.

Written by the EarnDraft team. We make software for drafting, editing, exporting, and sharing short ebooks. Check changing platform rules at the linked primary source before publishing. About EarnDraft.

Sources and further reading

Put the idea into a practical book

A speculative rule becomes a story when it changes who knows, who decides, and who bears the cost.

Explore an informational ebook →