Skip to content

TencentOptions

Namespace: Vercel.AI.Tencent

public sealed class TencentOptions : OpenAICompatibleOptions

Tencent provider settings. Adds the Tencent Cloud credentials for VOD video models to OpenAICompatibleOptions. ApiKey is the TokenHub API key, used by language models and TokenHub video models. It defaults to the TENCENT_TOKENHUB_API_KEY environment variable. BaseUrl is the TokenHub base URL and defaults to https://tokenhub-intl.tencentcloudmaas.com/v1.

Inheritance: object → OpenAICompatibleOptions

View source

public string? Region { get; set; }

Tencent Cloud region sent as X-TC-Region on VOD requests. VOD AIGC actions do not require a region.

Value: string

View source

public string? SecretId { get; set; }

Tencent Cloud API SecretId, used by VOD video models. Defaults to the TENCENTCLOUD_SECRET_ID environment variable.

Value: string

View source

public string? SecretKey { get; set; }

Tencent Cloud API SecretKey, used by VOD video models. Defaults to the TENCENTCLOUD_SECRET_KEY environment variable.

Value: string

View source

public string? SessionToken { get; set; }

Session token for temporary Tencent Cloud credentials, sent as X-TC-Token. Defaults to the TENCENTCLOUD_SESSION_TOKEN environment variable.

Value: string

View source

public string? SubAppId { get; set; }

VOD application id (SubAppId), used by VOD video models. Defaults to the TENCENTCLOUD_VOD_SUB_APP_ID environment variable.

Value: string

View source

public string? VodBaseUrl { get; set; }

VOD API base URL. Defaults to https://vod.intl.tencentcloudapi.com.

Value: string

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product