Blog / GLB file viewer

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.

A GLB file viewer illustration: a graphite armchair floats inside a violet glass cube wrapped in two brushed-aluminum orbit rings, and beside it a phone shows the same armchair standing on a wooden floor in augmented reality. A brushed-metal plate carries the FlyMy.AI logo.

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.

Diagram: inside a GLB file. model.glb has a 12-byte header (glTF, version 2, length), a JSON chunk that describes the scene (nodes, meshes, materials, textures, skins, animations and where each byte is) and a BIN chunk with the bytes (vertex positions, normals, UVs, triangle indices, JPEG and PNG textures, animation keyframes). For example, our armchair from Tripo H3.1: 8.9 MB, one mesh, 81,282 vertices, 146,028 triangles, base color, metallic-roughness and normal maps. One download opens in the FlyMy.AI viewer, Blender, three.js, Babylon.js, game engines and AR on phones. A glTF file keeps the same JSON as text, with the binary data and the images in separate files.
Inside a GLB file. The armchair's numbers are read from the GLB of our first run.

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:

FormatWhat it holdsWhere it fitsOn FlyMy.AI
GLB .glbMeshes, PBR materials, textures and animations in one binary fileThe web, AR, game engines, BlenderOpens in the 3D viewer
glTF .gltfThe same, as JSON text with separate .bin and image filesPipelines that read or edit the JSONOpens in the 3D viewer
FBX .fbxMeshes, materials, skeletons and animationMaya, 3ds Max, Cinema 4D, Unity, Unreal EnginePreview and download
OBJ .objGeometry, with materials and textures in separate .mtl and image filesSimple meshes, older toolsPreview and download
USDZ .usdzA packed USD sceneApple's AR Quick Look on iPhone and iPadPreview and download
STL .stlTriangles only, no colors or textures3D printing and CADDownload

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 Tripo H3.1 (Image-to-3D) model page on FlyMy.AI: the Result card draws a textured mustard-yellow armchair with a walnut frame in the 3D viewer, with Reset and Full screen buttons, a 3D model GLB row with Download GLB, and the run's inference time and price; the Input card holds the armchair photo.
Our armchair on the Tripo H3.1 model page: the GLB is drawn in the Result card, turned here to a three-quarter view.

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.

Two phone screens. On the left, the Tripo H3.1 model page shows the armchair in the 3D viewer with a View in your space button. On the right, a project chat answer from Rodin Gen-2.5 shows a wooden treasure chest with iron bands in the viewer, also with View in your space and a Download GLB button.
On a phone that supports AR: the model page and a project chat, each with View in your space.

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:

An image to 3D model illustration: an instant photo of a mustard-yellow armchair lies on the table, a violet glass prism stands in the middle, and on the right the same armchair stands on a brushed-aluminum turntable, half of it a graphite wireframe mesh and half textured in walnut and yellow fabric. A brushed-metal plate carries the FlyMy.AI logo.
One photo in, a textured mesh out.

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:

Prompt
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.

Try it
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:

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.

Multi-view to 3D: four pictures of a red and cream tin toy robot with a glass dome head, labeled front, left, back and right, go into Tripo H3.1 Multiview to 3D, and the model page shows the resulting GLB in the 3D viewer, turned to show the robot's back with its wind-up key.
Four views in, one GLB out, turned to show the wind-up key on its back.

From a sentence: text to 3D

We gave Rodin Gen-2.5 Text to 3D one sentence:

Prompt
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.

Meshy 7.1's result on its model page: rows for fbx.fbx and rigged_fbx.fbx with Download FBX buttons, rows for rigged_model.glb and running.glb with View in 3D and Download GLB, and the walking.glb row opened in the 3D viewer, where the rigged explorer in a teal jacket walks.
Meshy 7.1 with rigging: FBX files are downloads, GLB files open in 3D. The walking clip is open here.

In a project chat, each GLB in an agent's answer opens in the thread and each FBX stays a download card:

A FlyMy.AI project chat: the user asks for the explorer from their concept art, rigged, with a walk; the agent's answer says Meshy 7.1 built and rigged it and shows the walking.glb clip in the 3D viewer, the explorer mid-stride, followed by a download card for rigged_fbx.fbx.
In a project chat, the walking clip plays in the thread; the FBX for Maya or Unity is a download card.
Try it
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.

ModelInputResultPricePick it for
Tripo H3.1One photo, 2 to 4 views, or a promptGLB with PBR materials; FBX with a quad meshFrom $0.20 a run ($0.10 from text)A product or prop from a picture
Tripo P2A photo or a promptLow-poly GLB, 48 to 50,000 facesFrom $1.00Game assets with a face budget
Meshy 7.11 to 4 photos, or a promptGLB and FBX; rig and clips on requestFrom $0.80Characters you will animate
Meshy T2.5A photo or a promptGLB and FBX, up to 30,000 trianglesFrom $0.20Light meshes for games and the web
Hunyuan 3D 3.1 ProA front view and up to 7 more, or a promptGLB, 40,000 to 1,500,000 facesFrom $0.375Detail from many views
Hunyuan 3D 3.1 RapidA photo or a promptOBJ with its material and texture files (a download)From $0.225Quick drafts
Rodin Gen-2.51 to 5 photos, or a promptGLB, or USDZ, FBX, OBJ, STL on request$0.40 ($0.10 for Fast)Dense detail, STL for printing
Hi3D v3.0A photo or several viewsGLB, or FBX, USDZ, STL on requestFrom $1.80High-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.

Keep reading