[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [MythoMax 13B](https://spiral.ai/integrations/n8n/mythomax-13b)

# How to Use MythoMax 13B in n8n

MythoMax 13B is a Llama 2 model for character roleplay and storywriting. Use it to draft dialogue, fictional scenes, and descriptive prose with a clear character brief.

|  |  |
| --- | --- |
| Model | MythoMax 13B |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.000532 per run at the default inputs. $0.104 per 1M input tokens, $0.143 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with MythoMax 13B in n8n

- Every Monday, use MythoMax 13B to draft a fictional 200-word expedition journal from a cartographer mapping a forest that changes overnight. Make each entry self-contained and end with one unanswered question.
- Each morning, use MythoMax 13B to create one tabletop NPC introduction under 150 words. Set it in a rainbound trading town and include the character's public goal, private worry, and opening line.
- Every Friday, use MythoMax 13B to draft three fictional tavern rumors, each under 50 words. Set them in a city built around a sleeping giant and give each rumor a different speaker's voice.
- Each evening, use MythoMax 13B to prepare a 300-word writing exercise: a scene between a retired detective and an apprentice baker who share a secret. End before either reveals the secret.
- Every Sunday, use MythoMax 13B to write a fictional noticeboard with five notices under 40 words each. Use a remote mountain village as the setting and make two notices hint at the same missing traveler.

## How to set up MythoMax 13B in n8n

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send n8n this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run MythoMax 13B in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds MythoMax 13B, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run MythoMax 13B**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "openrouter",
    "model": "gryphe/mythomax-l2-13b",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: n8n finds MythoMax 13B on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## MythoMax 13B tools and prices

- [MythoMax 13B](https://spiral.ai/tools/openrouter/gryphe/mythomax-l2-13b) (OpenRouter): Up to $0.000532 per run at the default inputs. $0.104 per 1M input tokens, $0.143 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| stop |  | — |  |
| min_p | 0 to 1 | — |  |
| top_k | 0 to … | — |  |
| top_p | 0 to 1 | — |  |
| logprobs |  | — |  |

## What can you do with MythoMax 13B in n8n?

Prepare recurring fiction exercises and tabletop material with MythoMax 13B. Give each run a complete premise and a short output target so the drafts remain easy to review.

### Game character dialogue

Draft a shopkeeper's greeting, refusal, and bargain response from a short personality brief.

### Interactive fiction scenes

Write a short encounter that ends at a player decision, leaving the player's actions unwritten.

### Tabletop session preparation

Prepare a location description, an NPC introduction, and a rumor that gives players a reason to investigate.

### Short fiction drafts

Turn a premise into a focused scene with a clear viewpoint, conflict, and ending.

### Character voice exploration

Write the same fictional exchange in several voices to compare diction, rhythm, and attitude.

### Worldbuilding prose

Draft fictional tavern notices, expedition journals, and local legends from a compact setting brief.

### Dialogue rehearsal for writers

Play one character in an improvised exchange so a writer can test another character's questions and reactions.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## MythoMax 13B in other agents

- [Amp](https://spiral.ai/integrations/amp/mythomax-13b)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/mythomax-13b)
- [Claude](https://spiral.ai/integrations/claude-desktop/mythomax-13b)
- [Claude Code](https://spiral.ai/integrations/claude-code/mythomax-13b)
- [Cline](https://spiral.ai/integrations/cline/mythomax-13b)
- [Codex](https://spiral.ai/integrations/codex/mythomax-13b)
- [Cursor](https://spiral.ai/integrations/cursor/mythomax-13b)
- [Devin](https://spiral.ai/integrations/devin/mythomax-13b)
- [dots](https://spiral.ai/integrations/dots/mythomax-13b)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/mythomax-13b)
- [Gemini](https://spiral.ai/integrations/gemini/mythomax-13b)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/mythomax-13b)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/mythomax-13b)
- [goose](https://spiral.ai/integrations/goose/mythomax-13b)
- [Grok](https://spiral.ai/integrations/grok/mythomax-13b)
- [Grok Build](https://spiral.ai/integrations/grok-build/mythomax-13b)
- [Hermes](https://spiral.ai/integrations/hermes/mythomax-13b)
- [Instinct](https://spiral.ai/integrations/instinct/mythomax-13b)
- [Manus](https://spiral.ai/integrations/manus/mythomax-13b)
- [Muse](https://spiral.ai/integrations/muse/mythomax-13b)
- [Muse Code](https://spiral.ai/integrations/muse-code/mythomax-13b)
- [Notion](https://spiral.ai/integrations/notion/mythomax-13b)
- [OpenClaw](https://spiral.ai/integrations/openclaw/mythomax-13b)
- [opencode](https://spiral.ai/integrations/opencode/mythomax-13b)
- [Perplexity](https://spiral.ai/integrations/perplexity/mythomax-13b)
- [Raycast](https://spiral.ai/integrations/raycast/mythomax-13b)
- [VS Code](https://spiral.ai/integrations/vscode/mythomax-13b)
- [Windsurf](https://spiral.ai/integrations/windsurf/mythomax-13b)
- [Zapier](https://spiral.ai/integrations/zapier/mythomax-13b)

## More n8n guides

- [Muse Wonder](https://spiral.ai/integrations/n8n/muse-wonder)
- [Nemotron 3 Nano 30B A3B](https://spiral.ai/integrations/n8n/nemotron-3-nano-30b-a3b)
- [Muse Spark Open](https://spiral.ai/integrations/n8n/muse-spark-open)
- [Nemotron 3 Super](https://spiral.ai/integrations/n8n/nemotron-3-super)
- [Muse Spark 1.3 Contributor](https://spiral.ai/integrations/n8n/muse-spark-1-3-contributor)
- [Nemotron 3 Ultra](https://spiral.ai/integrations/n8n/nemotron-3-ultra)

## Questions about MythoMax 13B in n8n

**Can n8n use MythoMax 13B?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run MythoMax 13B like any built-in tool.

**How much does MythoMax 13B cost in n8n?**

Up to $0.000532 per run at the default inputs. $0.104 per 1M input tokens, $0.143 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

**Do I need an OpenRouter account to use MythoMax 13B in n8n?**

You need no OpenRouter account. n8n uses one Spiral API key for every tool, and Spiral runs MythoMax 13B on its own OpenRouter account.

**How long does it take to set up MythoMax 13B in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while MythoMax 13B runs?**

MythoMax 13B runs in the background. n8n starts the run, checks on it and gives you the text, json when it's ready.

**What is MythoMax 13B good at?**

Gryphe specifically identifies roleplay and storywriting. Try it for character exchanges, short fiction, and scene descriptions.

**How should I prompt a character conversation?**

Give the character's personality, goal, relationship to the other speaker, and the immediate situation. Ask for one reply and specify whose dialogue and actions it should write.

**What prompt format does MythoMax 13B use?**

The maker recommends Alpaca formatting: a system or character brief, then a ### Instruction: section, followed by ### Response:. Keep the character description separate from the task.

**How much story context can MythoMax 13B handle?**

OpenRouter currently lists 8,192 tokens, while the original model configuration specifies 4,096 positions. For longer fiction, work scene by scene and carry forward a compact recap of established events.

**Which setting should I experiment with first?**

Try temperature first, keeping the character brief and scene unchanged while comparing drafts. It changes next-token probabilities; choose the result that best preserves the voice and plot constraints.

