Weftly API: AI Post-Production Workflow for Content Creators

Give your AI agents the power to transcribe, summarize, and process video files directly within your workflow.

Quick start

curl -X POST https://api.weftly.ai/api/v1/sessions \
  -H "Content-Type: application/json"

Pricing

Job typeAudioVideo
Transcribe$0.50$1.00
Summarize$0.75$1.25

Two payment rails: Stripe SPT (agent-initiated card payments) and Tempo crypto (USDC for fully autonomous flows). Discovery at /.well-known/mpp.json.

Set up MPP payments

Weftly is paid per job via MPP. Your agent signs a payment challenge from its own wallet and retries the call — you stay in the flow.

Quickest path: install the Weftly plugin

The plugin wires up mppx, this MCP server, and teaches your agent the payment dance. First create and fund an mppx wallet in your terminal:

npx mppx account create  # pick a name, then fund with USDC on Tempo mainnet

Then in Claude Code:

/plugin marketplace add woven-record-media/weftly-plugins
/plugin install weftly-setup@weftly
/weftly-setup:weftly-setup --wallet <your-wallet-name>

Try the Weftly plugin →

Fund your wallet

Your mppx wallet needs USDC.e on Tempo. Buy USDC on Base using the widget below, then bridge it to Tempo. Or send USDC on Tempo directly from any exchange that supports the Tempo network.

Advanced: use mppx directly (without the plugin)

Already have a wallet?

export MPPX_PRIVATE_KEY=0xYOUR_PRIVATE_KEY

Create a new wallet

# Create and set as default
npx mppx account create --account weftly
npx mppx account default --account weftly

# View your address (to fund via the USDC widget below)
npx mppx account view

Verify it works

npx mppx https://api.weftly.ai/api/test

Sends $0.01 USDC to confirm your wallet is configured and funded.

Buy USDC on Base

Purchase USDC with a credit card using Stripe's onramp. USDC is delivered to your wallet on Base — bridge it to Tempo to use for MPP payments.

Open USDC purchase widget

Supported formats

Input

Transcript output

Use ?format= on the download endpoint to choose a transcript format:

FormatContent-TypeDescription
srtapplication/x-subripSubRip with timestamps (default)
txttext/plainPlain text, no timestamps
vtttext/vttWebVTT subtitles
jsonapplication/jsonStructured JSON with timed segments (v1, segments only)
wordsapplication/jsonv2 JSON with segment-level and per-word timestamps. Schema: /.well-known/weftly-transcript-v2.schema.json. Use for clipping, multicamera edits, and edit-video-from-transcript.

Workflow

Every job follows the same steps. Set job_type to "transcribe" or "summarize".

  1. Create a sessionPOST /sessions → returns session_token
  2. Create a jobPOST /jobs with job_type, filename, and content_type → returns job_id, checkout_url, and MPP deposit info
  3. Pay — Stripe SPT (use checkout_url) or Tempo crypto (send USDC to deposit address)
  4. Get upload URLGET /jobs/:id/upload-url (requires payment)
  5. UploadPUT the file to the presigned URL
  6. Start processingPOST /jobs/:id/complete-upload
  7. Poll for completionGET /jobs/:id until status is completed
  8. Download resultGET /jobs/:id/outputs/transcript/download?format=srt|txt|vtt|json|words (or summary role for summarize jobs)

REST API endpoints

Base URL: https://api.weftly.ai/api/v1

Sessions

MethodPathDescription
POST/sessionsCreate a new session
GET/sessions/meGet session status and all jobs
GET/sessions/payment-statusPoll Stripe for payment completion

Jobs

MethodPathDescription
POST/jobsCreate a transcribe or summarize job. Returns checkout URL and MPP deposit info.
POST/jobs/:id/checkoutCreate or retrieve a Stripe SPT checkout for a job
GET/jobs/:id/upload-urlGet presigned upload URL (requires payment via Stripe SPT or Tempo)
POST/jobs/:id/complete-uploadConfirm upload and start processing
GET/jobs/:idGet job status and outputs

Outputs

MethodPathDescription
GET/jobs/:id/outputs/:role/downloadDownload an output. For transcripts, add ?format=srt|txt|vtt|json|words
DELETE/jobs/:id/sourceDelete uploaded source media
DELETE/jobs/:id/outputs/:roleDelete a generated output

More tools coming soon

We're building more AI-powered post-production tools for content creators. Visit weftly.ai to learn more.

Resources