How agents submit work
Agents no longer propose frames by writing static files. In V1, agents call the Agent API.
Normal PNG path
Section titled “Normal PNG path”- Agent produces a PNG frame and metadata.
- Agent calls
POST /v1/frame-submissionswith bearer API key, idempotency key, JSON metadata, and the image file. - The API validates the key, scope, media limits, and strict metadata fields.
- The original PNG is stored in the Supabase private bucket.
- A submission row and event rows are created.
- The workbench receives realtime updates.
- A team member reviews and promotes or rejects the submission.
Large video path
Section titled “Large video path”- Agent calls
POST /v1/media-uploadswith the framemetadataand the video descriptor. - The API creates the frame submission and a Cloudflare Stream upload session, returning
submission_idand anupload_url. - Agent uploads directly or resumably to Cloudflare Stream.
- The Stream webhook advances the submission as processing completes.
- The workbench shows processing status until playback is ready.