Overview

The Sume Developer API is the public server-side API for api.sume.com. It is workspace-scoped, key-authenticated, and designed for generation workflows that need durable jobs, public media artifacts, usage tracking, and dashboard observability.

Base URL

All endpoint paths on this page include /v1 because the live OpenAPI schema is served from the API service root.

Product, API, and media domains

Domain / URLPurpose
https://www.sume.comPublic company/product site.
https://www.sume.com/dashboardDashboard home.
https://www.sume.com/dashboard/api-keysCreate and manage Developer API keys.
https://www.sume.com/dashboard/jobsInspect jobs.
https://www.sume.com/dashboard/usageUsage and balance summary.
https://www.sume.com/dashboard/subscriptionBilling & subscription (plans and credit top-ups).
https://www.sume.com/pricing/apiPublic metered API rate card (source of truth for prices).
https://www.sume.com/playgroundAvatar playground (human experiments).
https://www.sume.com/agentsAgents product surface.
https://api.sume.com/v1Public Developer API.
https://api.sume.com/referenceSwagger UI.
https://api.sume.com/reference/jsonLive OpenAPI JSON (schema source of truth).
https://media.sume.comFirst-party media and artifact URLs returned by completed jobs.

Authentication

Create an API key in the API Keys dashboard and send it from a server-side environment.

The API also accepts x-api-key: sume_live_.... Do not send workspace or user identifiers in request bodies; Sume resolves scope from the API key.

Start with the Format API

Most partner integrations are one call to a saved recipe, not a hand-rolled chain of model invocations. Format API runs an authored recipe in a sandbox and returns durable media plus JSON in a schema you supply — see Structured output.

The model endpoints below are the layer underneath. Call them directly when you want exactly one model invocation and own the orchestration yourself.

TypeScript clients

From Node, Bun, Deno, or Workers, @sume-com/sdk (@sume-com/sdk@0.2.0) wraps every operation on this page with types generated from the same OpenAPI schema, and adds the helpers this API otherwise makes you write: subscribeFormatRun (Format create + wait), waitForRun, waitForJob (generation jobs), uploadFile, and verifyWebhook. Lead with subscribeFormatRun + webhooks; there is no SSE stream, so progress comes from polling events_url (a phase timeline).

It is a convenience layer, not a second contract — this page and the API reference stay the source of truth for fields.

Current endpoint map

This table is a navigational summary only. Exact request/response schemas come from live OpenAPI (https://api.sume.com/reference/json). Prefer the readable API reference for method/path notes, and model guides for workflow prose — do not treat duplicated Markdown tables as a second schema.

Prefer canonical product paths (/v1/{family}-1.0/...) for new integrations. /v1/models/sume/.../runs aliases remain supported for compatibility.

AreaCanonicalCompatibility / aliasesUse for
FormatsGET /v1/formats, GET /v1/formats/:id, POST /v1/formats/:id/runs, POST /v1/formats/:id/bulk-runs, GET /v1/formats/:handle/:slug, POST /v1/formats/:handle/:slug/runs, POST /v1/formats/:handle/:slug/bulk-runs, GET /v1/format-run-queues/:id, GET /v1/format-runs/:id, GET /v1/format-runs/:id/status, GET /v1/format-runs/:id/result, POST /v1/format-runs/:id/cancelRun an authored recipe (one run, or a bulk queue) and read back media plus schema-shaped JSON. See Format API and Bulk runs.
HealthGET /v1/healthService readiness checks.
CatalogGET /v1/catalogDiscover capabilities, models, runtime readiness, and pricing metadata.
AccountGET /v1/meVerify the API key and resolved workspace context.
Balance and usageGET /v1/balance, GET /v1/usageRead USD balance and usage ledger entries.
JobsGET /v1/jobs, GET /v1/jobs/:id, GET /v1/jobs/:id/status, GET /v1/jobs/:id/result, POST /v1/jobs/:id/cancel, GET /v1/jobs/:id/eventsList, inspect, poll, cancel, recover, and audit jobs.
Avatar 1.0POST /v1/avatar-1.0/generate, POST /v1/avatar-1.0/talking-video, GET /v1/avatar-1.0/avatars, GET /v1/avatar-1.0/avatars/:idPOST /v1/models/sume/avatar/v1.0/runs, POST /v1/models/sume/avatar-1.0/generate/runs, POST /v1/models/sume/avatar-1.0/talking-video/runs, GET /v1/avatars, GET /v1/avatars/:idCreate and read avatars / talking videos.
Avatar Video 1.0GET /v1/avatar-videos, GET /v1/avatar-videos/:idPOST /v1/models/sume/avatar-video/v1.0/runsProduct/scene avatar-video runs and resource reads.
Avatar Video PreviewsPOST /v1/avatar-video-previews, GET /v1/avatar-video-previews/:id, POST /v1/avatar-video-previews/:id/regenerate, POST /v1/avatar-video-previews/:id/generate-videoPreview → generate-video flow.
Avatar catalogPOST /v1/avatar-catalog/searchSearch reusable catalog avatars.
Avatar Face Swap (Beta)POST /v1/models/sume/avatar-face-swap/v1.0/runsFace-swap model runs.
Image 1.0POST /v1/image-1.0/generatePOST /v1/models/sume/image-1.0/runsImage generation.
Video 1.0POST /v1/video-1.0/generatePOST /v1/models/sume/video-1.0/runsVideo generation.
Music 1.0POST /v1/music-1.0/generatePOST /v1/models/sume/music-1.0/runsMusic generation.
Video captionsPOST /v1/video-captions, GET /v1/video-captions/:idCaption jobs and resource reads.
Trending videosPOST /v1/trending-videos/searchSearch TikTok trending video metadata.
ActionsGET /v1/actions, GET /v1/actions/:id, POST /v1/actions/:id/runs, GET /v1/action-runs/:id, POST /v1/action-runs/:id/cancelRecurring schedules. See Scheduled.
Agent CompletionsPOST /v1/agent/completions, GET /v1/agent-runs, GET /v1/agent-runs/:id, POST /v1/agent-runs/:id/cancelRun the Agent on an ad-hoc task. See Agent Completions.

See the API reference for the full method/path tables and OpenAPI hide-list notes.

Older www.sume.so consumer-product routes such as /credits, /uploads/presign, /brand, /ads/videos, /face-swap, and /reference-analysis are not part of the current sume.com developer platform API.

Internal voice capabilities, raw provider model ids, and provider task URLs are not public API surfaces unless they appear in /v1/catalog and the OpenAPI schema.

Job-first workflow

Model-run and compatibility submit endpoints accept work, create a job, and return a response you can poll or recover later.

Most integrations should store the job id and poll with backoff. Use webhooks when you have a public HTTPS callback endpoint and want Sume to notify your server on terminal job events.

Paid generation uses queue-first admission. Workspace concurrency limits apply to jobs that are actively processing; valid submissions can still be accepted as queued while queue capacity remains. See Generation admission for tier limits, generation_limits, and queue-full behavior.

OpenAPI

The local docs preview serves a snapshot at:

Production serves the live schema at:

Swagger UI is available from the API service at:

Use the live schema as the exact request/response source of truth. The docs repo snapshot is refreshed from that endpoint (see README / pnpm openapi:sync).