Novelcrafter Integration

AVELIN API is compatible with Novelcrafter — All-in-one writing workspace blending a world-building wiki (Codex) with flexible, model-agnostic AI assistance for drafting novels.

Novelcrafter is a dedicated novel-writing workspace that combines a world-building wiki (the Codex) with model-agnostic AI assistance for drafting. Its killer feature is the Codex — a structured wiki of your world's lore, characters, magic systems, and locations that auto-injects relevant context into AI responses as you write. The AI doesn't just generate text; it knows your world. Mention a character in a scene and Novelcrafter automatically feeds the AI that character's personality, history, and relationships.

Built for fiction authors, worldbuilders, and creative writers who want AI assistance that respects narrative continuity. Unlike generic chat interfaces, Novelcrafter maintains story coherence across chapters. Pair with AVELIN's large-context models for deep awareness of your entire manuscript.

Why AVELIN + Novelcrafter? Leverage AVELIN's frontier models with large context windows and competitive pricing for creative workflows.


Quick Setup

Step 1: Get your AVELIN API key

Sign up at avelin.ai and generate an API key. It will look like sk-ave...xxxx.

Step 2: Configure AVELIN

Most creative tools support OpenAI-compatible endpoints via environment variables or settings:

export OPENAI_API_BASE=https://api.avelin.ai/v1
export OPENAI_API_KEY=sk-avelin-YOUR_KEY

API Reference

EndpointURL
OpenAI-compatiblehttps://api.avelin.ai/v1
Anthropic-compatiblehttps://api.avelin.ai

Use caseModelWhy
Creative writingavelin-proBalanced creativity and coherence
Complex narrativesavelin-ultraDeepest reasoning for story consistency
Quick responsesavelin-fastLow latency for rapid iteration
Long documentsavelin-coding-pro1M context for entire novels

Why AVELIN for Novelcrafter?

  • Large context: 256K-1M tokens for long creative works
  • Prompt caching: ~80% cost reduction on repeated character/world context
  • Model diversity: Switch between models for different creative needs
  • Competitive pricing: Lower per-token costs than direct providers

Troubleshooting

IssueSolution
API key errorVerify OPENAI_API_BASE includes /v1
Character inconsistenciesUse avelin-ultra for better narrative coherence
Slow responsesSwitch to avelin-fast for quicker iteration
Context overflowEnable context summarization or use larger model