Spiral gives your agent every tool with one account. Browse the tools →

Muse Code · LLMReleased 2023-07-02

How to Use MythoMax 13B in Muse Code

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.

Prompts to try with MythoMax 13B in Muse Code

Copy an example into Muse Code, or ask in your own words.

Use MythoMax 13B to draft six greetings for the first shopkeeper defined in this project's character files. Read the relevant character brief, preserve established names and lore, and keep each greeting under 35 words.

MythoMax 13BMuse Code
Try asking
  • Use MythoMax 13B to draft a 300-word opening scene for this project's interactive story. Read its premise and style guide, introduce one immediate conflict, and end before the player makes a decision.

  • Use MythoMax 13B to write three refusal lines for each merchant in the project's dialogue data. Supply one merchant brief per request, keep each line under 25 words, and present the drafts for review.

  • Use MythoMax 13B to draft a 200-word journal entry about the earliest expedition described in this project's lore. Include the relevant lore excerpt, preserve its dates and names, and introduce no new historical events.

  • Use MythoMax 13B to draft the next reply from the first NPC in the project's sample conversation. Supply that character's brief and the latest exchange, request one reply under 100 words, and leave the player's actions unwritten.

How to set up MythoMax 13B in Muse Code

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

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    muse mcp login spiral

Use the Spiral skill

  1. Send Muse Code 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 the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    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.

    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: Muse Code finds MythoMax 13B on Spiral, shows the price and runs it.

MythoMax 13B providers and prices

Spiral runs MythoMax 13B through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
MythoMax 13B
gryphe/mythomax-l2-13b

Settings you can ask for

Ask Muse Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Min p0 to 1
Top ka whole number from 0
Top p0 to 1
Logprobson or off
Max tokens1 to 3686

The most output tokens to generate.

Temperature0 to 2
Top logprobs0 to 20
Presence penalty-2 to 2
Frequency penalty-2 to 2
Repetition penalty0 to 2

Every API field of MythoMax 13B is on its tool page: open its card above.

What can you do with MythoMax 13B in Muse Code?

Draft fictional dialogue and narrative content for a game or interactive story with MythoMax 13B. Have the coding agent select relevant project excerpts and save reviewed prose in the project's existing content format.

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.

Questions about MythoMax 13B in Muse Code

Can Muse Code use MythoMax 13B?

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

How much does MythoMax 13B cost in Muse Code?

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 Muse Code plan is separate.

Do I need an OpenRouter account to use MythoMax 13B in Muse Code?

No. Spiral runs MythoMax 13B on its own OpenRouter account. You sign in to Spiral once and never paste a key.

How long does it take to set up MythoMax 13B in Muse Code?

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

Does Muse Code wait while MythoMax 13B runs?

MythoMax 13B runs in the background. Muse Code 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.

Get started

Start using MythoMax 13B in Muse Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Muse Code:

Set up Muse Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options