Skip to content
Eden Engine

Xigua Video Renditions by Item ID (Quality Levels, No Links)

omnial/xigua-video-renditions

Takes a Xigua video's item ID and returns its length in seconds, its default quality label and media type, and up to three encoded renditions, each with its quality label, container format, width, height, bitrate, file size, video codec and audio channel and sample-rate details. Technical details only: no play, download or cover links.

activeper callv1

Price

Up to $0.00205 per call; you pay what the call used

The price shown is the price you pay. No monthly minimum. Top-ups start at $5.

Data source

Xigua Video

Data from Xigua Video.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/xigua-video-renditions" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/xigua-video-renditions" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/xigua-video-renditions", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/xigua-video-renditions", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.00205
Updated
Oct 17, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "item_id"
  ],
  "properties": {
    "item_id": {
      "type": "string",
      "pattern": "^[0-9]+$",
      "description": "The Xigua video's numeric item ID, as it appears in the video's page address."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "media_type": {
      "type": "string",
      "description": "The kind of media (video)."
    },
    "video_list": {
      "type": "object",
      "properties": {
        "video_1": {
          "type": "object",
          "properties": {
            "size": {
              "type": "number",
              "description": "The rendition's file size, in bytes."
            },
            "vtype": {
              "type": "string",
              "description": "The rendition's container format."
            },
            "vwidth": {
              "type": "number",
              "description": "The rendition's width in pixels."
            },
            "bitrate": {
              "type": "number",
              "description": "The rendition's bitrate, in bits per second."
            },
            "vheight": {
              "type": "number",
              "description": "The rendition's height in pixels."
            },
            "codec_type": {
              "type": "string",
              "description": "The rendition's video codec."
            },
            "definition": {
              "type": "string",
              "description": "The rendition's quality label (for example 720p)."
            },
            "audio_channels": {
              "type": "string",
              "description": "The audio channel layout count (for example 2.0)."
            },
            "audio_sample_rate": {
              "type": "string",
              "description": "The audio sample rate, in hertz."
            }
          },
          "description": "Rendition slot 1."
        },
        "video_2": {
          "type": "object",
          "properties": {
            "size": {
              "type": "number",
              "description": "The rendition's file size, in bytes."
            },
            "vtype": {
              "type": "string",
              "description": "The rendition's container format."
            },
            "vwidth": {
              "type": "number",
              "description": "The rendition's width in pixels."
            },
            "bitrate": {
              "type": "number",
              "description": "The rendition's bitrate, in bits per second."
            },
            "vheight": {
              "type": "number",
              "description": "The rendition's height in pixels."
            },
            "codec_type": {
              "type": "string",
              "description": "The rendition's video codec."
            },
            "definition": {
              "type": "string",
              "description": "The rendition's quality label (for example 720p)."
            },
            "audio_channels": {
              "type": "string",
              "description": "The audio channel layout count (for example 2.0)."
            },
            "audio_sample_rate": {
              "type": "string",
              "description": "The audio sample rate, in hertz."
            }
          },
          "description": "Rendition slot 2."
        },
        "video_3": {
          "type": "object",
          "properties": {
            "size": {
              "type": "number",
              "description": "The rendition's file size, in bytes."
            },
            "vtype": {
              "type": "string",
              "description": "The rendition's container format."
            },
            "vwidth": {
              "type": "number",
              "description": "The rendition's width in pixels."
            },
            "bitrate": {
              "type": "number",
              "description": "The rendition's bitrate, in bits per second."
            },
            "vheight": {
              "type": "number",
              "description": "The rendition's height in pixels."
            },
            "codec_type": {
              "type": "string",
              "description": "The rendition's video codec."
            },
            "definition": {
              "type": "string",
              "description": "The rendition's quality label (for example 720p)."
            },
            "audio_channels": {
              "type": "string",
              "description": "The audio channel layout count (for example 2.0)."
            },
            "audio_sample_rate": {
              "type": "string",
              "description": "The audio sample rate, in hertz."
            }
          },
          "description": "Rendition slot 3."
        }
      },
      "description": "The encoded renditions, keyed by slot (video_1 to video_3); a slot is absent when the video has no rendition there."
    },
    "video_duration": {
      "type": "number",
      "description": "The video's length, in seconds."
    },
    "auto_definition": {
      "type": "string",
      "description": "The quality label of the rendition the platform picks by default."
    }
  },
  "description": "The renditions of one Xigua video."
}