In short
Open Assistant in Roblox Studio and type /generate_mesh followed by a description, for example /generate_mesh a red buggy with knobby tires, or simply ask it to make the object. Assistant returns a textured 3D mesh. A second command, /generate_procedural_model, builds a model from primitive parts that you can adjust afterwards through attributes.
/generate_meshaccepts a text prompt or a reference image, but not both in one request. Select a Part first to use it as a bounding box, and set a maximum triangle count if you want a lighter mesh. The default is 10,000.- The one generation count Roblox documents is 50 procedural models in a rolling 24-hour window. No count is published for meshes.
- The same generation is available to AI clients connected through the Studio MCP server, and to scripts through
GenerationService, which runs on Roblox's Cube 3D model.
On this page
What Roblox offers for AI 3D generation
There are two kinds of output and three ways to reach them. All of them are Roblox's own tools. The engine reference says GenerationService generates 3D objects from text prompts using Roblox's Cube 3D foundation model, and Roblox's March 2026 announcement says mesh generation in Assistant uses that service's GenerateModelAsync method.
| Mesh generation | Procedural models | |
|---|---|---|
| Assistant command | /generate_mesh | /generate_procedural_model |
| What you get | A textured 3D mesh. Roblox's AI overview calls the result a textured MeshPart. | A ProceduralModel built from primitive parts (blocks, spheres, cylinders, wedges) with attributes you can change. |
| Input | A text prompt or a reference image, not both | A text prompt, with an optional reference image |
| After generating | A finished mesh. To change the shape, generate again. | Change an attribute or resize the model and its generator runs again. |
| Documented count | None published | 50 in a rolling 24-hour window |
| MCP tool | generate_mesh | generate_procedural_model |
The three ways in are Assistant in Studio, an AI client connected through the Studio MCP server, and Luau code calling GenerationService, which also works inside a running game. Most people only need the first.
How to generate a mesh with Assistant
- Open a place and click Assistant on the right side of the mezzanine bar, the strip across the top of Studio.
- Optional: to control size and position, insert a Part, size and place it where the object should go, and keep it selected. Assistant uses the Part's size and location as a bounding box and fits the mesh inside it.
- Type
/generate_meshand a description, for example/generate_mesh a red buggy with knobby tires. You can also ask in plain words, such as "Make a futuristic crate". To work from a picture, give a reference image instead of text. Roblox's September 2026 announcement says you switch the Input Mode from Prompt to Image for this. - With a text prompt, Assistant first shows a segmentation plan: a list of parts the model will be divided into. Edit the prompt, add or remove part names, or tick Suggest segmentation to have the list rebuilt. A model can have up to eight parts.
- Click Confirm. Assistant generates four preview images. If none fits, click Back, adjust, and generate a new set.
- Select the preview you like and click Confirm to create the final model. When it is ready, click Add to place.
If you upload a Hint Image in the segmentation step, Assistant skips the previews and generates the final model directly.
Triangle count
You can set a maximum triangle count for the result. It is optional and defaults to 10,000. Lower values give a more faceted, low-poly look. Roblox's March 2026 announcement recommends a count in the hundreds up to 1,000 for small, simple objects or a low-poly style, and the default or lower for larger, detailed ones depending on how heavy your scene already is.
Several at once
The same announcement says Assistant can generate several meshes at the same time, place one generated asset in several locations, and keep generating while you carry on with other work. Its example asks for an oak, a birch and a pine, then a forest made from them.
If the command is missing
Update Studio first. Roblox's AI overview says new AI features can arrive as betas under File > Beta Features, while generally available features are on by default. In July 2025 mesh generation needed a beta switch there called "Assistant Mesh Generation". The current Assistant documentation does not mention a switch for it, so check that menu only if the command does not appear. If the Assistant button itself is missing, see how to open the Assistant panel.
Segmentation: splitting a model into parts
Segmentation divides a generated asset into named parts, so you can give each one its own material, attach scripts, or swap a part without generating the whole model again. Roblox's example is a skateboard with five parts: body and four named wheels.
Part names matter. Roblox publishes a table of recommended part names for common objects, and says they currently give the most reliable results. A few rows from it:
| Object | Recommended part names |
|---|---|
| car | body, left front wheel, right front wheel, left rear wheel, right rear wheel |
| helicopter | body, main rotor blade |
| treasure chest | body, lid |
| sword | handle, hand guard, blade, pommel |
| gun | grip, frame, barrel |
Segmenting a mesh you imported
- Select the
MeshPartin the workspace. Select the mesh itself, not a parent Model. - Open Assistant and enter
/segment_mesh. - Enter up to five part names.
- Click Confirm. Assistant replaces the original mesh in the workspace with the segmented version.
For more than five parts, run /segment_mesh again on the result. Roblox labels mesh segmentation an early preview and says results depend on the topology of the mesh you give it.
Procedural models: the other generator
A procedural model is not a mesh. Roblox's docs describe it as a parameter-driven Model whose contents are built by a generator module, a ModuleScript with an OnGenerate function. When you change one of the model's attributes, or resize it, the generator runs again and rebuilds the model. Roblox's example is a spiral staircase that regenerates with a different number of steps when you change one value.
To generate one, type a command such as /generate_procedural_model a stack of books, or attach a reference image to the prompt. Assistant adds the result to your workspace. The same segmentation plan and preview steps apply.
- Procedural models work with undo and redo, Team Create, network replication, scaling and the dragger tools.
- Generated content is kept in a dedicated
GeneratedFolderinside the model, separate from the source. - Roblox says they behave like standard objects until their parameters change, so they add almost no overhead.
- A procedural model inserted from the Creator Store has
Sandboxed = trueswitched on for its generator module automatically, because generators can make permanent changes to your game at edit time.
Our suggestion: choose a mesh when you need one specific, detailed shape, and a procedural model when you want something you can resize and adjust later, as in Roblox's staircase example.
Documented limits
This is every number Roblox documents for AI 3D generation in Studio, as of 13 November 2026.
| What | What the docs say | Where |
|---|---|---|
| Procedural models per day | Up to 50 within a rolling 24-hour window. It does not reset at a fixed time: it updates continuously from the requests made in the past 24 hours. | Assistant guide |
| Meshes per day | No count is published. | Not documented |
| Triangles per mesh | An optional maximum that you set. The default is 10,000. | Assistant guide |
| Parts per generated model | Up to eight. | Assistant guide |
Part names per /segment_mesh run | Up to five. Run it again for more. | Assistant guide |
| Preview images | Four per confirm. | Assistant guide |
Prompt type for /generate_mesh | Text or an image, not both in the same request. | Assistant guide |
GenerateMeshAsync in a game | A per-minute rate limit. The reference lists a "Rate limit exceeded" error but not the number. | GenerationService reference |
For the in-game API, the only figure Roblox has published is in its July 2025 announcement: a baseline of 30 generations per minute for an experience, described as a soft limit, at no cost, with a plan to scale it with player count. That is an announcement from 2025, not the current reference, so treat it as a starting point and handle the error in your code.
What the docs do not say. Roblox's documentation does not say how many meshes you can generate in a day, whether /generate_mesh shares the 50-model window, whether generating through an MCP client or with your own API key changes any limit, or what message Studio shows when you reach one. For the rest of Assistant's limits, see Roblox Studio Assistant limits.
Moderation
Roblox's AI overview says every generation runs through the same moderation and Community Standards as the rest of the platform. For GenerationService, the generative AI guidelines say all content inputs and outputs go through moderation, including text filtering, image review and asset review, and that content found to break the rules is not served. GenerateMeshAsync returns a "Moderation failed" error when a generation is flagged, and the fix the reference gives is to change the prompt. Roblox's March 2025 launch announcement adds that when you generate with Assistant, you remain responsible for what you create and how you use it.
What it cannot do
These gaps are stated in Roblox's documentation or follow directly from it.
- It does not make a mesh behave. A generated car is geometry. Roblox's model generation guide says behaviours are the scripts, attachments and constraints you attach afterwards, and offers a downloadable
Behaviorsmodule with retargetable scripts for that. Segmentation exists so that parts such as wheels can be scripted separately. - It does not combine text and an image in one
/generate_meshrequest. - It does not guarantee size. The API reference says a suggested size is only a guide, with no guarantee on the final output size, and recommends scaling the model afterwards if you need exact dimensions. In Assistant, a selected Part as a bounding box is the documented way to steer size.
- It does not split a model into more than eight parts in one generation, or more than five per
/segment_meshrun. - Segmentation of imported meshes is an early preview. Results depend on the mesh's topology, and the recommended part names are the reliable cases.
- It is not unlimited. Procedural models are capped at 50 per rolling 24 hours, and the in-game mesh API has a per-minute rate limit.
- It does not animate. Animation is a different tool: the Studio MCP server lists a separate
generate_animationtool for R15 animations of up to 10 seconds, and Roblox's Avatar Auto-Setup rigs avatar models. Neither is part of mesh generation.
What the docs do not say. The documentation does not describe the topology of generated meshes, whether you can export them from Studio, or a way to edit one generation with a follow-up prompt. Do not plan around any of those without testing it yourself.
Other routes: MCP clients and GenerationService
From your own AI client
The MCP server built into Studio exposes generation as tools. Roblox's list includes generate_mesh (a textured 3D mesh from a text prompt), generate_procedural_model (supports reference images and custom part schemas), wait_job_finished (waits for a procedural model job and returns its status) and store_image (loads a local image so it can be passed as a reference). A connected client such as Claude Code or Cursor can call them in your open place. Setup is in the Studio MCP server guide.
From a script
GenerationService lets a game generate 3D objects while it runs, so players can create things. This is a scripting feature, and it has two generations of methods:
| Method | What it does | Good to know |
|---|---|---|
GenerateModelAsync | Generates a multi-mesh Model from a TextPrompt, an Image, or both, following a schema. | Optional Size, MaxTriangles and GenerateTextures inputs. Built-in schemas are Car5 (a body and four wheels) and Body1 (a single mesh), or you name your own parts. The guide says objects generated in-game are replicated and visible to all players. |
GenerateMeshAsync | Starts a mesh generation from a text Prompt and returns an ID. | Must be called from a server script. Optional SuggestedSize. |
LoadGeneratedMeshAsync | Loads the mesh for that ID. | Must be called from a client script. The mesh is not replicated to other clients and can be loaded once per ID. |
SegmentMeshAsync | Splits an existing MeshPart into named parts. | Can only be called from Studio, in edit mode or from a plugin. |
Roblox recommends wrapping these calls in pcall, because they throw on prompt rejection, timeouts, schema mismatches and service errors. If your game lets players prompt a generative model, Roblox's guidelines require you to disclose that in the Content Ratings Questionnaire. If scripts are new to you, start with where scripts run, since these methods are strict about server and client.
Common problems and what to do
Roblox documents the API errors below. The Assistant items are general advice that is safe to try.
Procedural model generation stopped working
You may have made 50 in the past 24 hours. The window rolls, so capacity comes back one request at a time as each passes the 24-hour mark, not all at once at midnight.
The mesh is the wrong size
Select a Part sized and placed where the object should go before you prompt, so Assistant uses it as a bounding box. Otherwise scale the result afterwards.
The mesh is too heavy
Generate it again with a lower maximum triangle count. The default is 10,000, and Roblox suggests hundreds up to 1,000 for small, simple objects.
The parts were split badly
Use Roblox's recommended part names for that kind of object, or click Back and edit the part list before generating again.
"Moderation failed" from GenerateMeshAsync
The generation was flagged. The reference says to review and change the prompt so it follows Roblox's moderation guidelines.
"Rate limit exceeded" from GenerateMeshAsync
The maximum number of mesh generations for the minute was reached. Wait for the limit to reset, and show players a message instead of retrying in a loop.
"Service overloaded" or "Internal server error"
The reference says to retry later. Check status.roblox.com if it continues.
Where a plugin agent such as RoCode fits
RoCode is an AI agent for Roblox Studio made by the RoCode team, an independent product not affiliated with, endorsed by or sponsored by Roblox Corporation. It does not generate meshes, textures or animations, so it is not a replacement for anything on this page. What it does is the work around a generated model: you describe a change in a web chat at rocode.app, and a free plugin from the Creator Store carries it out in the place you have open. For props it builds from parts, or places an existing Creator Store model. The free Starter plan includes 1 credit a day, refilled at 00:00 UTC.
I generated a treasure chest with Assistant. It is the model named Chest in Workspace, with a body part and a lid part. Add a ProximityPrompt and a server script so the lid swings open when a player uses it.
- Can look through the model first with List Children, to find the body and lid parts by name
- Writes the script with Create Script, or changes an existing one with Edit Script
- Compile-checks the script inside Studio with Check Script before it finishes. The check does not type-check, lint or run your code
- For scenery around it, builds props from parts with Build Structure, or places a free Creator Store model with Insert Model, with any scripts inside removed
Code written by any AI needs testing: press Play and open the chest yourself. The prompt is an example written by us; the steps use the real tool names. How RoCode compares with Assistant.
Questions
Does Roblox have an AI mesh generator?
Yes. In Roblox Studio, Assistant generates a textured 3D mesh from a text prompt or a reference image with the /generate_mesh command. Roblox's docs describe no separate mesh generator window: it is part of Assistant, and it is also available to MCP clients and to scripts through GenerationService.
How do I generate a 3D model with AI in Roblox Studio?
Open Assistant and type /generate_mesh followed by a description, or ask in plain words. Review the part list, click Confirm, pick one of the four previews, confirm again, then click Add to place.
Is the Roblox AI mesh generator free?
Roblox Studio is free and the Assistant documentation lists no price for generation. Procedural models are capped at 50 per rolling 24 hours. No count is published for meshes.
How many meshes can I generate per day?
Roblox's documentation does not say. The only published count is for procedural models: 50 in a rolling 24-hour window.
What is Cube 3D?
Cube 3D is Roblox's foundation model for 3D generation. The engine reference says GenerationService uses it to generate 3D objects from text prompts. Roblox announced it in March 2025 and published the model on GitHub and Hugging Face.
Can players generate 3D models inside my game?
Yes, through GenerationService. GenerateModelAsync generates a model from a prompt and a schema, and Roblox's guide shows cars and planes made functional with retargetable scripts. Inputs and outputs are moderated, and you must disclose generative AI in the Content Ratings Questionnaire.
What is the difference between a mesh and a procedural model?
A generated mesh is a finished textured shape. A procedural model is built from primitive parts by a generator script, and rebuilds itself when you change its attributes or size. Use a mesh for a specific detailed shape and a procedural model for things you want to adjust later.
Sources and further reading
- Roblox Creator Docs: Assistant for Studio. the generate commands, bounding box, triangle count, the 50 procedural models limit, segmentation, recommended part names
- Roblox Creator Docs: AI on Roblox. mesh generation returns a textured MeshPart, Beta Features, moderation of generations
- Roblox Creator Docs: Procedural models. generator modules, OnGenerate, GeneratedFolder, sandboxed Creator Store models
- Roblox Creator Docs: Model generation. GenerateModelAsync, schemas, retargetable scripts and the Behaviors module
- Roblox Creator Docs: GenerationService. Cube 3D, the four methods, their inputs, error codes and where each can be called
- Roblox Creator Docs: Connect to the Roblox Studio MCP server. the generation tools available to MCP clients
- Roblox Creator Docs: Games with Generative AI. moderation of GenerationService inputs and outputs, content rating disclosure
- Roblox Developer Forum: Assistant Updates: Mesh Generation, New MCP Server Tools, Screenshot Tool, and More. 19 March 2026: batch generation, bounding boxes, triangle count advice
- Roblox Developer Forum: Introducing New Texture Generation Tools, Segment Any Mesh, and Image Previews. 23 September 2026: image input mode and the four previews
- Roblox Developer Forum: [Early Preview] Generate 3D Models Segmented Into Multiple Parts. 11 June 2026, updated 21 August 2026: segmentation as an early preview
- Roblox Developer Forum: [Beta] Cube 3D Model Updates: Better Quality and Bounding Box Control. 21 July 2025: the 30 per minute baseline for the in-game API, the earlier beta switch
- Roblox Developer Forum: [Beta] Cube 3D Generation Tools and APIs for Creators. 20 March 2025: the Cube 3D launch, moderation and responsibility