Help · Import
Importing a story
Import a story from another site or an AI tool, then review it as a private draft.
You don't have to build a story from scratch in the editor. You can import one from another site, or ask an AI tool to write one in a format AiRP can read. Either way, the import shows you a preview first and creates a private draft.
From another site
Import reads character cards in the V1, V2 and V3 formats, saved as either a .png or a .json file. It also reads exports from Saucepan and stories exported from AiRP.
Most sites let you download a card as a PNG: a picture of the character with the card saved inside the file. Choose that image in Import and the card is read straight out of it.
Importing a story from another site? Here are some guides for easily porting over your stories:
- SillyTavern · export as json
- Saucepan · download a .json backup
- LoreWeaver · export a story file
- FictionLab · download a save file
- Character.AI · copy and paste
- Chai · copy and paste
A character card describes one character, so its parts are spread across your story like this:
| On the card | In your story |
|---|---|
name | Story title, and a cast member |
descriptionpersonalitymes_example | That cast member's descriptionExample dialogue is kept under its own heading |
scenario | Plot |
first_mesalternate_greetings | Opening scenesUp to ten |
character_book | Tidbits |
system_prompt | Rules |
Create a story with AI
If you'd rather start from an idea, an AI tool can write the whole story as plain JSON for you to import.
- Copy the prompt below into your AI tool. Replace
[STORY BRIEF]with your premise, characters, constraints, and any writing you already have, or with an export from another site. - Save the JSON it returns as a
.jsonfile, or copy all of its text. - Import it using the steps in the next section.
# Task
Create one roleplay story for AiRP from this brief:
[STORY BRIEF]
# Output
- Return **one valid JSON object only**. No Markdown fence, comments, or explanation around it.
- Use AiRP's plain story shape below, **not** a Character Card V2 wrapper.
- Use only the fields shown here. Replace every example value, and leave out example entries you don't need.
```json
{
"title": "A short story title",
"tagline": "A reader-facing hook",
"plot": "The world and the situation at the start of play",
"rules": "Standing directions for tone, point of view, pacing, and player agency",
"cast": [
{ "key": "person-1", "name": "Name", "aliases": ["Title or nickname"], "description": "Identity, motive, voice, and behavior", "visible": true, "playable": false }
],
"tidbits": [
{
"key": "place-1",
"kind": "location",
"label": "Place name",
"keywords": ["Place name"],
"content": "What the place is like when the scene arrives there",
"imageUrl": "",
"visible": true,
"enabled": true
},
{
"key": "room-1",
"kind": "tidbit",
"parent": { "kind": "location", "key": "place-1" },
"label": "Room name",
"keywords": [],
"content": "What is here, inside the place above",
"imageUrl": "",
"enabled": true,
"policy": { "category": "sublocation", "mode": "automatic", "revealKeywords": [], "purpose": "What the room is for", "aliases": ["Other name for the room"], "subjects": [{ "kind": "person", "name": "Name" }] }
},
{
"key": "detail-1",
"kind": "tidbit",
"parent": { "kind": "person", "key": "person-1" },
"label": "Concise neutral label",
"keywords": ["specific trigger"],
"content": "One coherent piece of story information",
"enabled": true,
"policy": { "category": "backstory", "mode": "automatic", "revealKeywords": [] }
},
{
"key": "secret-1",
"kind": "tidbit",
"label": "Neutral label that gives nothing away",
"keywords": [],
"content": "The hidden truth",
"enabled": true,
"policy": { "category": "secret", "mode": "automatic", "revealKeywords": [], "revealCondition": "An event that must happen in the chat", "secretKnowledge": [{ "character": "Name", "knowledge": "What this character already knows or suspects" }] }
}
],
"hooks": [
{
"title": "Opening",
"description": "Short spoiler-free summary",
"content": "An opening scene that leaves the player room to act",
"headerStart": { "startDay": 1, "startTime": "18:00", "startDate": "", "customDate": "", "location": "Place name", "area": "Room name", "weather": "" }
}
],
"headerConfig": {
"template": "scene",
"accent": "amber",
"startDay": 1,
"startTime": "18:00",
"calendarMode": "standard",
"customDate": "",
"location": "Place name",
"area": "",
"clock": "period",
"count": "off",
"variables": [
{ "id": "trust", "label": "Trust", "scope": "character", "characterIds": ["person-1"], "display": "bar", "start": 0, "min": 0, "max": 10, "maxChange": 1, "visibility": "changed", "rules": "+1 when {{user}} keeps a promise. -1 when {{user}} lies to them." }
]
}
}
```
# Writing
- A story needs a title and actual content.
- Put essential starting facts in **plot** and each character's core identity in **cast**. Put facts that only matter sometimes in separate **tidbits**.
- A character's appearance goes in their cast `description`, never in a tidbit.
- Don't repeat long descriptions across fields.
- Never decide the player's dialogue, thoughts, feelings, or consequential choices. Use `{{user}}` for the player's character.
# Keys and parents
- Every cast and tidbit `key` must be unique across both arrays.
- A `parent` must point to an existing key:
- `{"kind":"person","key":"<cast key>"}` for a character's details.
- `{"kind":"location","key":"<location key>"}` for a place's details.
- Leave out `parent` for a standalone entry. Avoid circular links.
# Characters
- `aliases`: other names the character answers to, such as a title, surname, or nickname. Avoid generic ones like "the girl".
- `visible`: set to `false` only for a character the story keeps hidden as a reveal.
- `playable`: set to `true` only for a character readers may play.
# Locations, sublocations, and backgrounds
- A **location** is a tidbit with `"kind":"location"`. It never has a parent.
- A room, building, or area inside a location is a **sublocation**: `"kind":"tidbit"`, a location `parent`, and `"category":"sublocation"`.
- Sublocations are one level deep. A room inside a sublocation goes under the same top-level location.
- Give a sublocation the exact name used in the story as its `label`. Put other names for the same place in `policy.aliases` and a short `policy.purpose`.
- **Attach every character to where they live or work.** List them in that sublocation's `policy.subjects` as `{"kind":"person","name":"<exact cast name>"}`. Only characters go here, never places. A character with no fixed home, such as a wanderer, can be left out.
- A character whose home is a whole region and not one place in it gets a sublocation for their home, such as their house, camp, or post.
- `imageUrl` on a location or sublocation is its **chat background**. A sublocation with no picture shows its location's picture.
- `imageUrl` on any other tidbit is a picture readers find for their **Collection** when a reply brings it up.
- Set `imageUrl` only to a real image URL given in the brief. Otherwise leave it `""`.
# Tidbit categories
Set `policy.category` to one of: `general`, `secret`, `history`, `sublocation`, `backstory`, `relationship`, `romance`, `private_nature`, `faction`, `race`, `item`.
| Category | Parent |
| --- | --- |
| `history`, `sublocation` | A location |
| `backstory`, `relationship`, `romance`, `private_nature` | A person |
| `general`, `secret`, `faction`, `race`, `item` | Optional |
- Use `"mode":"automatic"` by default.
- For `"mode":"keywords"`, give precise keywords. Avoid broad triggers such as love, eyes, or gold.
- Use `"mode":"always"` only for a short entry the story needs on every reply.
- `private_nature` may have `policy.sceneCondition`.
- `general`, `faction`, `race` and `item` may have `policy.subjects`, such as `[{"kind":"person","name":"Exact cast name"},{"kind":"location","name":"Exact location label"}]`. Write a shared tidbit once and list each character and location it is about in `subjects`. Do not repeat the same faction, race or item under each character.
# Relationships
- Attach one card to the character whose feelings it describes.
- Set `policy.relationshipTarget` to the exact name of the other cast member, or `{{user}}`.
- Set `policy.relationshipKind` to the **target's** role in the **owner's** life. If Ilya is Mara's mother, the card belongs to Mara, targets Ilya, and says "mother".
- Don't imply that feelings are mutual.
# Secrets
- Use a neutral `label`.
- Set `policy.revealCondition` to an event that must actually happen in the chat.
- Keep the secret out of plot, cast descriptions, openings, and other tidbits.
- Set `policy.revealKeywords` to `[]` unless the brief asks for phrase-based reveals.
- Use `policy.secretKnowledge` (one note per character) to say what a character already knows or suspects. A secret being in context does not mean every character knows it.
# Openings
- One entry in `hooks` per opening. Each opening's `content` is the first message the player sees.
- Add `"mode":"ai"` only when the brief wants an opening the AI writes fresh each time. Its `content` is then directions for that opening, not the message itself.
# Story header
`headerConfig` is the bar above each reply that tracks time, place, and meters. Leave it out if the brief doesn't need one; it is all-or-nothing, so one bad field drops the whole header.
- `template`: `scene` (time, place, day), `day-night`, `phone` (HUD), or `chapter`. `accent`: `amber`, `ink`, `rose`, `blue`, or `green`.
- `startTime` is 24-hour `HH:MM`. `clock`: `period`, `12h`, or `24h`. `count`: `off`, `replies`, `player`, or `all`.
- `calendarMode`: `standard` (optionally `startDate` as `YYYY-MM-DD`) or `custom` with free text in `customDate` (100 characters).
- `location` is the exact `label` of a location tidbit; `area` is the exact label of one of its sublocations, or free text.
- `variables` (meters, at most 8): unique `id` (letters, digits, `-`, `_`), `label` (40 characters), `scope` `story` or `character`, `display` `counter`, `bar`, or `hearts` (bars and hearts need a `max`), `start` between `min` and `max`, `maxChange` per reply (1 to 100), `visibility` `always`, `changed`, or `hidden`, and `rules` (1,800 characters) with concrete criteria such as "+1 for … −1 for …".
- A character meter's `characterIds` lists **cast keys**. An empty list means every character.
- An opening's optional `headerStart` sets where and when that opening starts: `startDay`, `startTime`, `startDate`, `customDate`, `location`, `area`, `weather`. Give every field; an empty one replaces the story default rather than inheriting it.
# Don't invent
Images, image URLs, tags, model IDs, dice, galleries, or any field not shown above.
# Limits
These are the editor's limits. **Never shorten, summarise, merge, or leave out anything from the brief to meet them.** If the brief has more than fits, include all of it and go over: the author sees what is over in the editor and trims it themselves.
- Title 80 characters; tagline 150; character names, aliases, and opening titles 60; tidbit labels 80; opening descriptions 240.
- 12 keywords per tidbit, 8 aliases per character, 10 openings.
- Plot, rules, cast, and the longest opening are sent on every reply; about 24,000 characters together leaves the chat room to grow.
- A whole story fits in 128,000 characters.
Keep within them where the brief allows it without losing anything. Where it doesn't, keep the material and exceed the limit.
# Before returning
Check JSON syntax, exact field names and types, unique keys, that every parent exists, that each character with a home is in a sublocation's subjects, that header meters point at real cast keys, category parents, relationship direction, reveal conditions, and that nothing from the brief was left out. If a parser is available, use it. Don't claim to have validated the file if you haven't.To see what a finished file looks like, open the example. It has a character, a location with a sublocation inside it, an attached history, a relationship, and an opening. You can read it to see the structure, or save it and try it in the import preview.
Import and review
- Sign in and open Import. Choose your file, or paste its text.
- Read the preview. It lists anything that's missing, shortened, or not supported.
- Choose Open in the editor if you want to decide what gets cut yourself. A direct import may shorten material so the story fits the size limit.
- Review the private draft in the story editor. Add images, the reader-facing intro, tags, content labels, and any other presentation details before you publish.

