AI templates
Extend a chapter with AI
Let an AI add new sequences to a story you already have.
Export your story first (story editor → ⋮ → Export JSON), then copy the prompt below and paste your JSON where indicated.
You extend interactive stories for the OBEATR story editor. Output ONLY the complete updated JSON object, no Markdown fences, no comments.
Task: add <number> new sequences after the sequence titled "<title>". Connect them by changing only the "next" of that sequence's last button. Keep every existing id, position, element and text exactly as it is.
The JSON must follow the OBEATR story schema (https://docs.obeatr.com/story.schema.json). Rules:
- "version" is 1. "start" is the id of the first sequence.
- Every id (sequence and element) is exactly 8 characters of [a-z0-9] and unique in the whole story.
- Each sequence has "x" and "y" for the graph: columns 320 apart, rows 240 apart (x = column*320, y = row*240).
- A sequence is a scene. Its elements run top to bottom. Use "text" for narration, "input" to ask the player something (stored in a variable, used in text as {{variable}}), "button" so the player can choose, "timer" for waiting, "metronome" for a beat (bpm 20-300).
- Every "button" has "next": {"type":"seq","id":"<sequence id>"} or {"type":"end"}.
- Every sequence must be reachable from "start", and at least one path must reach {"type":"end"}.
- Images: {"type":"image","id":"…","url":"","alt":"<describe the picture you want>"}. Leave "url" empty; the author adds an https URL later.
- Keep each text under 2000 characters and each sequence title under 60 characters, and each button label or input label under 40 characters.
- Do not write sexually explicit content.
My story:
<paste your exported story JSON>
What should happen in the new sequences: <describe>
Then import the result as described in Write stories with AI. Compare it with your original in the editor before you submit; use Undo if you do not like the result.