PicoBerry
v0.1.7An AI 3D workspace for games, VR, and beyond.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_models
List available generation engines/models and their credit cost for a category. Call this before generating instead of hardcoding engine names. Returns [{ name, label, cost, paidOnly, supportsMultiView, supportsUltraMode, ultraCost, ... }] — use `name` as the engine/model value. NOTE: the two 3D surfaces are SEPARATE catalogs — `3d` is text-to-3D, `image-to-3d` is image-to-3D. An unrecognized category silently falls back to `3d`, so a guessed value returns a plausible list that is missing image-only engines.
| Parameter | Type | Description |
|---|---|---|
category | string | `3d` lists TEXT-to-3D engines only. Engines whose vendor takes image input alone (e.g. meshy-7) have no text-to-3D row and appear ONLY under `image-to-3d` — use that before generate_3d_from_image. |
list_animation_presets
List animation preset ids for the `animate` tool. Presets are engine-specific (Tripo ~97 / Meshy ~675) — pick one from the SAME engine you animate with. Optionally filter with a case-insensitive substring.
| Parameter | Type | Description |
|---|---|---|
engine | string | |
search | string | case-insensitive filter on the preset name/category |
get_credits
Get the current PicoBerry credit balance for the authenticated key.
generate_image
Generate a 2D image from a text prompt (async). Returns an asset { id }; then call wait_for_asset (or poll get_asset) until taskStatus=2 and read files.image (PNG URL). Costs credits — see list_models(category='image'). Omit `model` for the default. Up to 4 reference image URLs can guide the result (best with nano-banana).
| Parameter | Type | Description |
|---|---|---|
prompt * | string | |
aspect_ratio | string | W:H, e.g. "1:1", "16:9", "9:16", "21:9". Use a value from the model's supportedAspectRatios in list_models(category='image') — nano-banana models reject anything else with 400 before charging credit… |
model | string | engine name from list_models(category='image') |
reference_image_urls | array |
generate_3d_from_text
Generate a game-ready 3D model (GLB) from a text prompt (async). Returns an asset { id }; call wait_for_asset (or poll get_asset) until taskStatus=2 and read files.model (GLB URL). Costs credits — see list_models(category='3d'). Omit `engine` for the default.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | ≤1024 chars (Tripo engine limit) |
engine | string | engine name from list_models(category='3d') — the text-to-3D catalog |
polycount | integer | |
texture | boolean |
generate_3d_from_image
Generate a 3D model (GLB) from one image, or from 2–4 views of the same subject (multi-view → higher-fidelity geometry), async. Single: `image_url` (any public http/https image, or a prior generation's files.image) OR `image_path` (a local file, uploaded directly — no hosting needed). Multi-view: `image_urls` OR `image_paths`, ordered [front, left, back, right] (2–4 views). Not every engine takes multi-view — check `supportsMultiView` from list_models(category='image-to-3d'); unsupported engines return 400. Local files win over URLs. Then wait_for_asset and read files.model. Costs cr…
| Parameter | Type | Description |
|---|---|---|
engine | string | engine name from list_models(category='image-to-3d') |
image_path | string | absolute path to a single local image file (≤20MB) |
image_paths | array | multi-view: 2–4 local image file paths (each ≤20MB), ordered [front, left, back, right] |
image_url | string | single hosted image URL |
image_urls | array | multi-view: 2–4 hosted image URLs, ordered [front, left, back, right] |
polycount | integer | |
texture | boolean | |
ultra_mode | boolean | higher-fidelity geometry. Only engines whose list_models entry has supportsUltraMode (currently meshy-7), and SINGLE image only — the vendor scopes it to one input image. Adds that entry's ultraCost… |
parts_board
Decompose one reference image into an exploded "parts board" image (async) — the subject laid out as separated components on one canvas. Input: `asset_id` (an existing IMAGE asset you own), `image_url` (a public http/https image), OR `image_path` (a local file, uploaded directly). Engine/resolution/prompt are server-fixed — no params. Returns an asset { id }; call wait_for_asset (or poll get_asset) until taskStatus=2 and read files.image (the board PNG). Feed that image to generate_3d_from_image for a parts-separated mesh. Costs 80 credits — see list_models(category='parts-board'). Prece…
| Parameter | Type | Description |
|---|---|---|
asset_id | string | id of an existing IMAGE asset you own to decompose |
image_path | string | absolute path to a local image file (≤20MB), uploaded directly |
image_url | string | public http/https source image URL |
remesh
Retopologize an existing 3D asset into a NEW asset (async). Costs credits — see list_models(category='remesh') (pb-remesh is cheapest). wait_for_asset → files.model.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | |
engine | string | |
polycount | integer |
texture
Re-texture an existing 3D asset (PBR) into a NEW asset (async). Describe the desired look in `prompt`. Costs credits — see list_models(category='texture'). wait_for_asset → files.model.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | |
engine | string | |
prompt | string |
animate
Auto-rig an existing 3D character asset and apply an animation, producing a NEW asset (async). Pick `preset` from list_animation_presets for the SAME engine. Costs credits — see list_models(category='animate'). wait_for_asset → files.model.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | |
engine | string | |
preset | string |
get_asset
Get a generation's status + result. taskStatus: 0=pending 1=processing 2=succeeded 3=failed. When succeeded, files.{model,image,thumbnail,textures} hold signed result URLs (short TTL — download promptly). On failure, read errorDetail.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string |
wait_for_asset
Poll an asset until it finishes (taskStatus 2 or 3) or the timeout elapses, then return the final asset. Use right after generate_* / remesh / texture / animate. 3D generations can take several minutes.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | |
poll_interval_seconds | integer | |
timeout_seconds | integer |
list_my_assets
List your generated assets (newest first, owner-scoped) for browsing/sync. Filter by category (3d/image/…) or keyword.
| Parameter | Type | Description |
|---|---|---|
category | string | |
keyword | string | |
limit | integer | |
page | integer |
download_asset
Export a completed 3D asset and get a short-lived signed download URL. glb = a single self-contained file. fbx/obj download as a .zip bundle (model + textures; + Unity .meta files when texture_preset='unity') — unzip before importing. For Unity use fbx (there is no built-in glb importer).
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | |
format | string | |
name | string | |
texture_preset | string |