v31

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-28124212862.9 KB
Summarize

Create a 'summarize' job

Creates a new job that uses AI to generate a title, description, and tags for a Mux Video asset.

post/robots/v0/jobs/summarize

Request body

passthroughstring

Arbitrary string stored with the job and returned in responses. Useful for correlating jobs with your own systems.

Example request

{
  "parameters": {
    "asset_id": "mux_asset_123abc",
    "tone": "neutral",
    "tag_count": 10
  }
}

Response

Summarize job queued

Example response

{
  "data": {
    "parameters": {
      "asset_id": "mux_asset_123abc",
      "tone": "neutral",
      "tag_count": 10
    },
    "outputs": {
      "title": "How to Build a Sustainable Garden in Your Backyard",
      "description": "This video walks through the step-by-step process of creating a sustainable backyard garden, covering soil preparation, plant selection, and organic pest control methods.",
      "tags": [
        "gardening",
        "sustainability",
        "backyard",
        "organic",
        "soil preparation",
        "composting",
        "pest control",
        "beginner",
        "how-to",
        "plants"
      ]
    },
    "resources": {
      "assets": [
        {
          "id": "abc123asset",
          "meta": {
            "title": "My Video",
            "creator_id": "user123",
            "external_id": "ext456"
          },
          "_links": {
            "self": {
              "href": "https://api.mux.com/video/v1/assets/abc123asset"
            }
          }
        }
      ]
    }
  }
}