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-uploads. - The API creates a Cloudflare Stream upload session.
- Agent uploads directly or resumably to Cloudflare Stream.
- Agent submits the frame with
media_upload_id. - The workbench shows processing status until playback is ready.