[{"data":1,"prerenderedAt":207},["ShallowReactive",2],{"navigation_docs_en":3,"-en-ai-create-story":114,"-en-ai-create-story-surround":202},[4,22,56,82,104],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":21},"Getting started","i-lucide-rocket","\u002Fen\u002Fgetting-started","en\u002F1.getting-started",[10,13,17],{"title":5,"path":11,"stem":12},"\u002Fen\u002Fgetting-started\u002Fintroduction","en\u002F1.getting-started\u002F1.introduction",{"title":14,"path":15,"stem":16},"Plans","\u002Fen\u002Fgetting-started\u002Fplans","en\u002F1.getting-started\u002F2.plans",{"title":18,"path":19,"stem":20},"Local video","\u002Fen\u002Fgetting-started\u002Flocal-video","en\u002F1.getting-started\u002F3.local-video",false,{"title":23,"icon":24,"path":25,"stem":26,"children":27,"page":21},"Playing","i-lucide-play","\u002Fen\u002Fplay","en\u002F2.play",[28,32,36,40,44,48,52],{"title":29,"path":30,"stem":31},"Play a video game","\u002Fen\u002Fplay\u002Fvideo","en\u002F2.play\u002F1.video",{"title":33,"path":34,"stem":35},"Play a story game","\u002Fen\u002Fplay\u002Fstory","en\u002F2.play\u002F2.story",{"title":37,"path":38,"stem":39},"Random mode","\u002Fen\u002Fplay\u002Frandom","en\u002F2.play\u002F3.random",{"title":41,"path":42,"stem":43},"Virtual Domina","\u002Fen\u002Fplay\u002Fdomina","en\u002F2.play\u002F4.domina",{"title":45,"path":46,"stem":47},"3D simulator","\u002Fen\u002Fplay\u002Fsimulator","en\u002F2.play\u002F5.simulator",{"title":49,"path":50,"stem":51},"Connect devices","\u002Fen\u002Fplay\u002Fdevices","en\u002F2.play\u002F6.devices",{"title":53,"path":54,"stem":55},"Keyboard shortcuts","\u002Fen\u002Fplay\u002Fshortcuts","en\u002F2.play\u002F7.shortcuts",{"title":57,"icon":58,"path":59,"stem":60,"children":61,"page":21},"Creating","i-lucide-pencil-ruler","\u002Fen\u002Fcreate","en\u002F3.create",[62,66,70,74,78],{"title":63,"path":64,"stem":65},"Video editor","\u002Fen\u002Fcreate\u002Fvideo-editor","en\u002F3.create\u002F1.video-editor",{"title":67,"path":68,"stem":69},"Story editor","\u002Fen\u002Fcreate\u002Fstory-editor","en\u002F3.create\u002F2.story-editor",{"title":71,"path":72,"stem":73},"Editor and customizer settings","\u002Fen\u002Fcreate\u002Feditor-settings","en\u002F3.create\u002F3.editor-settings",{"title":75,"path":76,"stem":77},"Image sources","\u002Fen\u002Fcreate\u002Fimage-sources","en\u002F3.create\u002F4.image-sources",{"title":79,"path":80,"stem":81},"Submit your game","\u002Fen\u002Fcreate\u002Fsubmit","en\u002F3.create\u002F5.submit",{"title":83,"icon":84,"path":85,"stem":86,"children":87,"page":21},"AI templates","i-lucide-sparkles","\u002Fen\u002Fai","en\u002F4.ai",[88,92,96,100],{"title":89,"path":90,"stem":91},"Write stories with AI","\u002Fen\u002Fai\u002Foverview","en\u002F4.ai\u002F1.overview",{"title":93,"path":94,"stem":95},"Create a story with AI","\u002Fen\u002Fai\u002Fcreate-story","en\u002F4.ai\u002F2.create-story",{"title":97,"path":98,"stem":99},"Extend a chapter with AI","\u002Fen\u002Fai\u002Fextend-chapter","en\u002F4.ai\u002F3.extend-chapter",{"title":101,"path":102,"stem":103},"Translate a story with AI","\u002Fen\u002Fai\u002Ftranslate-story","en\u002F4.ai\u002F4.translate-story",{"title":105,"icon":106,"path":107,"stem":108,"children":109,"page":21},"Help","i-lucide-circle-help","\u002Fen\u002Fhelp","en\u002F5.help",[110],{"title":111,"path":112,"stem":113},"FAQ","\u002Fen\u002Fhelp\u002Ffaq","en\u002F5.help\u002F1.faq",{"id":115,"title":93,"body":116,"description":195,"extension":196,"links":197,"meta":198,"navigation":199,"path":94,"seo":200,"stem":95,"__hash__":201},"docs_en\u002Fen\u002F4.ai\u002F2.create-story.md",{"type":117,"value":118,"toc":190},"minimark",[119,131,142,147,150,154],[120,121,122,123,130],"p",{},"Copy the prompt below, replace the last line with your idea, and paste it into your AI. If the AI cannot open links, also attach ",[124,125,129],"a",{"href":126,"rel":127},"https:\u002F\u002Fdocs.obeatr.com\u002Fstory.schema.json",[128],"nofollow","story.schema.json",".",[132,133,139],"pre",{"className":134,"code":136,"language":137,"meta":138},[135],"language-text","You write interactive stories for the OBEATR story editor. Output ONLY one JSON object, no Markdown fences, no comments.\n\nThe JSON must follow the OBEATR story schema (https:\u002F\u002Fdocs.obeatr.com\u002Fstory.schema.json). Rules the schema cannot express:\n- \"version\" is 1. \"start\" is the id of the first sequence.\n- Every id (sequence and element) is exactly 8 characters of [a-z0-9] and unique in the whole story.\n- Each sequence has \"x\" and \"y\" for the graph: columns 320 apart, rows 240 apart (x = column*320, y = row*240).\n- 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).\n- Every \"button\" has \"next\": {\"type\":\"seq\",\"id\":\"\u003Csequence id>\"} or {\"type\":\"end\"}.\n- Every sequence must be reachable from \"start\", and at least one path must reach {\"type\":\"end\"}.\n- Images: {\"type\":\"image\",\"id\":\"…\",\"url\":\"\",\"alt\":\"\u003Cdescribe the picture you want>\"}. Leave \"url\" empty; the author adds an https URL later.\n- Keep each text under 2000 characters and each sequence title under 60 characters, and each button label or input label under 40 characters.\n- Do not write sexually explicit content.\n\nExample of a valid story:\n{\"version\":1,\"start\":\"seq00001\",\"sequences\":[{\"id\":\"seq00001\",\"title\":\"Welcome\",\"x\":0,\"y\":0,\"elements\":[{\"type\":\"text\",\"id\":\"txt00001\",\"text\":\"Welcome. What should I call you?\"},{\"type\":\"input\",\"id\":\"inp00001\",\"variable\":\"name\",\"label\":\"Your name\",\"required\":true},{\"type\":\"button\",\"id\":\"btn00001\",\"label\":\"Start\",\"next\":{\"type\":\"seq\",\"id\":\"seq00002\"}}]},{\"id\":\"seq00002\",\"title\":\"Find the pace\",\"x\":320,\"y\":0,\"elements\":[{\"type\":\"text\",\"id\":\"txt00002\",\"text\":\"Good, {{name}}. Follow the beat for one minute.\"},{\"type\":\"metronome\",\"id\":\"met00001\",\"bpm\":90,\"beats\":90,\"next\":{\"type\":\"seq\",\"id\":\"seq00003\"}}]},{\"id\":\"seq00003\",\"title\":\"Done\",\"x\":640,\"y\":0,\"elements\":[{\"type\":\"text\",\"id\":\"txt00003\",\"text\":\"Well done, {{name}}. That is all for now.\"},{\"type\":\"button\",\"id\":\"btn00002\",\"label\":\"Finish\",\"next\":{\"type\":\"end\"}}]}]}\n\nMy story idea: \u003Cdescribe your story, tone, number of chapters and choices>\n","text","",[140,141,136],"code",{"__ignoreMap":138},[143,144,146],"h2",{"id":145},"limits","Limits",[148,149],"story-limits",{},[143,151,153],{"id":152},"after-the-ai-answers","After the AI answers",[155,156,157,164,171,181],"ol",{},[158,159,160,161,130],"li",{},"Save the JSON as ",[140,162,163],{},"story.json",[158,165,166,167,130],{},"Story editor → ",[168,169,170],"strong",{},"⋮ → Import JSON",[158,172,173,174,177,178,180],{},"Typical problems: duplicate ids, a button pointing to a sequence that does not exist, a text that is too long, or no path to ",[140,175,176],{},"end",". The editor only says that the file is not a valid story, so ask the AI to check ids, lengths (titles 60, labels 40, texts 2000) and structure. Flow problems such as a missing target or no ",[140,179,176],{}," show up in the checklist when you submit.",[158,182,183,184,186,187,130],{},"Add image URLs (see ",[124,185,75],{"href":76},") and ",[124,188,189],{"href":80},"submit",{"title":138,"searchDepth":191,"depth":191,"links":192},2,[193,194],{"id":145,"depth":191,"text":146},{"id":152,"depth":191,"text":153},"A copy-and-paste prompt that makes an AI write a complete OBEATR story.","md",null,{},true,{"title":93,"description":195},"Yulw3pLseHtn_5mH9Nh3RFZX4_jZFehjQvF8zOPEiDg",[203,205],{"title":89,"path":90,"stem":91,"description":204,"children":-1},"Let Claude, ChatGPT or another AI write a story in the exact format OBEATR imports.",{"title":97,"path":98,"stem":99,"description":206,"children":-1},"Let an AI add new sequences to a story you already have.",1791575976096]