BeatAPI

BeatAPI provides asynchronous APIs for AI image and video generation, video analysis, music and ecommerce video workflows, file uploads, usage, and webhooks.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Answer Decision Questions

    Answer named yes/no likelihood, choice, score or image-box questions about shared application state. Returns typed answers and token usage synchronously with no task polling. Choose a -free model for rate-limited free calls; paid models require balance and bill input tokens, including images.

  • Call Social Data

    Retrieve public social-platform data synchronously using a BeatAPI Social Data catalog action ID and its documented parameters. Copy the action ID from the catalog; use Capabilities Inspect for its input/output schema and readiness. Returns the native completed result envelope. No model field or provider-native URL is needed. The request body is limited to 512 KiB by BeatAPI. Successful calls consume credits; creator.discover and creator.contacts bill per creator (at least one), other actions per request. Failed calls do not consume credits.

  • Close Realtime Session

    Idempotently close an existing BeatAPI Realtime Video Session by its rts_ session ID. Clears temporary credentials and releases account capacity. Returns the session's lifecycle timestamps, status and USD reservation, settlement and refund amounts in the native data envelope (HTTP 200). Does not return a client secret. Disconnect the browser connection and stop local media tracks separately when the experience ends.

  • Compose Music Video

    Compose selected storyboard shots into the final Music Video for an existing BeatAPI task. Each composition charges a fixed $1 USD. In a manual review workflow, wait for requires_action, review or edit shots, then compose once the selected shots are ready. Returns an accepted asynchronous parent task, not finished media. Poll the same task with GET_TASK, honoring poll_after_seconds, until succeeded or failed; read the final assets from task.output.media on success. Automatic composition does not require this call.

  • Create Chat Completion

    Generate a synchronous OpenAI-compatible chat completion from a conversation using a BeatAPI text model. Returns native choices, tool calls, reasoning and usage without task polling. Nonstreaming only: stream must be false. Model-specific options and input modalities vary; paid models require balance. GPT-6.1 Terra and Sol tool calling requires the Responses endpoint instead.

  • Create Ecommerce Video Task

    Start a paid asynchronous BeatAPI product-ad video task from uploaded product images, and return its task ID for status polling.

  • Create Effect Task

    Start a paid asynchronous image or video Effect task. Read List Effects first for the selected version's exact input and supported options. Save data.id and use Get Task to poll, following poll_after_seconds, until succeeded or failed. Read finished assets from Get Task's task.output.media. USD is reserved at acceptance, settled on success, and refunded after a definite processing failure. Use an idempotency key for safe exact retries; do not blindly retry an uncertain create.

  • Create Image Generation Task

    Start a paid asynchronous BeatAPI image generation task with one exact model-specific contract, and return its task ID for status polling.

  • Create Message

    Generate one non-streaming Anthropic-compatible message with a BeatAPI model. Supports native text/image content, tool-use conversations, thinking and prompt caching where the model supports them. Returns the native response; inspect content, stop_reason and usage. Text calls are synchronous and never require task polling. Unknown options may be ignored by the gateway.

  • Create Music Video Task

    Start a paid asynchronous Standard or Premium music video from public HTTPS audio and images. Returns the task ID for Get Task polling. Standard manual composition pauses at requires_action for shot review; Premium offers sing, sing_perform, dance, and perform modes.

  • Create Realtime Session

    Reserve a duration tier and allocate a short-lived BeatAPI Realtime Video browser session. Requires a unique Idempotency-Key and exact allowed browser origins; identical retries reuse the session and secret. Returns the native data session and client_secret for @beatapi/realtime; does not connect a browser. The selected tier settles after the first rendered remote frame produces an accepted billing heartbeat; closing or expiring before activation fully refunds the reservation. Close with DELETE /v1/realtime/sessions/{session_id}. Production availability is subject to commercial and capacity launch gates.

  • Create Text Response

    Generate a synchronous BeatAPI text response using the OpenAI Responses format, with native text/image input, reasoning, function tools and structured outputs. Non-streaming only (stream must be false). Returns the full native JSON response. Requests may be billed; model and option availability depend on the connected key.

  • Create Video Analysis Task

    Start a paid asynchronous analysis of an account-owned uploaded video and return its task ID for status polling.

  • Create Video Generation Task

    Start a paid asynchronous BeatAPI video generation task with an exact model-specific request. Save the returned task ID and use Get Task to poll until succeeded or failed.

  • Create Webhook

    Register a public HTTPS endpoint for BeatAPI task completion callbacks. Optionally select task.succeeded and/or task.failed; omitting events subscribes to both. Returns the native data envelope with the endpoint ID, delivery status and full signing secret. Store the secret securely at creation; later public API responses mask it. Verify callback signatures over the timestamp and raw body, rejecting timestamps older than five minutes. Polling GET /v1/tasks/{task_id} remains the source of truth if callbacks are delayed or fail.

  • Delete Webhook

    Delete an existing BeatAPI webhook endpoint by its ID. Returns the native data envelope containing the endpoint ID and deleted boolean (HTTP 200). A missing endpoint returns an error (HTTP 404).

  • Edit Music Video Shot

    Edit one existing Music Video storyboard shot by its BeatAPI shot ID. Charges USD balance using the parent task's tier and shot duration. Standard accepts prompt only; Premium also accepts up to six replacement images. Quality, resolution and duration are inherited and cannot be changed. Returns an accepted asynchronous parent task, not finished media. Poll that same task, honoring poll_after_seconds, to inspect the edited shot. The existing final Music Video is replaced only after composing selected shot IDs.

  • Generate Text Content

    Generate text or function calls synchronously with a Gemini-native request. Supports text/image conversation parts and function declarations. Returns the native JSON response, including candidates and usageMetadata; inspect finishReason before using an answer. Non-streaming generateContent only: no streamGenerateContent/SSE, countTokens or task polling. Model access and available balance are required; thinking tokens count as billed output.

  • Get Effect

    Get a published effect by an ID returned by List Effects, including its current version, input requirements, supported options, and preview URLs. Unknown or unpublished effects return an error.

  • Get Music Video Shot Media

    Retrieve a hosted preview of one existing Music Video storyboard shot using its task ID and BeatAPI shot ID. Materializes the current shot video in BeatAPI media storage if it has not been stored yet; repeated calls return the stored URL when available. Returns shot metadata and the video URL. Does not edit the shot or compose a new final Music Video.

Page 1 / 2Next