APRIL 9, 2025
How Wolf Games is Crafting Immersive Crime Stories Daily with the Gemini API

The demand for fresh, engaging content in gaming is relentless. For Wolf Games, an innovative startup, this means delivering new, interactive crime stories to their players daily. They're achieving this ambitious goal by harnessing the power of the Gemini API, particularly Gemini 2.0 Flash and Gemini 2.0 Flash Thinking, to generate complex narratives at an unprecedented scale.
Wolf Games targets mobile gamers and mystery enthusiasts who crave daily problem-solving experiences. Their app delivers realistic crime scenes each day, complete with police reports, photos, interviews, and dynamic characters, allowing players to dive into new cold cases regularly.
The Challenge: Scaling Daily Narrative Content
Maintaining this daily cadence requires speed and accuracy in content generation. Before integrating the Gemini API, Wolf Games faced hurdles with previous models that struggled with consistent structured output (achieving only 80% success) and slow prompt execution times (up to six minutes).
"We leverage the Gemini API within our prompt execution DAG to generate novel and engaging crime stories," explains Noah Rosenberg, Co-founder & CTO. "Our process orchestrates numerous finely-tuned prompts to yield structured content from an inherently unstructured process – narrative generation."


Wolf Games' Innovative Prompt Engine
At the core of Wolf Games' solution is their in-house tool, "Prompt Composer," which manages their prompt execution DAG. This framework allows them to integrate function calls, execute custom Python scripts for logic like ensuring unique names, and manage state throughout the generation process. This allows them to:
- Easily switch between different models, including Gemini 2.5 Pro, Gemini 2.0 Flash and Gemini 2.0 Flash Thinking.
- Employ Retrieval-Augmented Generation (RAG) by storing all generated content, such as character backstories and case events, in a persistent database, ensuring narrative cohesion. For instance, referencing a Bayesian causal graph of events, which maps out logical dependencies in the narrative, when generating a digital bank statement to ensure accuracy and consistency.
- Enforce structured output, particularly JSON, which is then validated using tools like Pydantic, ensuring reliability downstream.
Wolf Games utilizes Gemini 2.0 Flash Thinking for complex text generation with large context windows (over 100k tokens) and outputs, consolidating workflows that previously required numerous steps. They find Gemini 2.0 Flash "incredibly performant and dependable" for faster tasks, often using Gemini 2.5 Pro to generate few-shot examples that enhance Gemini 2.0 Flash's performance.
A key tool in their workflow is Google AI Studio. "Google AI Studio has become my most frequently used Google product, surpassing even Gmail, Calendar, and Search in daily usage." shares Noah, highlighting its value for prompt experimentation.
Speed, Accuracy, and an Improved Workflow
Migrating to the Gemini models brought remarkable improvements:
- Increased accuracy: Prompt execution success rates soared from 80% to 96%, ensuring high-quality, structured content.
- Reduced latency: Prompt completion times dropped dramatically from minutes to under 20 seconds for most prompts.
- Streamlined content production: The speed and reliability of the Gemini models, especially Gemini 2.0 Flash, significantly enhanced their ability to produce detailed crime stories daily.
"The Gemini models directly address our need for rapid and reliable generation of structured narrative content," Noah emphasizes. A critical threshold for Wolf Games is generating text faster than their writers can read it, maintaining their creative flow state – something the Gemini models have helped them consistently achieve.
Looking Ahead
Wolf Games plans to further leverage the Gemini API, particularly exploring the creative potential of upcoming models to generate even more realistic game evidence. Reflecting on their experience, Noah offers this advice to developers:
"Take the time to really understand how to structure prompts for the Gemini models. Use more powerful models to create the prompts for the faster models to execute." He stresses the importance of well-structured schema and few-shot examples, suggesting developers "run experiments to gain an intuition on how the Gemini models leverage the data encoded in the latent space."
For Noah, AI is a powerful creative catalyst: "I’ve been a lifetime 'content klutz'... Now with AI, I can create anything I can dream up, without all of the toil."
Wolf Games' innovative use of the Gemini API demonstrates its potential to revolutionize game development, enabling creators to produce immersive experiences at an unprecedented pace.
You can get started in Google AI Studio and explore the Gemini API documentation to start building the future of AI.