Video Workflow Trigger
Send POST request to /new with JSON body:
{ "r2Key": "your-video.mp4", "prompt": "Describe this video" }
Check status with ?instanceId=<ID>
Local Development Endpoints
List bucket contents: GET /list-bucket
Upload to bucket: POST /upload-to-bucket
- Method 1: multipart/form-data with "file" and optional "key" fields
- Method 2: JSON with "key", "base64Data", and optional "contentType" fields
- Method 3: Raw binary with query params ?key=filename&contentType=image/jpeg