Chroma Golem API Documentation

Documentation

Building Game Systems with AI

Create complex, engaging, and intelligent game systems with our AI-powered APIs that bring your game world to life.

Our APIs provide everything you need to build sophisticated game mechanics that adapt to player actions, create emergent gameplay, and deliver rich interactive experiences. Integrate one system or combine them all to create truly dynamic worlds.

Game Systems Overview

Explore our complete suite of AI-powered game systems designed to work together seamlessly:

Intelligent NPCs

Create lifelike characters with memory, personality, and autonomous decision-making capabilities.

  • • Character generation with distinct personalities
  • • Memory systems for persistent interactions
  • • Realistic dialogue and emotional responses
Learn more

Dynamic Dialogue

Natural conversation systems that respond to player choices, history, and world state.

  • • Contextual conversation generation
  • • Branching dialogue with consequences
  • • Character-specific speech patterns
Learn more

Quest Systems

Generate engaging quests, missions, and storylines that adapt to player choices.

  • • Procedural quest generation
  • • Adaptive objective difficulty
  • • Contextual rewards and consequences
Learn more

AI Reasoning

Add intelligence to your game with AI reasoning, planning, and problem-solving capabilities.

  • • Strategic decision-making for NPCs
  • • Adaptable game difficulty
  • • Emergent behaviors based on game state
Learn more

Item Systems

Generate unique items, equipment, and collectibles with rich descriptions and properties.

  • • Procedural item generation
  • • Balanced stats and attributes
  • • Item descriptions and lore
Learn more

Crafting Systems

Create deep crafting mechanics with recipes, resource gathering, and progression systems.

  • • Recipe generation and discovery
  • • Material properties and interactions
  • • Crafting outcomes with variable quality
Learn more

System Integration

All of our game systems are designed to work together, creating a cohesive and intelligent game world:

Cross-System Communication

NPCs can interact with your quest system, crafting mechanics can influence item generation, and dialogue can adapt to the player's quest progress.

Unified API Design

All game systems use the same authentication, rate limiting, and response formats, making integration straightforward across your entire game.

Pro tip: Start with a single system and gradually integrate others as your game develops. Our APIs are designed for incremental adoption.

Getting Started

Quick Start Example

Here's how you might combine multiple game systems in a single scene:

// Example: NPC shopkeeper with items and dialogue
const response = await fetch('https://api.chromagolem.com/v1/chat/completions', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'Authorization': 'Bearer YOUR_API_KEY'
  },
  body: JSON.stringify({
    "client_id": "player_12345",
    "messages": [
      {
        "role": "system",
        "content": "You are a merchant NPC named Gareth. You sell magical items and have a shop in the market district. Generate a shop inventory, respond to the player, and recommend items based on their needs."
      },
      {
        "role": "user",
        "content": "I'm looking for something to help me in my quest to clear the haunted mines. Do you have anything that might help?"
      }
    ]
  })
});

Explore Documentation

Each game system has detailed documentation with examples, best practices, and integration guides.

Community Resources

Join our community to learn from other game developers and share your implementations.

Ready to Transform Your Game?

Choose a system to explore or get your API key to start building today.

Back to your dashboard
View my API keys