Beato Docs

API reference

Endpoint behavior, model inputs and error codes.

Base URL is https://api.beato.app. Requests other than model discovery require Authorization: Bearer <key>. Download the OpenAPI 3.1 contract.

Endpoints

Endpoint Behavior
GET /v1/models Public catalog. null price means the model has no published price.
GET /v1/balance Returns available and held USD cents.
POST /v1/assets Raw PNG or JPEG body up to 10 MiB. Returns an asset ID valid for 24 hours.
POST /v1/jobs Requires Idempotency-Key. Returns 202 and the job object.
GET /v1/jobs/{id} Returns the current state and fresh result URLs when available.

Models

  • nano-banana and kling-2.6-text-to-video accept prompt and optional aspect_ratio (1:1, 16:9, 9:16).
  • nano-banana-edit and kling-2.6-image-to-video require a prompt and an uploaded asset_id owned by the same account.
  • Prompts support up to 2,000 characters. Kling jobs produce five-second videos without audio.

Errors

Responses include error.code, error.request_id and an X-Request-ID header. Supply the request ID when contacting support.

HTTP Meaning
400, 413, 415 Invalid input, oversized body or unsupported image type
401 Missing, invalid or revoked key
402 Insufficient API balance
404 Job or asset unavailable to your account
409 The same idempotency key was used with different inputs
429 Account limits reached. Respect Retry-After.
503 Selected model cannot accept new jobs. Respect Retry-After.