Provider Abstraction
- Anthropic Claude — Opus / Sonnet / Haiku, configurable per project
- OpenAI GPT — GPT-4 family, drop-in alternative
- BYOK — keys stored locally, never phoned home
Provider-agnostic (Anthropic and OpenAI), 5 genre presets, quest & item wizards, an approval queue that gates every generation, and your own keys — never ours. Built for designers who want speed without losing authorship.
AI content generation is easy. Keeping authorship, consistency, and review discipline while moving fast — that’s the hard part. LoreFlow is opinionated about three things.
LoreFlow never ships in your build. There is no runtime SDK, no telemetry, no shipped keys. Generations happen in the Editor; what your players see is regular ScriptableObjects authored by you, reviewed by you, committed by you.
Every preset is a structured prompt + name palette + tone profile + safety filter. Switch genres and the whole pipeline reframes — no manual prompt-engineering, no copy-paste from a Notion doc.
No generation auto-commits. Each result lands in a queue with diff, prompt, model, cost, and seed. Approve it, edit it, reject it, regenerate it. Your repo only sees content you signed off on.
Import via Asset Store. Open Tools → Avanatro Tools → LoreFlow → Settings, drop in your Anthropic or OpenAI key, pick a default genre preset.
// LoreFlow stores keys in EditorPrefs (per-user, per-machine).
// Nothing leaves your machine except the provider call itself.
LoreFlowSettings.SetProvider(LoreProvider.Anthropic);
LoreFlowSettings.SetApiKey("sk-ant-...");
LoreFlowSettings.SetGenre(GenrePreset.Fantasy);
Open Tools → Avanatro Tools → LoreFlow → Quest Wizard. Pick constraints (length, faction, reward tier), click Generate, review the result.
using AvanatroTools.LoreFlow;
var request = new QuestRequest
{
Genre = GenrePreset.Fantasy,
Length = QuestLength.Short,
Faction = "Ember Watch",
Reward = RewardTier.Common,
};
QuestDraft draft = await LoreFlow.GenerateQuestAsync(request);
ApprovalQueue.Enqueue(draft);
Open the Approval Queue. Each entry shows the prompt, the response, and a diff against your existing catalog. Approve to materialize as a QuestDefinition ScriptableObject; reject to send it back; edit to fine-tune before commit.
| Layer | What you get |
|---|---|
| Provider abstraction | ILoreProvider, AnthropicProvider, OpenAIProvider — pluggable, BYOK |
| Genre presets | Fantasy, SciFi, Cyberpunk, Post-Apoc, Mystery — each a structured prompt + name palette + tone profile |
| Wizards | QuestWizard, ItemWizard — EditorWindow flows with constraint UI |
| Approval queue | ApprovalQueue — diff view, edit-in-place, approve / reject / regenerate |
| Integration adapters | SaveStack (commit), DialogueFlow (quest hooks), InventoryFlow (item routing), UnityEvents bridge |
| Cost meter | Per-generation token + dollar estimate, per-session aggregate |
| Tests | Provider stubs included — unit tests do not hit the network |
$40 – $50 USD · one-time, Unity Asset Store
Includes 12 months of updates, all genre presets, both providers. Bring your own API keys.
View on the Unity Asset Store → (listing link pending submission)