BobaBanana API
Docs / API / Library assets

Library assets: reuse characters, products, places and voices by @handle

Assets are approved, reusable subjects in a BobaBanana workspace (human and non-human characters, objects and products, places, composite scenes and voices), each with a unique @handle. Put a handle in assets (images and videos) or voice (speech and videos) and BobaBanana brings in that asset's approved reference pictures or voice.

Asset kinds#

kind What it is Use it in
human A consistent person, with head and full-body views assets
nonhuman Animal, creature, mascot, robot assets
object Product, furniture, vehicle, prop assets
place Room, building, landscape assets
scene A composed scene of several assets assets
custom Anything else visual assets
voice A cloned or designed voice voice

Assets are created and approved in the BobaBanana studio; the API reads and uses them.

List assets#

curl "https://bobabanana.com/api/v1/assets?kind=human&search=maya" -H "Authorization: Bearer $BOBABANANA_API_KEY"
{"object": "list", "data": [
  {"id": "a_19be", "object": "asset", "handle": "@maya", "name": "Maya", "kind": "human", "description": "", "tags": [], "version": 3,
   "preview_url": "https://bobabanana.com/api/v1/files/content/...png?..."}
]}
Endpoint Description
GET /v1/assets Filters: kind, search, limit (1-200)
GET /v1/assets/{handle} One asset by @handle or ID
GET /v1/voices Voice assets only; each has a sample_url to listen to

Use assets in requests#

{"prompt": "@maya and @rex the robot share an umbrella on a rainy street", "assets": ["@maya", "@rex"]}
{"text": "Good evening, and welcome.", "voice": "@narrator_deep"}

You can mix assets with uploaded reference_images in the same request (10 pictures in total).

Frequently asked questions#

Why use assets instead of uploading references each time?#

Assets are already approved for consistency, include several views (a character brings face and body pictures), and keep every app and agent using the same version.

Which version of an asset is used?#

The asset's active approved version at the time of the request.

Can the API create or approve assets?#

Not yet. Create and approve them in the BobaBanana studio.

Last updated 2026-11-27 · View as Markdown