Skip to content

Vercel.AI.Tencent

API reference

Public types in the Vercel.AI.Tencent namespace.

Type Summary
ParsedTencentVideoModelId A parsed video model id. Upstream ParsedTencentVideoModelId.
TencentChatLanguageModel TokenHub chat completions over the OpenAI-compatible protocol. Serializes its own config because the URL is rebuilt from the base URL when the model is restored.
TencentCloudApi Tencent Cloud API 3.0 client with TC3-HMAC-SHA256 signing. Upstream tencent-cloud-api.ts.
TencentCloudCredentials Credentials for Tencent Cloud API 3.0. Upstream TencentCloudCredentials.
TencentModelCatalog Known Tencent model ids and the per-model policy. Upstream tencent-model-catalog.ts.
TencentOptions 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 TENCENTTOKENHUBAPIKEY environment variable. BaseUrl is the TokenHub base URL and defaults to https://tokenhub-intl.tencentcloudmaas.com/v1.
TencentProvider Tencent Cloud provider: TokenHub chat models (OpenAI-compatible) and Kling (TokenHub) and VOD AIGC video models.
TencentProviderOptions Provider option descriptions. Upstream tencentProviderOptions.
TencentRequestConfig The request configuration of a Tencent catalog entry. Upstream requestConfig of tencentModelCatalog.
TencentServiceCollectionExtensions Registers Tencent.
TencentVideoAsset A VOD material registered with CreateAigcMaterial. Upstream assets entries.
TencentVideoElement A custom TokenHub Kling element. Upstream elements entries.
TencentVideoModel Tencent video model. CancellationToken) creates a task and CancellationToken) reads it. TokenHub Kling models use their TokenHub id (for example kling-video-v3); VOD AIGC models use vod//. The operation is a JSON object with the taskId.
TencentVideoModelOptions Provider-specific options for Tencent video generation, passed as providerOptions.tencent. Options apply to TokenHub Kling models (kling-video-), VOD AIGC models (vod//), or both. An option that does not apply to the selected model is ignored with a warning.
TencentVideoRequestConfig What a video model id implies for request building.
TencentVideoVoice A TokenHub Kling omni voice. Upstream voices entries.
TencentVodCredentials Credentials and application id for VOD. Upstream TencentVodCredentials.
Type Summary
TencentKlingVideoKind The kind of a TokenHub Kling video model. Upstream TencentKlingVideoKind.

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