New · Models · 3D
GLB file: what it is, how to view it in 3D and AR, and how to make one with AI
A GLB file is a 3D model in one file: the shape, the materials, the textures and any animation travel together, so a browser, a game engine or a phone opens it as it is. As of 1 December 2026, every GLB or glTF result on FlyMy.AI opens in an interactive 3D viewer, on the model page and in project chats, with AR on phones that support it. This guide explains what is inside a GLB file, how it compares with other 3D formats, how to view one, and how to make one with AI, with the prompts, times and prices of our own runs.
What is a GLB file?
A GLB file (.glb) is the binary form of glTF 2.0, the Khronos Group's royalty-free format for 3D scenes and models. Khronos calls glTF "the JPEG of 3D", and since 2022 glTF 2.0 is an international standard, ISO/IEC 12113:2022. Most AI 3D models on FlyMy.AI return a GLB by default.
A GLB file has three parts. A 12-byte header says that the file is glTF, version 2, and how long it is. A JSON chunk describes the scene: nodes, meshes, materials, textures, skins and animations. A BIN chunk holds the bytes: vertex positions, normals, texture coordinates, triangle indices, JPEG or PNG textures and animation keyframes. With no folder of textures beside it, a GLB is easy to upload, link and open.
The base color, metallic-roughness and normal maps of our armchair are PBR materials, short for physically based rendering: they tell a renderer how the surface reflects light, so the same file looks right on a web page, in a game engine and in an AR view of your room.
GLB vs glTF, FBX, OBJ, USDZ and STL
A .gltf file is the same format as a GLB written as text: the same JSON, with the binary data in a .bin file and the textures as separate images. It is handy for reading the JSON; a GLB is handier to move around, and nothing is lost between them. The other formats around AI 3D models each do one job:
| Format | What it holds | Where it fits | On FlyMy.AI |
|---|---|---|---|
GLB .glb | Meshes, PBR materials, textures and animations in one binary file | The web, AR, game engines, Blender | Opens in the 3D viewer |
glTF .gltf | The same, as JSON text with separate .bin and image files | Pipelines that read or edit the JSON | Opens in the 3D viewer |
FBX .fbx | Meshes, materials, skeletons and animation | Maya, 3ds Max, Cinema 4D, Unity, Unreal Engine | Preview and download |
OBJ .obj | Geometry, with materials and textures in separate .mtl and image files | Simple meshes, older tools | Preview and download |
USDZ .usdz | A packed USD scene | Apple's AR Quick Look on iPhone and iPad | Preview and download |
STL .stl | Triangles only, no colors or textures | 3D printing and CAD | Download |
GLB vs FBX. For viewing, sharing and AR, take the GLB. For an animation pipeline that expects FBX, take the FBX: Blender's manual calls it widely used for exchanging animated characters with Maya, 3ds Max, Cinema 4D, Unity and Unreal Engine. Meshy's models return both, and Tripo H3.1 returns FBX for a quad mesh. To convert a GLB yourself, open it in Blender with File > Import > glTF 2.0 (.glb, .gltf) and save it with File > Export > FBX (.fbx).
How to open and view a GLB file
- In the FlyMy.AI app: a GLB or glTF result opens in the 3D viewer by itself, on its model page and in project chats.
- In a web browser: drag the file onto any glTF viewer; three.js and Babylon.js draw GLB files on your own site.
- In Blender: File > Import > glTF 2.0 (.glb, .gltf), an add-on enabled by default; from there, export FBX, OBJ, USD or STL.
- In a game engine: Blender's manual names Unity, Unreal Engine and Godot among the engines that support glTF.
- On your phone, in AR: see View a 3D model in AR.
New: the 3D viewer on FlyMy.AI
Until today a 3D result on FlyMy.AI was a preview picture and a download button. Now a GLB or glTF result is drawn in place:
- The model page: your run's result, the model's example and runs from the history.
- Project chats: a GLB that an agent's answer links or embeds opens in the thread, on a run's page and in public and shared projects.
The controls are the same in both places:
- Turn it: drag with the mouse or a finger. It turns slowly until you touch it, and stays still when your system asks for reduced motion.
- Zoom: pinch, or hold Ctrl (Cmd on a Mac) and scroll; the plain wheel keeps scrolling the page, except in full screen.
- Move it: drag with the right mouse button or two fingers.
- Reset the view and Full screen: two buttons in the corner.
- View in your space: on a phone that supports AR, opens the model in augmented reality.
The viewer loads only when a 3D result is on the screen, and in a chat a model loads only when it scrolls near the screen. While the file loads, the card shows the model's preview render with the progress. If your browser cannot draw 3D or the file does not load, for example because its link expired, the card keeps the preview and the download and says why. FBX, OBJ and USDZ keep the preview and the download; in a result with several 3D files, every GLB after the first gets a View in 3D button.
How to make a GLB file from a photo with AI
Image to 3D models turn one photo into a textured 3D model. The steps, with our run:
1. Start with one clear photo
One object, a plain background, the whole object in frame. We made ours with Nano Banana 2.1 on FlyMy.AI, 2048x2048 for $0.06:
Studio product photo of a mid-century modern lounge armchair: solid walnut frame with tapered legs and curved armrests, mustard-yellow wool upholstery with one seat cushion and a gently reclined back. Three-quarter front view, the whole chair in frame and centered, soft even studio lighting, pure white seamless background, no cast shadow, no text, no logo.
2. Open the model page and add the photo
Open Tripo H3.1 Image to 3D in the app and upload the photo in image, or paste a public link to it.
3. Pick the settings
The defaults give PBR textures and standard geometry for $0.30. face_limit sets the mesh size, 1,000 to 2,000,000 faces; we asked for 150,000, light enough for a web page and a phone. auto_size scales the model to real-world meters, useful for AR.
4. Run it
Our run took 131 seconds and cost $0.30. The answer has two files: model, the GLB, and preview, Tripo's own render.
5. Turn it, then download it
Turn it in the Result card to check the back, then press Download GLB: links in a result are temporary.
The armchair came back as an 8.9 MB GLB with 146,028 triangles and PBR maps. The frame, the curved armrests and the cushion follow the photo; the walnut and the fabric came out a little lighter, and a small dark spot sits on the backrest. Tripo also built the back, which the photo never showed.
Turn this photo into a textured 3D model with Tripo H3.1, about 150,000 faces, and send me the GLB: https://example.com/armchair.jpg
From several photos: multi-view to 3D
One photo leaves the back of an object to the model's imagination. When the back matters, send more views:
- Tripo H3.1 Multiview to 3D takes two to four pictures in the order front, left, back, right; the front is required.
- Meshy 7.1 Multi-Image to 3D takes one to four pictures of the same object.
- Hunyuan 3D 3.1 Pro takes a front view and up to seven more (back, left, right, top, bottom and two at 45 degrees); any extra view adds $0.15 once.
Nano Banana 2.1 drew a retro tin toy robot from the front, then the same robot from the left, the back and the right with the front as its reference ($0.05 to $0.06 a view). Tripo H3.1 Multiview to 3D turned the four into a 7.5 MB GLB of 145,466 triangles in 129 seconds, for $0.30, with the wind-up key from the back view on the model's back.
From a sentence: text to 3D
We gave Rodin Gen-2.5 Text to 3D one sentence:
A stylized wooden treasure chest for a fantasy game: dark oak planks, iron bands with rivets, brass corner caps and a round brass lock plate, lid closed, slightly worn edges.
With the defaults (the Gen-2.5-High tier, both material variants, GLB) it answered in 169 seconds for $0.40: a 24.5 MB GLB of 500,000 triangles with PBR maps, and a second 19.9 MB GLB with the lighting baked into its texture. For a game, ask for a lighter mesh: quality_mesh_option goes from 2K to 2M triangles, or 4K to 200K quads. geometry_file_format returns USDZ, FBX, OBJ or STL instead of GLB.
Other text to 3D models: Tripo H3.1 from $0.10, Hunyuan 3D 3.1 Pro from $0.375, Meshy 7.1 from $0.80 and Rodin Gen-2.5 Fast for $0.10.
A character that walks: rigging and animation
Meshy 7.1 Image to 3D can rig what it builds. enable_rigging adds a humanoid skeleton and returns walking and running clips (+$0.20); enable_animation adds one more preset from Meshy's animation library (+$0.12); skeleton_template picks a skeleton for your engine or tool, such as mixamo, ue5_mannequin or unity_humanoid.
We gave it Nano Banana 2.1 concept art of a young explorer in an A-pose, with pose_mode a-pose and enable_rigging on. In 191 seconds and for $1.40 it returned seven files: the model as GLB (4.2 MB, 30,828 triangles) and FBX, the rigged character as GLB and FBX with a 24-joint skeleton, walking and running clips as GLB, and a preview. Every GLB opens in the viewer, the FBX files stay downloads, and an animated GLB plays as it turns.
In a project chat, each GLB in an agent's answer opens in the thread and each FBX stays a download card:
Turn my character art into a rigged 3D character with Meshy 7.1 for Unreal Engine 5, with walking and running clips, and send me the GLB and FBX: https://example.com/hero.png
Which AI 3D model to pick
Prices are from FlyMy.AI billing on 1 December 2026; "from" is the cheapest setting, and each model's page lists every rate.
| Model | Input | Result | Price | Pick it for |
|---|---|---|---|---|
| Tripo H3.1 | One photo, 2 to 4 views, or a prompt | GLB with PBR materials; FBX with a quad mesh | From $0.20 a run ($0.10 from text) | A product or prop from a picture |
| Tripo P2 | A photo or a prompt | Low-poly GLB, 48 to 50,000 faces | From $1.00 | Game assets with a face budget |
| Meshy 7.1 | 1 to 4 photos, or a prompt | GLB and FBX; rig and clips on request | From $0.80 | Characters you will animate |
| Meshy T2.5 | A photo or a prompt | GLB and FBX, up to 30,000 triangles | From $0.20 | Light meshes for games and the web |
| Hunyuan 3D 3.1 Pro | A front view and up to 7 more, or a prompt | GLB, 40,000 to 1,500,000 faces | From $0.375 | Detail from many views |
| Hunyuan 3D 3.1 Rapid | A photo or a prompt | OBJ with its material and texture files (a download) | From $0.225 | Quick drafts |
| Rodin Gen-2.5 | 1 to 5 photos, or a prompt | GLB, or USDZ, FBX, OBJ, STL on request | $0.40 ($0.10 for Fast) | Dense detail, STL for printing |
| Hi3D v3.0 | A photo or several views | GLB, or FBX, USDZ, STL on request | From $1.80 | High-resolution geometry |
Six more finish a model you have: Meshy Rigging (from $0.20), Hyper3D Rigging ($0.20) and Meshy Rigging (Multiple Animations) ($0.32) rig it, Meshy 7 Retexture (from $0.30) paints new materials, and Tripo Segment and Tripo Remesh ($0.40 each) split it into parts or rebuild its mesh. See the image to 3D, text to 3D and 3D rigging and editing pages.
View a 3D model in AR on your phone
Open a GLB result on your phone. On a phone that supports AR, the viewer shows View in your space:
- On Android it opens the model in AR in the browser (WebXR) or in Google's Scene Viewer. Google's documentation asks for an ARCore-supported phone with Android 7.0 or later and up-to-date Google Play Services for AR and the Google app.
- On iPhone and iPad the viewer turns the GLB into a USDZ file in the browser and opens Apple's AR Quick Look, so you need no separate USDZ file.
Point the camera at the floor or a table and walk around the model. It appears at the size its file gives it: for a product at its real size, turn on Tripo's auto_size; for a character, Meshy's rigging_height_meters sets its height. Phones without AR keep the viewer without the button.
What people make with it
- Game assets. A prop from a sentence or a character from concept art, checked in the viewer before it goes into the engine; Tripo P2 and Meshy T2.5 make light meshes, Meshy rigs characters.
- E-commerce product views. A product photo becomes a GLB a shopper can turn and place in a room. Check the colors in the viewer first: our armchair came out lighter than its photo.
- 3D printing. Ask Rodin Gen-2.5 or Hi3D v3.0 for STL, or export STL from Blender. STL has no colors, so check the shape in the viewer and set the size in your slicer.
- Prototyping and reviews. Share a project chat: people turn the model in their browser, with nothing to install.
From your assistant or your code
The same models run from Claude Code, Claude, ChatGPT, Cursor or Codex through the FlyMy.AI MCP at https://mcp-agents.flymy.ai/mcp (get_model_schema, then run_model), and in a FlyMy.AI project the agent's answer brings the GLB into the chat. From your code, use the async route:
curl -X POST https://api.flymy.ai/api/v1/flymyai/tripo-h3_1-image-to-3d/predict/async/ \
-H "X-API-KEY: $FLYMYAI_API_KEY" \
-F "image=@armchair.jpg" \
-F "face_limit=150000"
The answer is a prediction_id; GET .../predict/async/result/?request_id=<prediction_id> returns each file with its link, type (model/gltf-binary for a GLB) and name. Our AI 3D model generator API guide covers the calls in full.
FAQ
What is a 3D GLB file?
A GLB file is a 3D model saved as binary glTF 2.0, the Khronos Group's open standard (ISO/IEC 12113:2022). One file holds the meshes, materials, textures and animations, so browsers, game engines, Blender and AR viewers open it as it is.
How do I open a GLB file?
Drag it onto any glTF viewer in your browser, or open it in Blender with File > Import > glTF 2.0 (.glb, .gltf). On FlyMy.AI every GLB or glTF result opens in the 3D viewer on its model page and in project chats.
How can I convert a GLB file to an STL file?
Open the GLB in Blender with File > Import > glTF 2.0 and save it with File > Export > STL. STL keeps only the triangles, so colors and textures are dropped. On FlyMy.AI, Rodin Gen-2.5 (geometry_file_format stl) and Hi3D v3.0 (export_format stl) return STL directly.
How do I convert a GLB file to FBX?
Import the GLB into Blender (File > Import > glTF 2.0) and export FBX (File > Export > FBX). Often you need not: Meshy's models return an FBX copy with every GLB, Tripo H3.1 returns FBX when quad is on, and Rodin Gen-2.5 does with geometry_file_format fbx.
What is the difference between glTF and GLB?
The same format stored two ways: a .gltf file is JSON text with a .bin file and separate images, a .glb packs it all into one binary file. Converting either way loses nothing; Blender's glTF exporter offers both, glTF Binary (.glb) and glTF Separate (.gltf, .bin and textures).
Can you compress a GLB file?
Yes. The biggest saving is a lighter mesh, so ask the model for fewer faces: face_limit in Tripo, target_polycount in Meshy, face_count in Hunyuan 3D, quality_mesh_option in Rodin. Blender's glTF exporter can also compress meshes with Google Draco.
Can I view a GLB file in AR on my phone?
Yes. Open a GLB result on FlyMy.AI on a phone that supports AR and tap View in your space: Android opens it in WebXR or Google's Scene Viewer, an iPhone or iPad in Apple's AR Quick Look.
Make a 3D model from one photo, then turn it in your browser.
GLB results open in the 3D viewer on every model page and in project chats, with AR on phones that support it.