# Yulya Studio — Comprehensive A to Z Documentation & Guide > This document is designed for AI models, developer agents, and creators seeking full A to Z technical and operational knowledge about Yulya Studio (https://studio.yulya.me). --- ## 1. Platform Overview ### What is Yulya Studio? Yulya Studio is a browser-native game & web app creation studio, Monaco code IDE, isolated live host, and community online arcade powered by Google Gemini 3.x AI. Creators can build, prompt, bundle, playtest, and publish web games and apps (HTML5, Canvas 2D, WebGL, Three.js, GLSL shaders, Phaser, and React + TypeScript via in-browser `esbuild-wasm`) with zero local tooling. ### Key Value Propositions - **Zero-Setup Studio**: VS Code-grade Monaco editor with Command Palette (`Ctrl+K` / `Ctrl+P`), persistent folders, visual asset previews, live FPS/DOM/Memory telemetry HUD, and automatic in-browser TypeScript/JSX bundling. - **Multimodal Gemini AI Chat**: Surgical `edit_file` / `batch_edit_files`, static `check_project_diagnostics`, `regex_search`, `read_file_lines`, `get_preview_state`, async `evaluate_in_preview`, full autonomous `send_game_input` (click, double-click, right-click, drag, type, scroll, keyboard press/hold, touch, wait + post-action screenshot), Plan vs Build mode, **Headless Game-Only Screen Share** (zero browser popups, game preview only), image paste/drop uploads, inline **Nano Banana 2.1** sprites/artwork, inline **Gemini 3.8 TTS** voice audio players, and Click-to-Edit DOM targeting. - **Dedicated Origin Sandbox (`play.yulya.me`)**: Every live preview and public game executes on `https://play.yulya.me` with strict CSP, zero authentication cookies, and strict `postMessage` origin verification. - **Community Arcade**: One-click publishing to `https://studio.yulya.me/{username}/{slug}` with likes, comments, `YulyaSDK.submitScore` high-score leaderboards, embed codes, abuse reporting, and creator opt-in Remixing (off by default). - **Creator Ownership**: 100% of game code and assets belong to the creator. Owners can export clean `.zip` archives and purge their accounts immediately from `/settings`. --- ## 2. 5-Minute Quickstart Guide ### Step 1: Create an Account & Claim Username 1. Visit https://studio.yulya.me and click **Sign Up** or **Sign in with Google**. 2. If signing up with email, verify the 6-digit confirmation code (with self-service Forgot Password recovery available at `/login`). 3. Choose a unique `@username`. Your public profile lives at `https://studio.yulya.me/@username`. ### Step 2: Connect Gemini API Key (BYOK) 1. Obtain a personal Google Gemini API key from https://aistudio.google.com/app/apikey. 2. Open the **API Key** dialog in Yulya Studio and paste your key. 3. Your key is transmitted over HTTPS/TLS and encrypted server-side before database storage using **AES-256-GCM with Associated Authenticated Data (AAD)** bound to your user ID. Raw keys are never logged or returned to clients. ### Step 3: Start from a Template or Blank Project 1. Browse https://studio.yulya.me/templates or click **New Project** to choose from 8 starter templates: - Blank Canvas, Canvas 2D Arcade, React + TypeScript + Tailwind (`esbuild-wasm`), Three.js 3D Scene, GLSL Fragment Shader, Phaser 3 Platformer, SaaS Landing Page, or Interactive Utility Tool. 2. Choose **Private** (HMAC-signed 24h preview) or **Public** (Community Arcade). ### Step 4: Build with Monaco & Gemini 3.x Copilot 1. Toggle **Plan** mode to review a step-by-step architectural roadmap without touching files, or **Build** mode to let the agent create and surgically patch files (`edit_file`). 2. Paste or drop screenshots/mockups directly into chat, toggle **Live Screen Share**, or ask Gemini to generate sprites (`Nano Banana 2.1`) and voice cues (`Gemini 3.8 TTS`) — generated images and audio players appear right inside the chat! 3. Click the **Inspect (Click-to-Edit)** icon in the preview toolbar to pick any rendered DOM element and inject its exact selector and context into the AI prompt. 4. Click **1-Click Fix** next to any runtime console error in the Terminal to send the exact stack trace to the Copilot. ### Step 5: Snap a Cover & Publish to Arcade 1. Click the **Camera icon** in the preview toolbar to capture a crisp 16:9 WebP cover via `modern-screenshot` and preserved WebGL drawing buffers. 2. Click **Publish** to host your game on `https://studio.yulya.me/{username}/{slug}` (rendered safely inside a `play.yulya.me` sandbox iframe). --- ## 3. Studio IDE Capabilities & Shortcuts - **Monaco Editor**: Full IntelliSense, multi-cursor editing, syntax highlighting for HTML, CSS, JavaScript, TypeScript (`.ts`/`.tsx`/`.jsx`), JSON, GLSL (`.glsl`), and Markdown (`.md`). - **In-Browser `esbuild-wasm` Bundler**: Automatically bundles `.ts`, `.tsx`, and `.jsx` projects in the browser with bare package imports mapped to `https://esm.sh/`, zero backend build queue required. - **Visual Asset Previewer**: Clicking `.png`, `.jpg`, `.webp`, `.svg`, `.mp3`, `.wav`, `.ogg`, or `.mp4` files opens a clean inline image/audio/video inspector instead of raw binary text. - **Safe Interactive REPL**: Terminal expressions execute inside the isolated `play.yulya.me` sandbox iframe via `yulya:eval-code` — never in the Studio parent page. - **Live Perf HUD**: Toggle real-time FPS, DOM node count, and JS heap metrics inside the preview bar. - **Keyboard Shortcuts**: - `Ctrl+K` / `Cmd+K` or `Ctrl+P` / `Cmd+P`: Open Command Palette (quick file jump & Studio actions). - `Ctrl+S` / `Cmd+S`: Save active file immediately. - `Ctrl+Enter` / `Cmd+Enter`: Send Copilot prompt. - `Ctrl+\``: Toggle Terminal / Console drawer. --- ## 4. Gemini 3.x AI Copilot, Vision & Asset Studio - **Models & Waterfall**: Dynamically lists every live chat model available on the user's Google AI Studio key (including paid Gemini 2.5, 3.x, 4.x, Gemma, and newly launched models) and preserves chosen model IDs verbatim. **Antigravity Auto** dynamically picks the newest flagship model with deep thinking (`thinkingConfig`), `batch_edit_files`, `rename_file`, autonomous image/audio asset generation, Google Search grounding, and visual verification. Multi-turn function calls preserve full `thoughtSignature` metadata. - **True Multimodal Vision (`inspect_game_screen`)**: When the agent calls `inspect_game_screen`, the frontend captures a live JPEG frame of the running game and posts it back to the agent turn so Gemini visually inspects rendered canvas/DOM pixels before answering or fixing layout bugs. - **Built-In Nano Banana 2.1 & Gemini 3.8 TTS Chat Tools**: Ask the chat directly to generate or edit sprites, icons, backgrounds, or voice lines—images and playable WAV audio cards render inline inside the chat and save directly into `assets/`. --- ## 5. Community Arcade, Leaderboards & Play Wrapper - **Play Wrapper Page (`https://studio.yulya.me/{username}/{slug}`)**: Every public project opens in a clean wrapper page featuring Theater/Fullscreen modes, Likes, Community Comments, Embed iframe snippet, Abuse Report modal, High-Score Leaderboard, and (when explicitly opted in by the creator) a Remix button. - **Leaderboard SDK**: Any public game can submit scores to its project leaderboard via `window.YulyaSDK.submitScore(score, playerName)`. - **Fast Binary Thumbnails**: Arcade catalog cards load cached binary thumbnails from `/api/projects/{id}/thumbnail` with `ETag` and HTTP `304` validation instead of bulky inline base64 payloads. - **Anti-Bot Play Tracking**: Play increments are deduplicated per client IP/session cooldown so reloads and crawlers never inflate play counts. --- ## 6. Security, Privacy & Account Controls - **Dual-Origin Host Isolation**: `studio.yulya.me` serves the IDE, API, and authenticated sessions (`__Host-yulya_session` HttpOnly cookie, 14-day lifespan). `play.yulya.me` serves strictly sandboxed user game assets with zero auth cookies, `robots.txt` disallowing indexing of raw sandbox paths, and all `/api/auth/*` & mutating endpoints blocked with `403`. - **Authenticated Key Encryption**: Gemini API keys use versioned AES-256-GCM encryption bound to the owner's `user_id` via AAD, with seamless key-rotation support. - **Account & Session Management (`/settings`)**: Change passwords, view and revoke active sessions across devices (`Logout All Devices`), export projects as `.zip`, or permanently purge your account and all data immediately (GDPR Art. 17). - **Contact & Creator**: Support, legal, privacy, and DMCA inquiries: `support@yulya.me`. Creator portfolio: `https://moheith.tech`.