Overview
This node integrates with Tencent Video on Demand (VOD) service to manage media processing tasks. Specifically, the Submit Task operation allows users to submit various types of media processing tasks by providing a detailed task request body. This is useful for automating workflows that require video recognition, transcoding, or other media processing features supported by Tencent VOD.
Common scenarios include:
- Submitting AI recognition tasks on uploaded videos.
- Triggering transcoding or content analysis jobs.
- Automating media processing pipelines after video upload.
Example use case: After uploading a video to Tencent VOD, you can use this node to submit an AI recognition task that detects objects or scenes in the video by specifying the appropriate task definition in the request body.
Properties
| Name | Meaning |
|---|---|
| Task Request Body | The JSON object representing the media processing task request. Supports various task types. Example: { "AiRecognitionTask": { "Definition": 72507 }, "FileId": "xxx" } |
Output
The node outputs an array of JSON objects, each corresponding to one submitted task. Each object contains:
success: Boolean indicating if the task submission was successful.taskId: The unique identifier of the submitted task.status: The current status of the task as returned by Tencent VOD.response: The full response object from Tencent VOD API for the submitted task.
The output does not include binary data; it focuses on JSON metadata about the submitted media processing tasks.
Dependencies
- Requires an API key credential for Tencent VOD with permissions to submit media processing tasks.
- The node communicates with Tencent VOD's official API endpoint (
vod.tencentcloudapi.com) using HTTPS. - The region is fixed to
ap-guangzhouin the signature generation. - No additional environment variables are required beyond the API credentials.
Troubleshooting
- Missing or invalid Action parameter error: If the internal API call lacks the required action name, the node will throw an error indicating a missing Action parameter. Ensure the operation and request body are correctly set.
- API errors from Tencent VOD: Errors returned by the Tencent VOD API (e.g., invalid task definitions, unauthorized requests) will be surfaced with messages prefixed by "Tencent Cloud API error". Check your API credentials and the correctness of the task request body.
- JSON parsing errors: If the task request body is malformed JSON, the node will fail to parse it. Validate the JSON format before submitting.
- No Response or missing TaskId: If the API response does not contain expected fields like
TaskId, the node throws an error indicating failure to retrieve upload information or task submission failure. Verify the request parameters and API quota.