Blog

Integrations

Calling Sume from automation platforms, serverless functions, agent frameworks, and MCP clients. Each uses plain HTTPS or remote MCP, not a connector.

Vercel function timeout on video generation: use a webhook

A Vercel Function stops at 300 seconds by default; a Sume video run takes minutes. Submit with a webhook_url, return, then verify the signed POST.

n8n AI video workflow: resume a Wait node on a Sume webhook

Start a Sume Format run from an n8n HTTP Request node, pass the Wait node's resume URL as webhook_url, then read the finished run with your key.

Zapier AI video automation: two Zaps and one Sume webhook

One Zap starts a Sume video run with a Custom Request; a second catches Sume's signed webhook with Catch Raw Hook and verifies it in a Code step.

Google Sheets to video automation with Apps Script and Sume

Turn up to 100 sheet rows into Sume video runs with one Apps Script request, then poll the queue from a time-driven trigger and write URLs back.

n8n Google Sheets AI avatar video: one Sume video per row

Read rows with n8n's Google Sheets node, submit one Sume talking-avatar job per row, poll in a capped loop, and write each video URL to the sheet.

Make.com AI video scenario with Sume: HTTP and a webhook

Split a Make.com AI video scenario in two: Make a request starts a Sume run; a custom webhook takes the signed result and checks it with sha256().

Express raw body for webhook signatures and the 100kb limit

Mount express.raw with type application/json and a limit above 1 MiB on the Sume webhook route, then pass the raw Buffer to verifyWebhook.

OpenAI Agents SDK MCP server: Sume and the 5-second timeout

Connect the OpenAI Agents SDK to Sume's hosted MCP server with an API key, and raise the 5-second client timeouts above jobs_wait's 55 seconds.

Vercel AI SDK: generate video with a Sume API tool call

Generate video from the Vercel AI SDK with a tool() that calls Sume's POST /v1/videos on your server, returns the job id, and polls for the clip.

Shopify product video AI API with products/create webhooks

Answer Shopify's products/create webhook within five seconds, run a Sume Format from a queue, then upload the MP4 to Shopify with a staged upload.

Text-to-video API in Python: submit, poll, and download

Call Sume's text-to-video API from Python with Requests: POST /v1/videos, poll with timeouts, then stream the MP4 the content route redirects to.

Python webhook HMAC verification in FastAPI and Django

Verify a Sume webhook in Python: HMAC-SHA256 over timestamp.raw_body, split the signature header on commas, compare in constant time, answer fast.

Cloudflare Workers webhook to a Queue for Sume video runs

Verify Sume's signed POST in a Cloudflare Worker, enqueue a small message, and answer 204 fast. Queue messages cap at 128 KB; receipts reach 1 MiB.

Supabase Edge Function webhook for Sume: JWT off, HMAC on

Sume's webhook POST carries no Supabase JWT, so deploy the Edge Function with verify_jwt = false and check Sume's HMAC signature on every delivery.

Vercel Cron Jobs: call the Sume API daily without duplicates

A Vercel cron job sends a GET to your route, which calls the Sume API with a date-based Idempotency-Key, so a duplicate invocation cannot bill twice.

GitHub Actions: generate a release video with a Sume Format

Start a Sume Format run when a GitHub release is published, pass the notes as input, poll until the video is ready, and attach it to the release.

Airtable automation video generation API: a video per record

Use an Airtable Run a script action to call POST /v1/videos with a callback_url, then catch Sume's webhook in a second automation and save the URL.

Pipedream wait for webhook callback from a Sume video run

Call $.flow.suspend() in the step that starts a Sume video run, pass resume_url as webhook_url, and Pipedream resumes when Sume POSTs the result.

LangChain video generation tool that runs a Sume Format

A LangChain @tool can start a Sume Format run, cap its spend, key it for safe retries, and return a run id the agent checks until the video is ready.

Claude Agent SDK MCP server: connect Sume with an API key

Add Sume's hosted MCP server to the Claude Agent SDK with an API-key header, allow only the tools you need, and dry-run paid calls before submitting.

Slack bot to generate video: a slash command with Sume's API

Ack Slack's slash command within 3000 ms, submit POST /v1/videos with a callback_url, then post the URL to response_url when Sume's webhook lands.

Discord bot AI video generation: defer, then edit the reply

Defer the Discord interaction within 3 seconds, submit POST /v1/videos with a callback_url, then edit the reply when Sume's job webhook arrives.

Trigger.dev wait for webhook: waitpoint tokens for Sume runs

Create a Trigger.dev waitpoint token, send token.url as a Sume run's webhook_url, and wait.forToken() returns when Sume POSTs the run's result.

Test Sume webhooks locally with ngrok or a Cloudflare Tunnel

Sume refuses localhost webhook URLs. Expose your handler with ngrok or a Cloudflare Quick Tunnel, send a signed test, then redeliver real events.

CrewAI video generation with a Sume Agent Completions tool

Give a CrewAI agent a BaseTool that hands a video brief to Sume Agent Completions with a spend cap, then reads the agent.run for the finished video.

Add Sume to Claude as a custom connector (remote MCP)

Add Sume's hosted MCP server to Claude under Customize > Connectors, see what Sume's OAuth consent grants, and decide whether to allow paid tools.

VS Code remote MCP server: add Sume's hosted MCP in mcp.json

Add Sume's hosted MCP server to VS Code with an http entry in mcp.json, see what Sume's OAuth consent grants, and choose which tools chat can call.

AWS Lambda webhook receiver for Sume: function URL and HMAC

Give Sume a Lambda function URL with auth type NONE, decode the event body, check the sume-v1 HMAC, and answer 204 inside the 10-second window.

Inngest wait for event: resume when a Sume video run ends

Start a Sume run in step.run, turn its webhook into an Inngest event with a transform, then step.waitForEvent on the run id with a 2h timeout.

LlamaIndex image generation tool with the Sume Image API

Wrap POST /v1/images in a LlamaIndex FunctionTool: send sume/auto and a prompt, return URLs on a 200, and hand back the job id on a 202.

OpenAI Responses API MCP tool: call Sume's hosted tools

Add Sume's hosted MCP server to the Responses API as an mcp tool, send your Sume key in headers, and approve paid tool calls before they run.

Claude API MCP connector with Sume: what works today

The Claude API MCP connector has no documented way to authenticate to Sume's hosted MCP today. Why, and what to use instead, like the Agent SDK.

Gemini CLI MCP server: add Sume's hosted MCP

Add Sume's hosted MCP server to Gemini CLI with httpUrl and an API-key header read from your environment, then allowlist and confirm its tools.

Windsurf MCP server: add Sume's hosted MCP in Devin Desktop

Windsurf is now Devin Desktop. Add Sume's hosted MCP server to the Devin Local agent or the legacy Cascade agent with an API-key header.

Cline MCP remote server: add Sume's hosted MCP

Add Sume's hosted MCP server to Cline as a remote server with type streamableHttp and an API-key header, and keep paid tools out of autoApprove.

Pydantic AI MCP server: give an agent Sume's hosted tools

Connect a Pydantic AI agent to Sume's hosted MCP server with MCPToolset and an API-key header, filter the tools, and hold paid calls for approval.

Google ADK MCP tools: connect McpToolset to Sume's server

Add Sume's hosted MCP server to a Google ADK agent with McpToolset, an API-key header, and tool_filter, and make paid tools ask for confirmation.

Mastra MCP client: connect an agent to Sume's hosted MCP

Connect a Mastra agent to Sume's hosted MCP server with MCPClient: an API-key header in requestInit, a tool allow-list, and approval for paid calls.

n8n MCP Client Tool with Sume: setup and the SSE caveat

n8n labels the MCP Client Tool field SSE Endpoint; Sume documents streamable HTTP. Set it up for Sume, test the connection, and gate paid calls.

Dify custom tool from OpenAPI: import the Sume API schema

Make a Dify custom tool from Sume's OpenAPI schema: trim it to three video operations, import it as a Swagger API tool, and keep the key secret.

Power Automate HTTP request API: start and poll a Sume run

Call the Sume API from a Power Automate HTTP action: start a Format run, poll it in a Do until loop, and read the key from a Key Vault secret.

Bubble API Connector: generate AI video with the Sume API

Set up Bubble's API Connector for Sume: the key in a private header, a manual response so setup costs nothing, and a backend poll of the job.

Gradio video generation app: Sume API key in a Space secret

Build a Gradio video generation app on the Sume API: the key stays in a Hugging Face Space secret, a generator polls the job, and gr.Video plays it.

Telegram bot to generate video: a Sume job, then sendVideo

A Telegram bot can turn /video into a Sume job, reply at once, then call sendVideo with the artifact URL when Sume's signed webhook arrives.

PHP webhook signature verification in plain PHP and Laravel

Verify a Sume webhook in PHP: hash_hmac sha256 over timestamp.raw_body, split the sume-v1 entries, and compare each one with hash_equals.

Golang: verify a webhook signature with HMAC and hmac.Equal

Verify a Sume webhook in Go: read the body once with io.ReadAll, HMAC-SHA256 the timestamp and raw bytes, then hmac.Equal each sume-v1 entry.