Download & export
POST/v1/assets/{id}/download
Export a finished asset and get a short-lived signed download URL.
Parameters
| Parameter | Description |
|---|---|
| formatREQ string | glb, fbx, or obj. |
| texturePreset string | standard (default) or unity — channel-split maps + a .meta. |
| name string | Export base filename. Default model. |
Request
request
curl -X POST https://api.picoberry.ai/v1/assets/019…/download \
-H "Authorization: Bearer pb_live_xxx" -H "Content-Type: application/json" \
-d '{"format":"fbx","texturePreset":"unity"}'requests.post(f"{BASE}/v1/assets/{id}/download", headers=headers,
json={"format": "fbx", "texturePreset": "unity"})await fetch(`${BASE}/v1/assets/${id}/download`, { method: "POST",
headers: { ...headers, "Content-Type": "application/json" },
body: JSON.stringify({ format: "fbx", texturePreset: "unity" }) });fbx / obj are ZIP bundles They pack the model + textures (+ a
.meta for the Unity preset) as a .zip. glb is a single file. The url expires in ~15 minutes — download it right away.