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

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

Xigua Video

Data from Xigua Video.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
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 27, 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."
}