# BobaBanana API > The BobaBanana API is a REST API that turns reference images and reference voices into new images, videos, speech and sound effects, keeping characters, products and places consistent from one result to the next. Base URL: https://bobabanana.com/api/v1 · Auth: `Authorization: Bearer bb_...` · Every generation is an async job: POST returns a job id, then `GET /v1/jobs/{id}?wait=30` until status is succeeded. Result URLs are signed and need no key. ## Get started - [Overview](https://bobabanana.com/docs/api/index.md): REST API for consistent AI images and videos from reference images, plus voice cloning, lip-synced talking videos and sound effects. For apps and AI agents. - [Quickstart](https://bobabanana.com/docs/api/quickstart/index.md): Quickstart for the BobaBanana API: upload a reference image, generate an image, animate it into a video and download it with curl, Python or JavaScript. - [Authentication](https://bobabanana.com/docs/api/authentication/index.md): How to authenticate to the BobaBanana API with a bb_ API key, where keys are created, per-key daily and concurrency limits, and how to keep keys safe. ## Generate - [Images](https://bobabanana.com/docs/api/images/index.md): Generate AI images that keep characters, products and places consistent: a prompt plus up to 10 labelled reference images or @handles to POST /v1/images. - [Videos](https://bobabanana.com/docs/api/videos/index.md): POST /v1/videos turns a picture or prompt into a 2-15 s video, copies the motion of your clip onto a character, extends a clip, and adds lip sync or sound. - [Speech & voice cloning](https://bobabanana.com/docs/api/speech/index.md): Clone a voice from a 5-30 second sample, or use a saved library voice, and turn text into speech with POST /v1/speech. Returns a WAV file. Consent required. - [Sound effects](https://bobabanana.com/docs/api/sound-effects/index.md): Generate sound effects from text with POST /v1/sound-effects. 2 to 20 seconds of ambience, foley or effects as a WAV file, or mixed straight into a video. - [Upscale](https://bobabanana.com/docs/api/upscale/index.md): Upscale a finished BobaBanana image or video job: images at 2x or 4x, videos at 2x, 2.25x (480p to 1080p) or 4x with sound kept. Prices, limits. ## Work with results - [Files & inputs](https://bobabanana.com/docs/api/files/index.md): Send reference images, start frames, voice samples and audio to the BobaBanana API as file IDs, public https URLs or base64 data URIs. Formats and limits. - [Jobs & polling](https://bobabanana.com/docs/api/jobs/index.md): Every BobaBanana generation is an asynchronous job: statuses, the job object and its cost, long-polling, paging, canceling, deleting and idempotency keys. - [Webhooks](https://bobabanana.com/docs/api/webhooks/index.md): Add webhook_url to any BobaBanana create request to get a signed POST when the job succeeds, fails or is canceled. Event format, HMAC verification, retries. - [Library assets](https://bobabanana.com/docs/api/assets/index.md): List approved BobaBanana assets (characters, objects, places, scenes, voices) and use them in image, video and speech requests by @handle. ## Build - [AI agents & tools](https://bobabanana.com/docs/api/agents/index.md): Give any LLM agent image, video, voice and sound generation: copy-paste tool definitions, OpenAPI, llms.txt and a long-poll loop. - [Errors & limits](https://bobabanana.com/docs/api/errors/index.md): Every BobaBanana API error code with its HTTP status, meaning and fix. Per-key rate limits, Retry-After handling and when to retry a request. - [Credits & prices](https://bobabanana.com/docs/api/credits/index.md): How BobaBanana API jobs are paid for with workspace credits: prices, the cost of each job, balance, max_credits and what happens at zero credits. ## Machine-readable - [OpenAPI 3.1 spec](https://bobabanana.com/docs/openapi.json): every endpoint and schema - [Full docs in one file](https://bobabanana.com/docs/llms-full.txt)