Overview1. Getting started2. Code Gen3. Studio AI4. Chat5. Vision6. Sound7. Motion8. Plugin Setup9. Plan Mode10. Credits11. Account12. External API13. Better prompts14. FAQ

Complete Guide

XERON — Full Documentation

Everything you need to know: every feature, every option, every setting explained from the ground up.

Overview — What's in XERON?

XERON is a suite of six AI tools built specifically for game developers. Each tool handles a different part of the game-development process.

Code GenSidebar → Code Gen

Generates game scripts in Roblox Lua, Unity C#, Godot GDScript, Unreal C++, and Mobile. Six specialised AI modes (Script, UI, Fix, Clean, Diagnose, Game). The main workspace for day-to-day development.

🎮
Studio AISidebar → Studio AI

Generates a complete game from a single description. Plans the architecture, creates every file, tracks each one live, and delivers the whole package directly into your engine via the plugin.

ChatSidebar → Chat

Multi-model AI assistant for game-dev questions, architecture discussions, debugging help, or anything else. Switch between Groq (fastest), Gemini (balanced), and Claude (most capable) mid-conversation.

VisionProduct Switcher → Vision

AI image generator for game art: characters, sprites, backgrounds, UI elements, textures. 7 art styles, 3 resolutions, negative prompt support. Two models: Flux Schnell (fast) and Flux Dev (detailed).

SoundProduct Switcher → Sound

Generates original background music and sound effects. Choose mood (Epic, Peaceful, Boss Battle…), duration (15s / 30s / 60s), and AI model. Download as MP3. In-browser waveform playback.

MotionProduct Switcher → Motion

Generates cinematic video clips from a text prompt: trailers, cutscenes, promotional content. Two models: Luma Dream Machine (cinematic quality) and Kling 1.5 (faster). Aspect ratios: 16:9, 9:16, 1:1. Download as MP4.

ℹ Info
Navigation: Code Gen, Studio AI, Chat, Fix, Templates, History, Dashboard, Community, and Account are in the left sidebar. Vision, Sound, and Motion use the product switcher icons at the top of the sidebar (or the bottom nav on mobile).

1. Getting Started

Create an account

1

Register

Go to xeron-labs.com/register. Enter a username, email, and password — or click Continue with Google / GitHub for one-click signup.

2

Verify your email

Check your inbox for the verification email from XERON. Click the link inside. If you don't see it, check spam — or go to xeron-labs.com/verify to resend it.

3

Onboarding

On first login you'll fill in your primary engine (Roblox / Unity / Godot / Unreal / Mobile) and experience level. This sets your default engine on the generate screen. You can change it any time in Account → Profile.

4

You get 30 free credits

Your free account starts with 30 credits — enough for two code generations or one image. Upgrade from the pricing page to get more.

Forgot password

Go to xeron-labs.com/forgot-password, enter your email, and you'll receive a reset link. The link expires after 1 hour.

2. Code Gen — Complete Walkthrough

Code Gen is the main workspace. You describe what you want, XERON builds it in seconds. Here is every element explained.

The Topbar

Engine logo + Model PickerShows the currently selected platform and AI model. Click to open the picker. You can change engine (Roblox, Unity, Godot…) and model (Gemini, Claude, Groq) at any time — even mid-conversation.
xeron-labs.com linkShortcut to the marketing website. Hidden on mobile.
⚡ Credit counterShows your current credit balance. Updates instantly after each generation. Click to go to Account.

Supported Engines

Lua

Roblox

LocalScripts, ServerScripts, ModuleScripts, GUIs, RemoteEvents, DataStoreService, TweenService — all Roblox-native patterns. Assumes FilteringEnabled.

C#

Unity

MonoBehaviours, ScriptableObjects, Coroutines, UnityEvent, NavMesh, Editor extensions — Unity 2022+ best practices.

GDScript

Godot

Nodes, Resources, Signals, Autoloads, exported variables — Godot 4.x syntax only. Not compatible with Godot 3.

C++

Unreal

UCLASS, UPROPERTY, UFUNCTION, AActor, UActorComponent, GAS — Unreal Engine 5 patterns.

Various

Mobile

Backend services, REST API integrations, analytics, in-app purchase logic, leaderboard systems for mobile games.

AI Modes — choosing the right one

Each mode has a different AI system prompt and uses the best model for that task. The mode buttons appear in the input box. Select the correct one before sending.

Script15crvia Gemini 2.0 Flash

Use when creating a new script from scratch.

Generates a complete, self-contained game script. Best for systems like player controllers, inventory, save/load, enemy AI, shop systems, and physics interactions. XERON writes clean code with comments for key sections.

UI15crvia Gemini 2.0 Flash

Use when generating HUDs, menus, overlays, or UI layouts.

Specialised for frontend/UI code. Generates layouts with proper anchoring, button interactions, animations, and visual feedback. For Roblox it uses ScreenGui patterns; Unity uses Canvas; Godot uses Control nodes.

Fix8crvia Groq Llama 3.3 70B

Use when you have a script that's broken or throwing errors.

Paste your broken code and describe the error or the wrong behaviour. XERON identifies the root cause and returns the corrected version with an explanation. Cheapest mode at 8 credits. Include the error message in your prompt for best results.

Clean8crvia Groq Llama 3.3 70B

Use when your code works but is messy or hard to read.

Refactors the code: removes dead code, improves variable names, adds structure, follows engine-specific style conventions. Does not change functionality. 8 credits — same price as Fix.

Diagnose15crvia Claude Sonnet

Use for complex debugging, performance questions, or architecture decisions.

The most thorough analysis mode. Uses Claude Sonnet for deep reasoning. Ideal for: "why is my game lagging", "my multiplayer system desyncs randomly", "best architecture for an MMO inventory". Returns a detailed breakdown, not just code.

Game Generation40crvia Claude Sonnet

Use from Code Gen only if you want inline game scaffolding.

Generates a skeleton game inside the chat thread. For the full experience (live file tracker, ZIP download, plugin delivery), use Studio AI instead — it's the dedicated tool for full game generation.

Model Picker

Click the model/platform chip in the input box (bottom-right area) to change which AI model is used. The engine selection also changes the output language.

Claude SonnetMost Capable

Best for complex systems, architecture, nuanced debugging. Slightly slower but highest quality reasoning.

Gemini 2.0 FlashDefault

Best balance of speed and quality. Great for Script and UI generation. Default for most modes.

Groq Llama 3.3Fastest

Extremely fast responses (sub-second). Best for quick fixes and Clean tasks.

The Input Box

TextareaType your prompt here. Auto-expands as you type (up to 160px height). Maximum 2000 characters.
Attach button (📎)Upload a screenshot, sketch, or reference image (any image format). XERON analyses it and generates code based on what it sees. Useful for "build this UI layout" with a reference image.
Fix button (🔧)Shortcut to activate Fix mode. Same as clicking the mode selector and choosing Fix. Hidden on mobile to save space.
Game button (🎮)Activates Game Generation mode inside Code Gen. For the full Studio AI experience, go to the Studio AI page instead.
Plan button (🗺)Sends the prompt to Plan Mode instead of directly generating. Three AI models collaborate and return a structured plan before any code is written. See section 9.
Send button (↑)Submits the prompt. Active (navy gradient) when there is text and no generation is running. Keyboard shortcut: Enter.
↑ key (history)When the input is empty and you press the Up Arrow key, it loads your most recent prompt. Press again to go back further (up to 5 saved prompts per engine).
Shift+EnterInserts a line break without sending.

Messages & Responses

Code blocksGenerated code appears in syntax-highlighted blocks with a Copy button. Click Copy to put the code in your clipboard.
Sync to Plugin buttonAppears on code responses. Opens the 6-digit sync modal — connect your engine plugin with the code and it will be sent directly to your game.
Regenerate buttonAppears below the last response when idle. Re-sends your last prompt if the result wasn't what you wanted.
CLARIFY responsesWhen your prompt is ambiguous, XERON asks one clarifying question with 2–4 quick-reply chips. These are free — no credits are deducted. Tap a chip or type your own answer.
WARN responsesIf XERON detects a risky request (e.g. something that could cause performance issues), it shows a warning toast and generates a safe version.
New chat buttonThe pencil icon (✏) at the top of the sidebar starts a fresh conversation. Keyboard shortcut: Cmd+K opens the command palette.

Example

Prompt: “Create a double jump system for Roblox that resets on landing and shows a particle effect on the second jump”

lua
-- Double Jump System (Roblox)
local UIS = game:GetService("UserInputService")
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local hrp = character:WaitForChild("HumanoidRootPart")

local MAX_JUMPS = 2
local jumpsLeft = MAX_JUMPS

-- Particle effect on second jump
local function showEffect()
  local attachment = Instance.new("Attachment", hrp)
  local emitter = Instance.new("ParticleEmitter", attachment)
  emitter.Color = ColorSequence.new(Color3.fromRGB(100, 180, 255))
  emitter.Lifetime = NumberRange.new(0.3, 0.6)
  emitter.Speed = NumberRange.new(8, 14)
  emitter.Rate = 60
  task.delay(0.15, function() emitter.Enabled = false end)
  task.delay(0.8,  function() attachment:Destroy() end)
end

humanoid.Jumping:Connect(function()
  if jumpsLeft > 0 then
    jumpsLeft -= 1
    if jumpsLeft == 0 then showEffect() end
  end
end)

humanoid.StateChanged:Connect(function(_, new)
  if new == Enum.HumanoidStateType.Landed then
    jumpsLeft = MAX_JUMPS
  end
end)

3. Studio AI — Full Game Generation

Studio AI generates a complete, multi-file game from a single description. Navigate there via Sidebar → Studio AI or the Gamepad icon in the mobile bottom nav.

Step 1 — Input

Prompt chipsFive example prompts at the top. Tap one to pre-fill the textarea. Swipe horizontally on mobile to see all.
TextareaDescribe your game in as much detail as you like. The more specific, the better the output. Ctrl+Enter sends.
Target EngineGodot 4 / Unity / Roblox / Mobile. XERON generates engine-native code for each — GDScript for Godot, C# for Unity, Lua for Roblox.
Scope (Complexity)Simple (100cr) = 5–10 files, basic game. Medium (200cr) = 10–20 files, full game with UI. Complex (400cr) = 20+ files, advanced mechanics, multiple systems.
Build Game buttonStarts generation. Disabled if the prompt is empty. Shows the selected complexity and credit cost.
ℹ Info
Make sure your plugin is connected and your session code is active before clicking Build Game. If the plugin is connected when generation completes, XERON delivers all files automatically — no copy-paste.

Step 2 — Generating (Live View)

Progress barShows overall completion percentage (0–100%). Updates as each file finishes.
AI Workflow trackerFive phases: Analyzing concept → Planning architecture → Building game files → Packaging → Delivering. Each phase lights up as it becomes active.
File listEvery planned file listed with a real-time status: ○ pending → ⟳ generating (spinning) → ✓ done (green). New files appear as the plan arrives.
Status messageShows exactly which file is being built right now, e.g. "Generating PlayerController.gd (3/12)".
Elapsed / remaining timerTopbar shows how long the generation has been running and estimates time remaining based on average file time.
Cancel buttonStops the generation. Credits for files already generated are still used.

Step 3 — Complete

Success cardShows the game name, total file count, and credits used.
Plugin delivered ✓If your plugin was connected, this card confirms all files were sent to your engine automatically.
Download .zipDownloads all generated files as a ZIP archive. Preserves the folder structure (e.g. res://scripts/PlayerController.gd). Open directly in your engine.
Generated Files listFull list of all files with their paths. All show a green ✓ when complete.
+ New Game buttonResets the form and starts a new generation from scratch.

4. Chat

Chat is a free-form AI assistant for anything game-development related. Unlike Code Gen it doesn't deduct credits for clarify responses, and it's designed for back-and-forth conversation rather than single generations.

Model selectorTop of the chat page. Switch between three models at any time — mid-conversation is fine.
Groq Llama 3.3 70BFastest. Sub-second responses. Best for quick questions, short code snippets, and when speed matters more than depth.
Gemini 2.0 FlashBalanced speed and quality. Default for most tasks. Good for medium-complexity architecture discussions.
Claude SonnetMost capable. Best for complex system design, detailed debugging, multi-step reasoning, and long-context understanding.
Session historyEach chat conversation is saved as a session. Previous sessions are listed in the sidebar under the Chat section. Click any session to reload the full conversation.
New sessionClick the pencil icon at the top of the sidebar to start a fresh session. The current session is auto-saved.

5. Vision — Game Art Generator

Vision generates game art from text descriptions. Access it via the product switcher at the top of the sidebar (the pink ◈ icon) or via the Motion section's logo.

Settings

PromptDescribe the image you want. Be specific: describe the subject, style, lighting, and context. E.g. "A medieval castle at night with glowing torches, pixel art style, dark fantasy".
Negative PromptTell the AI what to avoid. Shown under "Advanced options". E.g. "blurry, low quality, watermark, text". Helps prevent unwanted elements from appearing.
Style7 options: Pixel Art, Realistic, Cartoon, Dark Fantasy, Anime, Low Poly, Concept Art. Leave empty to let the AI decide based on the prompt.
Resolution512×512 (fast, small), 1024×1024 (high quality square), 1024×512 (landscape — ideal for backgrounds).
Flux Schnell20 credits. Fast generation (~2s). Great for iterating quickly. Slightly stylised look.
Flux Dev30 credits. Slower (~8s) but significantly more detailed and realistic. Use for final assets.
Regenerate (🔄)Re-generates with the same settings. Small random variations each time.
DownloadSaves the image as a PNG file to your device.
✓ Tip
For pixel art sprites, start with Flux Schnell + Pixel Art style + 512×512. Once you're happy with the design, regenerate with Flux Dev for the final version.

6. Sound — Music & SFX Generator

Sound generates original audio for your game — background music or sound effects. Access via the product switcher (🎵 yellow icon).

Music generation settings

PromptDescribe the music. E.g. "Epic orchestral battle theme with rising brass and drums".
Mood chips7 quick-select moods: Epic, Peaceful, Tense, Mysterious, Dark, Upbeat, Boss Battle. Click one to pre-fill the mood context.
Duration15s (40cr), 30s (75cr), 60s (120cr). Longer = more credits. For looping background music, 30s loops well.
Stable AudioDefault model. Best for game-style music with instruments and structure.
MusicGenMore creative and experimental. Good for ambient, atmospheric, or unusual sounds.

Sound Effects (SFX)

Switch to SFX mode on the Sound page. Pick a category (Combat, Footsteps, UI, Ambient, Magic, Explosion, Nature) and describe the specific sound.

Playback & download

Waveform visualizerAn animated waveform shows the audio playing in real time. The bars respond to the frequency of the audio.
Play / PauseIn-browser playback. The audio is streamed from the server — no download needed to preview.
Download (MP3)Saves the audio as an MP3 file. Import directly into your game engine.

7. Motion — Video Generator

Motion generates short video clips from text prompts. Use it for trailers, cutscenes, gameplay previews, or promotional content. Access via the product switcher (▶ green icon).

! Note
Motion generation takes 30–120 seconds. The page shows a live status counter while it processes. Do not close the tab during generation or you will lose the result (credits are refunded automatically if it fails).

Settings

PromptDescribe the video scene in detail. Include camera movement, lighting, action, and style. E.g. "A knight charging through a burning village, slow motion, cinematic, golden hour lighting".
Luma Dream Machine200 credits. Highest quality cinematic output. Best for dramatic, high-production-value scenes. Takes ~60–90 seconds.
Kling 1.5150 credits. Faster and sharper. Better for action, motion clarity. Takes ~30–60 seconds.
16:9Landscape. Best for trailers, desktop, YouTube, gameplay footage.
9:16Portrait. Best for TikTok, Instagram Reels, mobile previews.
1:1Square. Good for social media posts.
Style chips6 optional styles: Cinematic, Anime, Realistic, Cartoon, Pixel Art, Low Poly. Leave empty for no style bias.
Queue positionIf the AI provider is busy, you'll see "Position X in queue". This is normal — generation will start automatically.
Download (MP4)Saves the video as an MP4. Full quality, no watermark.

8. Plugin Setup — Engine Sync

The Plugin Sync feature sends generated code directly into your game engine — no copy-paste. The plugin polls XERON every few seconds and injects new scripts automatically when they arrive.

Select your engine to see the installation steps:

1

Download the Roblox Plugin

Go to xeron-labs.com/plugins and download xeron_roblox_plugin.rbxm.

2

Install in Roblox Studio

Open Roblox Studio → Plugins tab → Plugins Folder. Copy the .rbxm file in. Restart Studio — the XERON button appears in the toolbar.

3

Enter your 6-digit code

Click XERON in the toolbar to open the panel. Find your session code on the Account page in XERON. Paste it and click Connect.

4

Generate in XERON

Go to XERON Engine, generate code — it appears automatically in ServerScriptService inside Roblox Studio.

Session Code

The 6-digit session code is the link between XERON and your engine plugin. Find it in two places:

Code Gen → Sync buttonClick the Sync button in any code response. A modal shows your code with a Copy button and a Refresh button (generates a new code, valid 10 min).
Account page → Session Code cardAlways visible here. Refreshes every 24 hours automatically, or you can generate a new one manually.
ℹ Info
Download plugins for all engines at xeron-labs.com/plugins.

9. Plan Mode

For large features that span multiple scripts, use the Plan button instead of Send. Three AI models run in parallel and return a structured development plan before any code is written.

How it works

Gemini 2.0 FlashGame Designer

Breaks the feature into gameplay phases and player-facing requirements. Answers: what does the player experience?

Groq Llama 3.3Systems Architect

Defines the technical architecture, data structures, and module boundaries. Answers: how should the system be structured?

Claude HaikuCode Planner

Produces a file-by-file implementation plan with estimated complexity. Answers: what files need to be written and in what order?

After the plan

Review the three perspectives. If you're happy, click Generate Code from Plan in the response — this costs 25 credits and produces all the identified scripts at once. You can also just use the plan as a reference and generate scripts one by one manually.

✓ Tip
Plan Mode is free to run — you're only charged the 25 credits if you click “Generate Code from Plan”.

10. Credits

Credits are XERON's currency. Each generation costs a fixed number of credits. Clarification questions are always free.

Credit costs at a glance

15 cr
Script / UI / Diagnose
8 cr
Fix / Clean
100 cr
Studio AI — Simple
200 cr
Studio AI — Medium
400 cr
Studio AI — Complex
25 cr
Generate from Plan
20 cr
Image (Flux Schnell)
30 cr
Image (Flux Dev)
40 cr
Sound — 15s
75 cr
Sound — 30s
120 cr
Sound — 60s
200 cr
Motion (Luma)
150 cr
Motion (Kling)

Where to see your balance

Your balance is shown in three places: the credit counter in the generate topbar (⚡ number), the bottom of the sidebar (⚡ credits), and the Account page. It updates immediately after every generation.

Low credits warning

When your balance drops below 20 credits, an orange banner appears in Code Gen and Studio AI. XERON also sends you one warning email (you can disable this in Account → Notifications).

Plans

Free accounts get 30 credits/month. Paid plans start at €8/month for 800 credits — that's 53 code generations per month. Credits on paid plans roll over. You can also buy one-time credit packs without upgrading your plan. See xeron-labs.com/pricing.

11. Account & Settings

Access the Account page via Sidebar → Account or the user menu at the bottom of the sidebar. Settings are under Sidebar → Settings.

Profile card

UsernameShown in the sidebar and on any community content you share.
First & Last nameOptional. Used for personalised emails and account identification.
Date of BirthOptional. For age verification and compliance.
CountryOptional. Used for regional content and billing.
Primary EngineSets the default engine selection when you open Code Gen. Saves you from changing it every time.
Experience LevelBeginner / Intermediate / Advanced. Affects how XERON explains code — beginners get more comments.
Save buttonSaves all profile changes. Shows a green "Saved ✓" indicator for 2 seconds.

Session Code card

Your 6-digit plugin sync code is always visible here. Use it to connect your engine plugin to XERON. The code auto-refreshes every 24 hours, or click Refresh Code to generate a new one immediately.

API Key card

Your personal API key starts with xn_. Use it to call the external XERON API from your own tools or scripts. The key is shown masked by default — click the eye icon to reveal it. Click Regenerate to get a new key (this invalidates the old one immediately).

! Note
Never share your API key or commit it to a public repository. If it gets leaked, regenerate it immediately from this card.

Webhook card

Add a webhook URL to receive a POST request after every successful generation. Useful for automation: saving results to a database, triggering CI builds, posting to Discord, etc.

Webhook URLMust be a public HTTPS endpoint. XERON sends a POST request to this URL after each generation completes.
Webhook SecretOptional but recommended. XERON signs each payload with HMAC-SHA256 using this secret. Verify the x-xeron-signature header in your server to confirm requests are genuine.

Webhook payload:

json
{
  "event": "generation.complete",
  "generationId": "uuid",
  "engine": "godot",
  "mode": "script",
  "creditsUsed": 15,
  "creditsRemaining": 285,
  "timestamp": "2026-05-26T14:30:00.000Z"
}

Notification Preferences

Generation completeSends an email when a long generation (Studio AI) finishes. Off by default.
Low creditsSends a one-time email when your balance drops below 20 credits. On by default.
Product updatesReceive announcement emails when new features launch. On by default. Unsubscribe at any time.

Settings page

ThemeLight / Dark / System. System follows your OS setting. Saves instantly to localStorage.
LanguageInterface language. Currently: English (EN), German (DE), Spanish (ES), French (FR). Changing this updates all sidebar labels and UI text.
Reset to defaultsResets theme to System and language to English. Does not affect your profile or credits.

Danger Zone

Delete Account — permanently deletes your account, all generations, chat sessions, game generations, and session codes. This cannot be undone. A confirmation dialog is shown before deletion.

12. External API — Use XERON Programmatically

The XERON API lets you integrate AI code generation into your own tools, CI pipelines, Discord bots, or custom editors. Use your xn_ API key from the Account page.

POST /api/v1/generate

Generates code from a prompt. Uses the same backend as the web app — same quality, same AI models.

bash
curl -X POST https://xeron-labs.com/api/v1/generate \
  -H "Authorization: Bearer xn_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Create a double jump system",
    "engine": "godot",
    "mode": "script"
  }'

Request body

promptrequiredThe instruction for the AI.
enginerequiredroblox | unity | godot | unreal | mobile
modeoptionalscript | ui | fix | clean | diagnose. Default: script
modeloptionalclaude-sonnet-4-6 | gemini-2.0-flash | llama3. Default: gemini-2.0-flash
streamingoptionaltrue for SSE streaming. Default: false (JSON response).

Response (JSON)

json
{
  "code": "extends Node\n\nfunc _ready():\n    print(\"Hello World\")",
  "creditsUsed": 15,
  "creditsRemaining": 6622
}

Response (SSE streaming)

Add "streaming": true to the request body. The response is a stream of Server-Sent Events:

text
event: chunk
data: {"delta": "extends Node\n\n"}

event: chunk
data: {"delta": "func _ready():\n"}

event: done
data: {"creditsUsed": 15, "creditsRemaining": 6607}
! Note
Each API call deducts credits from your account the same way as using the web app. Your API key shares the same credit pool.

13. Writing Better Prompts

The quality of XERON's output is directly proportional to how clearly you describe what you want. These patterns consistently produce better results.

1. Be specific about engine context

✗ Too vagueMake a shop system
✓ Clear and specificCreate a Roblox shop system that uses DataStoreService to save purchases across sessions. Items are defined in a ModuleScript. The GUI should open when the player clicks an NPC.

2. Describe the player experience, not just the code

✗ Too vagueAdd a jump boost
✓ Clear and specificWhen the player collects a speed pad, give them a 3-second double jump boost. Show a blue particle effect on jump and a countdown UI in the top-right corner. Reset on death.

3. Include error messages in Fix mode

✗ Too vagueThis script is broken
✓ Clear and specificThis LocalScript crashes with "attempt to index nil value (humanoid)" on line 12 when the player respawns. The issue seems to happen because Character isn't re-fetched after respawn.

4. Mention constraints

✗ Too vagueCreate an inventory system
✓ Clear and specificCreate a Godot 4 inventory system that supports drag-and-drop, 30-slot grid, item stacking up to 99, and persists via JSON to user://inventory.save. No external plugins.

5. Use follow-up prompts to refine

✗ Too vague(Start a new chat for every change)
✓ Clear and specificAfter the first generation, follow up in the same chat: "Add a cooldown of 2 seconds", "Make the sound play on the server instead", "Extract the config values into constants at the top".

14. FAQ

Still have questions?

The XERON team reads every email.

hello@xeron-labs.com