AI inside your game: text, pictures, music and 3D for players
How the ready-made iDos Games in-app AI works - an AI studio where players generate text, pictures, voice, music, video and 3D through features you open, with a price in game resources - and how to set it up in the dashboard.
In-app AI lets players create inside your game: text, pictures, voice, music, video and 3D models, through the features you open to them. The prompts and models stay on the server; the player only describes what they want and pays the price you set in game resources, or nothing.
What the player sees
- The AI studio with every feature you opened, grouped by kind: text, picture, voice, music, video, 3D.
- A prompt and a price: the player describes what they want and pays in game resources, or nothing.
- The result of the server job: text, a picture, a player for sound and video, a download link for 3D.
- "My creations": the history of the player's generations.
"A fox knight in golden armor, cartoon style"
How it works
- A feature is set up by you: what it generates, the hidden prompt and the limits; the player never sees prompts or models.
- Generations are paid from the AI credits of your plan, then from the Aspis of your iDos Games account; the player price in game resources or in Aspis is yours to set. Aspis are charged only when the generation is ready: a failed generation costs the player nothing.
- A feature marked hidden is for the game's own code (NPC lines and the like) and is not shown in the studio; the voxel sandbox builds worlds this way.
Step 01Add the system to your project
Ask the AI coder: "Let players generate a hero portrait". It installs the AI studio or calls the feature from the game's own code.
Step 02Set it up in the dashboard
Open the dashboard, pick your project and go to Live Operations → v2 → InApp AI.
- Create a feature: kind (text, picture, voice, music, video, 3D), the hidden prompt and its quality mode.
- For a 3D feature, pick the operation: a model from text, from a picture or from four views, or work on a model the player already made (texture, rig, animation, a new file format). The player cannot change the operation; you set its quality, polygon limit and allowed animations.
- Set the player price in game resources and the limits per player.
- Set the spending caps of the title so a popular game does not spend more than you planned.
The AI button on the page opens an assistant: describe what you need, it proposes changes, and you review them and press Save.
Step 03Test and release
Check the system in the test version of your app. Settings go to the live app as a separate action - see publishing and links.
For developers
In-app AI works through client.ai in @idosgames/core.
// A picture by the player's prompt through the 'skin-gen' feature of the title
const res = await client.ai.generateImage('skin-gen', { Prompt: text })
if (!res.ok) return showError(res.error) // refused: nothing generated, nothing charged
// The server runs the job; wait for the result
const done = await client.ai.waitForGeneration(res.data)- A refusal of the request (limit reached, unavailable) charges nothing: show the reason and offer to try later.
- Do not wait in a loop yourself:
waitForGenerationfollows the server job. - A 3D step on a ready model takes
SourceGenerationId: the id of the player's own finished 3D generation in this game. Someone else's generation is refused.
Every field is described in the ai-generation-system skill, served by the SDK MCP server.
Frequently asked questions
Who pays for the generations?
Generations are paid from the AI credits of your plan, then from the Aspis of your account; you can set a price for players in game resources.
Do players see my prompts?
No. Prompts and models stay on the server; players only see the features you opened.
Step-by-step guides
- How much money can you make from an appHow much money can you make from an app on iDos Games: premium and paid features for Aspis, AI features users pay for, rewarded ads and a live earnings board.
- AI image generator: pictures from text in your browserHow to use an AI image generator in the browser: text to image, photo editing with a brush, templates, prompt tips, modes and what a picture costs.
- AI music generator: songs and soundtracks from textHow to use an AI music generator: a song or background music from a description, sound effects, a soundtrack for a reel, voice tools and what a track costs.
- AI video generator: video from text or a photoHow to use an AI video generator: text to video, photo to video with a first and last frame, viral templates, upscaling, how to describe a shot and the cost.
- How to add AI to your game: pictures, text and 3DHow to add AI to your game so players generate pictures, text, voice, music, video and 3D in it, without your own AI keys or server, at a price you set.
See also
- The AI generator: an app that turns photos into videosThe iDos Games AI generator template - players turn their photos and a few words into videos, pictures, voice, music and 3D with ready platform templates and trends, and pay per creation in Aspis or get a few free a day.
- Workshop: player-made levels, worlds and skinsHow the ready-made iDos Games Workshop works - players publish what they made in the game, share it for free, sell it for in-game resources with author royalties or unlock it by holding an item - and how to set it up in the dashboard.
- The voxel sandbox template: survival, building and worlds from a pictureA ready voxel game template on iDos Games - survival and creative modes, mining, crafting, mobs, three dimensions, worlds from a picture and a description with or without AI, and co-op for up to 8 players. What is inside and how to make it your own game.
- Create a game or app with AIHow to turn an idea into a working browser game or app on iDos Games - describe it, answer a few questions, then refine it with the AI coder in a live preview.
- AI studio: images, video, sound and 3D on the websiteCreate images, videos, voice, music and 3D models right on idosgames.com: photo and voice tools, ready templates where you add your own photo, and a history of everything you made.
Make your own game
Describe the idea in a sentence - the AI coder builds it, and it goes live at its own link.