Nested Task Options

Task-specific configuration is now nested inside an options object.


What changed

Previously, task options were mixed with top-level fields:

{
  "url": "https://example.com/video.mp4",
  "kind": "video",
  "width": 1280,
  "height": 720,
  "format": "mp4"
}

Now, options are nested:

{
  "url": "https://example.com/video.mp4",
  "kind": "video",
  "options": {
    "width": 1280,
    "height": 720,
    "format": "mp4"
  }
}

Quality is now a string enum

Quality values changed from numeric (1-100) to a string enum for consistency:

very_low, low, medium, high, very_high


Task inputs and outputs are arrays

Task responses now use inputs and outputs (arrays) instead of singular input and output objects.

api
2025-10-20