Uploading a video through the API was refused for anything over 2 MB, although the docs said 50 MB. The API now takes a file in parts, the way the app already does, so an agent can upload and schedule a video on its own.
A customer scheduling short videos through the Claude skill found it first: an 18 MB clip came back with "upload too large". The limit was the server's, not the one written in the docs, and it left every short video for a manual upload in the app.
- New action: POST schedule.php?action=upload_chunk. Cut the file in parts of 4 MB, send them in order, and the last answer carries the url to pass in media.
- A part sent twice is not stored twice, and a part out of order is refused with the index expected, so an unattended agent can retry safely.
- targets now returns upload_chunk_bytes and upload_chunked_max_bytes next to upload_max_bytes, and the "too large" answer of the one-request upload says to use the parts.
- The docs and the skill (1.6.54) no longer promise a size the server did not take.
If you use the skill, update it to 1.6.54: it carries the loop that uploads in parts. The
API docs have the same example with curl.