Labyrinth

Labyrinth is a project by me, Chris Paxton, using AI to generate interactive, compelling worlds that you can explore.

Check it out as a part of Virgil. Or explore…

Places to explore

The Labyrinth of Minos - try to find the Minotaur’s lair

A haunted mansion - find the cursed amulet

A dark forest - try to find the witch’s house

A strange city - search for a powerful artifact

Candyland - search for the Candy Castle

A crumbling castle - try to find a treasure that grants eternal youth

A high-tech research facility - try to find an AI server containing the secrets of the universe

An alien bazaar - try to find your rocket to fly home

Erie, PA - try to find your lost flip-flop

What is it?

It’s a project based on my simple Virgil library, which uses AI to generate text and images. I’ve been using Qwen 1.5 and Diffusers to generate the text and images, respectively. Through iteratively prompting the AI, I’ve been able to generate a series of interconnected rooms, each with its own unique description and image, starting from a really simple seed that looks something like this:

world:
    goal: "a treasure chest containing an ancient relic that grants eternal youth"
    location: "a crumbling, ruined castle filled with traps and monsters"
    writing_style: "poetic, evocative, and mysterious; inspired by Edgar Allan Poe."
    image_style: "baroque oil painting; beautiful, sinister, and mysterious. high-quality painting."

… into an environment you can explore, filled with NPCs, challenges to overcome, etc. Of course, none of those things are really implemented in the current version of Labyrinth, but one day!

Find me on Twitter, Github, or Mastodon!