reframe · Billing: Beeble Cloud credits
Before you start
- Create an API key for an organization with this product enabled.
- Prepare your media as Beeble URIs, authorized CDN URLs, public/presigned HTTPS URLs, or base64 data URIs.
- Select an available model below; complete any required consent in Beeble Cloud.
Models and inputs
SetBEEBLE_API_KEY and, for internal teams, BEEBLE_TEAM_ID.
models contains each model’s id, name,
input_schema, and any requires_consent value. Use the selected model’s
input_schema for required inputs, types, defaults, and supported values.
Request parameters and response schema
Set the new canvas dimensions and the source rectangle together. A reference image is required to guide newly revealed areas; a prompt is optional. The example assumes a 960 × 720 source placed on a 1280 × 720 canvas.
Submit a job
Schemas: Request body · Response. Theinputs object follows your
selected model’s input_schema above.
Save as request.json with your media URIs. The Beeble URIs below can be replaced
with any supported single-file media input. Use a unique idempotency_key
for each new job; keep it unchanged on retries.
requests; JavaScript examples run in Node.js.
Results and constraints
Supplycanvas_width, canvas_height, source_x, source_y, source_width,
and source_height together, in pixels. Canvas and placement dimensions must
be positive. These values describe your desired layout and are not inferred
from the source. The server measures source media metadata; you can omit
generation_type and frame_count.
See Billing & credits for spending caps and refunds.
Completed response
Poll the job using the returnedid until
status is success. Stop on failed, cancelled, or credit_required.
Example response (200, success; abbreviated): URLs are illustrative.
Available outputs depend on the model and input media.
outputs.render for the reframed image or video.