Workflow DevKit 5: 12 MiB frames, pass Sume URLs not video
Workflow DevKit 5.0.1 splits WebSocket frames over 12 MiB by default (16 MiB at most). Pass Sume artifact URLs between steps instead of video bytes.

Workflow Development Kit v5.0.1, released Oct 1, 2026, limits each WebSocket message: a frame over WORKFLOW_WS_MAX_MESSAGE_BYTES (default 12 MiB, at most 16 MiB) is sent as several messages and rebuilt by the receiver, per the release notes. A generated video can exceed that, so pass the Sume artifact URL between workflow steps and let the step that needs the file download it.
Why URLs instead of bytes
The release notes say oversized frames are split and rebuilt, so large values are not rejected, but every extra chunk is more transport work. A URL is a few hundred bytes. The video stays on media.sume.com and any step with network access can fetch it when needed.
What a Sume result contains
A completed Sume job returns artifacts, and the webhook payload carries the same fields. Each artifact has an id, a url on media.sume.com, a type and a content_type. Store the artifact url and the job id and treat them as the unit you pass between steps.
| Field | Example | Pass it? |
|---|---|---|
job_id | job_... | Yes, the idempotency key on your side |
artifacts[].url | https://media.sume.com/artifacts/... | Yes |
artifacts[].content_type | video/mp4 | Yes, if a step branches on type |
| Video bytes | n/a | No |
Webhook delivery and retries
Use the job id as your idempotency key in the receiving step. Sume's docs say the job webhook retries up to 10 attempts, so the same event can arrive more than once. Return success after durably storing the event.
Copy what you must keep
Keep the file for as long as you need it: the docs describe the artifacts as Sume-hosted URLs and state no retention period, so copy the file to your own storage when you must keep it.
- Pass
artifacts[].url, not file contents - Use
job_idto dedupe repeated events - Download in the step that needs the file
- Copy to your own storage for long retention
Sources
Related posts
More in Developers
- Workflow DevKit replays: a stable Idempotency-Key for Sume submits
Workflow DevKit 4.8.12 fixed replay clock tracking. A replayed step must send the same Sume Idempotency-Key, so derive it from the run id, not Date.now.
- YouTube 16:9 resolutions 240p to 8K and what Timeline renders
YouTube lists eight 16:9 resolutions from 426x240 to 7680x4320. Sume Timeline renders four of them: 1080p, 720p, 480p and 360p. Why the other four fall outside.
- YouTube audio: AAC-LC, Opus or Eclipsa, and what a Sume export carries
YouTube's upload settings name AAC-LC, Opus and Eclipsa Audio at 48 kHz stereo. Read audio_codec, channels and sample rate from video inspect before you upload.
- YouTube 'Info from' under an AI label: what the signing authority is
The 'Info from' line under a YouTube AI disclosure names who signed the Content Credentials. Which labels carry it, and what a Sume export does not add.
Written by Sume