/api/ routes. Use the API origin assigned to your existing application and its legacy access token. For a new app using api.backapp.dev, start with the v2 image effects guide.
Prepare your connection
SetLEGACY_API_ORIGIN to the origin assigned to your app, without a trailing slash or /api. Set LEGACY_ACCESS_TOKEN to its legacy session token. If your app already uses device sign-in, its POST /api/user/device_id request accepts JSON with device_id and returns the token in accessToken. Continue using the same identity as your integration so the token can access its existing uploads and tasks.
The examples use curl and jq. Provider-backed operations can incur charges.
Transcribe audio
Upload a short audio fixture using a unique file name. This example sends the complete file in one chunk. Byte offsets are measured on the original file before base64 encoding.title and content. Content can be empty while processing. Wait between checks and stop after a bounded wait.
Convert text to speech
output_path when the task completes. On failure, inspect error_message.
Identify a postage stamp
Upload a stamp image as multipart data. The queued endpoint accepts an optionaltext field with OCR text and an optional language field that defaults to en.
Translate text
content.
Ask the note assistant
response_id as previous_response_id.
Summarize text
title, content, and emoji. Short inputs can be returned as-is in content.
Compare two images
visual, and the response includes a difference string.