Inspiration

The idea behind DreamForge was born from a question: What if we could decode the mysteries of our dreams using AI, not only to understand ourselves better, but also to tap into a collective cultural subconscious?

Dreams are powerful, emotional, and symbolic—yet deeply personal and culturally influenced. With the power of Perplexity's Sonar API, especially Sonar Reasoning and Sonar Deep Research, we imagined an AI oracle that not only interprets dreams but also gives them context, meaning, and even historical or mythological connections.


What it does

DreamForge is an interactive app that:

  • Accepts dream descriptions in natural language across multiple languages
  • Uses the Sonar API to analyze symbols, emotions, and themes
  • Contextualizes dream elements with historical, mythological, or psychological significance
  • Suggests possible meanings and personalized rituals (just for fun!)
  • Generates immersive AI-powered imagery using Perplexity-crafted prompts that bring dreams to life visually
  • Responds intelligently in the user's preferred language for culturally appropriate interpretations
  • Visualizes symbolic themes and generates poetic summaries

How we built it

We built DreamForge with:

  • React + TypeScript for the frontend
  • Vite for fast development
  • Tailwind CSS for styling
  • Sonar API (Reasoning & Deep Research) for dream interpretation and data synthesis
  • Perplexity AI for visual prompt generation - creating detailed prompts that capture dream essence and symbolism
  • Specialized AI models for processing visual prompts into stunning contextual imagery
  • Multilingual processing pipeline that detects user language and adapts responses accordingly
  • Custom hooks and modular services for clean architecture

Challenges we ran into

  • Designing prompts that produce interpretable and diverse insights while keeping latency low
  • Engineering sophisticated visual prompts through Perplexity that accurately capture dream symbolism and emotional depth
  • Handling vague or chaotic dream inputs and extracting relevant symbolic elements
  • Managing multilingual responses while preserving cultural context and symbolic accuracy
  • Structuring results in a way that's emotionally meaningful to users
  • Synchronizing text analysis with visual generation for cohesive dream interpretation experiences
  • Ensuring a good UI/UX experience with abstract, non-structured data

Accomplishments that we're proud of

  • Built a dream interpreter powered by cutting-edge AI using Perplexity's Sonar API with creative, symbolic and cultural reasoning.
  • Pioneered immersive visual storytelling through Perplexity-generated prompts that create stunning, contextually relevant dream imagery.
  • Crafted dynamic prompts that extract layered meaning from dreams—emotions, themes, mythological parallels, and psychological insights.
  • Implemented intelligent multilingual support that delivers culturally appropriate interpretations in users' native languages.
  • Developed a sleek and intuitive UI using React, Tailwind, and Vite that makes the user feel immersed in a dreamlike experience.
  • Successfully structured ambiguous user input (dreams are messy!) into analyzable data pipelines that generate coherent and insightful responses.
  • Created seamless integration between textual analysis and visual generation for truly immersive dream exploration.
  • Delivered end-to-end functionality in under a week with clear architectural separation between components, services, and state.
  • Created an experience that feels magical yet grounded, where users are surprised and moved by the relevance of the interpretations.
  • Had fun doing it! We blended code, storytelling, design, and psychology into a unified creative experience.

What we learned

  • How to craft layered prompts using Sonar's capabilities for symbolic and cultural interpretation
  • Advanced techniques for visual prompt engineering that translate abstract dream concepts into compelling imagery
  • How to connect large language models to real-time user experiences
  • The complexities of multilingual AI systems and maintaining cultural authenticity across languages
  • The power of cultural context in AI-generated content
  • How visual elements dramatically enhance user engagement with abstract dream interpretations

What's next

  • Enhanced multilingual dream interpretation with expanded language support and cultural context
  • Advanced visual generation capabilities with 3D environments and interactive dream scenes
  • Connecting dream data with sleep cycles or real-world events
  • Community features for sharing anonymized dream insights across cultures
  • Personalized visual galleries showcasing users' dream imagery collections

Built With

Share this project:

Updates