SCRIPTA Research Studio

SCRIPTA (Structured Creative Writing Intelligent Platform for Textual Authoring) is a Visual Story Composer that enables authors to build narrative specifications through an intuitive visual interface.

Key Concept

Think of CNL as a programming language for narratives. The visual editor is like an IDE, and the CNL is the source code that describes your story's structure.

Features

Build Structure

Create chapters, scenes, and beats in a hierarchical tree with drag-and-drop.

Define Characters

Create characters with archetypes, traits, and relationships.

Set the Scene

Design locations with geography, atmosphere, and time periods.

Plan Emotionally

Use blueprints and emotional arcs to control tension and mood.

Generate Stories

Use Random, LLM, or Advanced strategies to generate specifications.

Measure Quality

Real-time metrics evaluate coherence, completeness, and quality.

Quick Start

1. Generate a Story

Click Create Specs in the left panel. Choose genre, length, complexity, then select a strategy:

2. Explore the Tabs

After generation, explore the tabs: CNL, NL, Blueprint, Templates, Characters, Relations, Locations, Objects, Moods, Dialogues, Arc, Blocks, World, Themes, Wisdom, Patterns.

3. Export

Click Export CNL to download your story specification. Use Create Story in the NL tab to generate prose.

CNL Syntax

// Character definition
Anna is hero
Anna has trait courage

// Relationship
Anna relates to Gandalf as mentor_student

// Scene structure
Sc1 group begin
  Sc1 has title "The Beginning"
  Anna discovers artifact
Sc1 group end

// World rule
World has rule "Magic requires sacrifice"

Generation Strategies

Strategy Speed Quality
Random Instant 65-80% NQS
With LLM 10-30s 75-90% NQS
Advanced 5-15s 80-95% NQS

Quality Metrics

Metric Target Measures
NQS ≥70% Overall narrative quality
Completeness ≥80% Required elements present
Coherence ≥75% Entity consistency
EAP ≥70% Emotional arc coverage

API Endpoints

GET  /v1/projects          - List projects
POST /v1/projects          - Create project
GET  /v1/projects/:id      - Load project
PUT  /v1/projects/:id      - Update project

POST /v1/generate/llm      - Generate with LLM
POST /v1/generate/nl-story - Generate prose from CNL