Spaces:
Running
Running
metadata
title: Odyssey
emoji: π¬
colorFrom: purple
colorTo: blue
sdk: static
app_build_command: npm run build
app_file: dist/index.html
pinned: false
short_description: AI choose your own adventure powered by GPT-4 and Sora2
π¬ Odyssey
An interactive video-based choose-your-own-adventure game powered by OpenAI's GPT-4 and Sora2.
Features
- AI-Generated Narratives: GPT-4 creates engaging first-person story experiences
- Sora2 Video Generation: Each scene is brought to life with AI-generated videos
- Seamless Continuity: Videos flow smoothly using the final frame of each clip as the starting point for the next
- Interactive Choices: Shape your adventure with meaningful decisions at each turn
How to Use
- Enter your OpenAI API key (requires access to GPT-4o and Sora2)
- Start your adventure
- Watch the AI-generated video scene
- Make your choice to continue the story
- Experience seamless video continuity as your story unfolds
Architecture
- Frontend: This Space - Static Svelte 5 app
- Backend: odyssey-backend - Video upload service
- Storage: odyssey-videos - Dataset of generated videos
Technical Details
- Built with Svelte 5 + TypeScript + Vite
- Uses OpenAI's GPT-4o for narrative generation
- Uses OpenAI's Sora2 for video generation
- Implements frame-based continuity inspired by sora-extend
- Canvas API for final frame extraction
- Gradio client for optional video uploads
Privacy
Your API key is stored only in your browser and never sent to our servers. All OpenAI API calls go directly from your browser to OpenAI.