3D game asset API
One request turns a description or a piece of concept art into a textured 3D model your engine can load: characters, creatures, weapons, vehicles, props and environment pieces, as GLB, with baked shading, and for characters a professional skeleton with up to 30 hand-made animation clips. Kubikly builds the file itself, with no outside 3D service. Use it from an editor plugin, a content pipeline or an AI assistant.
Create an asset
curl -X POST https://kubikly.com/api/v1/game-assets \
-H "Authorization: Bearer $KUBIKLY_API_KEY" -H "Content-Type: application/json" \
-d '{ "prompt": "a sci-fi plasma rifle with glowing blue coils and a carbon stock",
"category": "weapon", "style": "stylized", "confirm": true }'
# 202 { "id": "…", "status": "queued", "charged": 6, "url": "https://kubikly.com/app/game-assets?asset=…" }curl -X POST https://kubikly.com/api/v1/game-assets \
-H "Authorization: Bearer $KUBIKLY_API_KEY" \
-F category=character -F rig=true -F animation=walk -F confirm=true \
-F prompt="a dwarf blacksmith" -F file=@blacksmith-concept.pngWithout confirm the call spends nothing and answers 409 with the price and your balance. Fields: category (character, creature, weapon, vehicle, prop, environment), style (realistic, stylized, low_poly, cartoon, anime, pixel_voxel), rig and animation (idle, walk, run, jump; characters and creatures only).
Approve the concept first
The mesh follows its concept picture, so the dependable way to a good asset is two calls: draw the concept for one credit, look at it, then build from it. Redo the concept with a better prompt as often as you like.
# 1. the concept (about half a minute)
curl -X POST https://kubikly.com/api/v1/game-assets -H "Authorization: Bearer $KUBIKLY_API_KEY" -H "Content-Type: application/json" \
-d '{ "prompt": "a dwarf blacksmith, braided red beard, leather apron", "category": "character",
"style": "stylized", "concept_only": true, "confirm": true }'
# poll GET /game-assets/$CONCEPT_ID until "status": "concept_ready", then look at "previewUrl"
# 2. the model, from that concept
curl -X POST https://kubikly.com/api/v1/game-assets -H "Authorization: Bearer $KUBIKLY_API_KEY" -H "Content-Type: application/json" \
-d '{ "from_concept": "'$CONCEPT_ID'", "rig": true, "animation": "walk", "size_m": 1.4, "confirm": true }'Get the file
An asset takes a minute or two. Poll it, or register a webhook and receive game_asset.ready with the download URL.
curl https://kubikly.com/api/v1/game-assets/$ASSET_ID -H "Authorization: Bearer $KUBIKLY_API_KEY"
{ "status": "ready", "format": "glb", "rigged": true, "animated": true, "notDelivered": [],
"stats": { "triangles": 9060, "vertices": 6786, "meshes": 1, "materials": 1, "textures": 2, "maxTextureSize": 128, "pbr": true,
"rigged": true, "joints": 23, "animations": [{ "name": "walk", "seconds": 1.067 }, { "name": "idle", "seconds": 1.067 }, { "name": "run", "seconds": 0.8 }, "… 21 more"],
"size": { "width": 0.82, "height": 1.4, "depth": 0.51 }, "pivot": "base" },
"modelUrl": "https://kubikly.com/api/game-assets/…/file?exp=…&sig=…", (signed, valid 1 hour)
"previewUrl": "https://kubikly.com/api/game-assets/…/file?…&v=game-concept" }rigged and animated are read from the finished file. A model that fails is refunded in full. GET /me reports gameAssets.available.
From an AI assistant
The Kubikly MCP server at https://kubikly.com/api/mcp has the same tool as create_game_asset, get_game_asset and list_game_assets. Ask Claude Code or Cursor, inside your game project: “make a low-poly health potion and a wooden crate, and put the GLB files in assets/models”.
Good to know
- Every asset is one mesh with one PBR material and a small palette texture, all in the GLB: a single draw call. Need FBX? Open the GLB in Blender and export it.
- Kubikly builds the file itself from clean geometric parts, so the look is low-poly and stylised, not sculpted.
- A GLB is delivered Y-up, in metres at
size_m(a character's height, anything else's longest side; defaults 1.8, 1.5, 1, 4, 1 and 6 m by category), with its pivot at the centre of its base. Only a parent node is added: the mesh, skin and clips are untouched. statsis measured from the finished file, andriggedandanimatedare true only when the skeleton and the clip are really in it. The figures in the example above are illustrative.- A reference picture is identified by its content, reduced to one megapixel and kept private to your account.
- Triangle counts are those of a game asset: typically a few thousand for a weapon or prop and five to twelve thousand for a detailed character (
detail: "high"cuts curves finer). The exact count is instats. - A character in the
stylized,low_polyorcartoonstyle is assembled from professionally modelled pieces (head with a face, body, arms with hands, legs, headwear, capes, weapons and shields), recoloured to the description and given its own build (leg length, bulk, head size: a squat dwarf, a long-legged elf, a massive orc), with the details that make it yours built on top. It has a 41-joint skeleton and 30 clips (the 24 below plus idle_two_handed, spin_attack, aim, use_item, lie_down and death_backward). The other styles are built from parts on a 23-joint skeleton. - A rigged character carries 24 clips or more, the one named in
animationfirst: idle, walk, run, jump, attack, attack_slash, attack_stab, attack_heavy, punch, kick, block, hit, death, dodge, shoot, cast, throw, interact, pick_up, cheer, walk_back, strafe_left, strafe_right and sit. The skeleton hashandslot.landhandslot.rjoints for attaching weapons. The skeleton, the clips and the kit pieces are from the KayKit Adventurers pack by Kay Lousberg (CC0).
Frequently asked
- What do I get?
- A textured 3D model as a GLB file, that opens in Unity, Unreal Engine, Godot, Blender and on the web: one mesh and one PBR material with a small palette texture, so it costs a single draw call. It arrives game-ready: Y-up, sized in metres, standing on the ground with its pivot at the centre of its base, and with a report of its triangles, vertices, textures, skeleton and animations.
- How do I make sure the model looks the way I want?
- Preview the concept first. For one credit Kubikly draws the concept picture the model will be built from; redo it with a better description until it is right, then build the model from it. The mesh follows that picture, so approving the picture is how you control the result.
- Is the model the right size for my game?
- Yes. Give a size in metres (a character's height, anything else's longest side) or take the defaults: a character 1.8 m, a creature 1.5 m, a weapon 1 m, a vehicle 4 m, a prop 1 m, an environment piece 6 m. The viewer shows the model on a grid of one-metre squares.
- How do I import it into Unity, Unreal or Godot?
- Unity: add the glTFast package, then drag the GLB into the Assets folder. Unreal Engine 5: Import and choose the GLB (the glTF importer is built in). Godot 4: drop the GLB into the project; it imports as a scene. Blender: File, Import, glTF 2.0. Need FBX? Open the GLB in Blender and export it.
- Can I make characters that animate?
- Yes. A stylised, low-poly or cartoon character is assembled from professionally modelled pieces on a 41-joint skeleton with 30 hand-made clips; other styles are bound to a 23-joint humanoid skeleton fitted to their own proportions, with 24. Both have hand slots for weapons, and the clips include idle, walk, run, jump, four melee attacks, punch, kick, block, hit, death, dodge, shoot, cast, throw, interact, pick up, cheer, sit and more. Creatures get a simpler skeleton with idle, walk, run and jump. Everything is in the GLB and plays in any engine without retargeting.
- Can I start from my own concept art?
- Yes. Give a picture (PNG, JPEG or WebP) and the model is built from it instead of from a generated concept. One subject, shown whole on a plain background, gives the best result.
- How much does a game asset cost?
- A model costs a fixed number of credits, shown before you confirm; a rig and an animation each add to it. Credits come back in full if a model fails. Volume credit packs lower the price per model.
- Can my own tools or AI assistant create assets?
- Yes. The same tool is in the Kubikly REST API (POST /game-assets) and the MCP server (create_game_asset), so an editor plugin, a build script or an assistant such as Claude or Cursor can request assets and receive a webhook when each one is ready.
- Who owns the models?
- You do. Assets you create are yours to use in your games, including commercial ones. They stay private to your account.
- What do the models look like, and what are the limits?
- Kubikly builds each asset from clean geometric parts. That gives the crisp look of low-poly and stylised games, a low triangle count and a single material. Shading and contact shadows are baked in. It does not sculpt organic detail such as wrinkles, fur or a lifelike face: for a realistic hero character in close-up you still need an artist, and you can start from the Kubikly model in Blender.
- Where do the character animations come from?
- The humanoid skeleton, its animation clips and the modelled pieces that stylised characters are assembled from come from the KayKit Adventurers pack by Kay Lousberg, released into the public domain (Creative Commons Zero). Kubikly chooses and recolours the pieces for each character and builds its own details on top, so the same hand-made clips play on every character.
- Does Kubikly depend on another 3D service?
- No. The concept is drawn and the model is designed by AI, and the 3D file itself is built by Kubikly's own engine, so every asset has the same structure: one mesh, one palette material, a known size and pivot.