获取视频的最高画质播放链接/Get the highest quality play URL of the video

Douyinapi

About

获取视频的最高画质播放链接/Get the highest quality play URL of the video

Documentation

获取视频的最高画质播放链接/Get the highest quality play URL of the video

[中文]

用途:

  • 价格:0.005$ 一次。
  • 获取视频的最高画质(原始上传画质)播放链接
  • 该接口会返回最高画质的播放链接,原始上传画质是指用户上传视频时的画质,通常最高画质视频无压缩码率并且文件头包含元数据。
  • 最高画质的视频链接无法从抖音APP或网页版直接获取,需要通过此接口获取。
  • 此接口非常适合用于获取高清无水印视频链接,适用于需要高质量视频的场景,如视频编辑、存档、训练模型等。
  • 一般情况都可以在线播放,如果不行,可以尝试使用IDM或浏览器下载后播放。

参数:

  • aweme_id: 作品id,优先使用aweme_id,如果没有则使用share_url。
  • share_url: 可选,分享链接,如果提供了作品id,则此参数可以不传。
  • region: 可选,请求出口地区(ISO 国家代码,如 "CN" / "US" / "HK")。
    • 抖音服务器会根据请求 IP 返回对应区域的 CDN 域名, 因此当用户位于中国大陆时建议传 region="CN" 以拿到国内 CDN 链接, 下载速度会显著比海外 CDN 更快。
    • 不传则使用本服务出口 IP(通常是海外节点,返回海外 CDN)。

返回:

  • video_id: 作品id
  • original_video_url: 最高画质(原始上传画质)播放链接
  • video_data: 视频数据,包含视频的元数据,如时长、大小等。

[English]

Purpose:

  • Price: 0.005$ each time.
  • Get the highest quality (original upload quality) play URL of the video
  • This interface will return the highest quality play URL, the original upload quality refers to the quality of the video when the user uploads it, usually the highest quality video has an uncompressed bitrate and the file header contains metadata.
  • The highest quality video link cannot be obtained directly from the Douyin APP or web version, and must be obtained through this interface.
  • This interface is very suitable for obtaining high-definition, watermark-free video links, suitable for scenarios that require high-quality videos, such as video editing, archiving, training models, etc.
  • Generally, it can be played online, if not, you can try to download it using IDM or a browser and then play it.

Parameters:

  • aweme_id: Video id, prefer to use aweme_id, if not available, use share_url.
  • share_url: Optional, share link, if the video id is provided, this parameter can be omitted.
  • region: Optional, ISO country code (e.g. "CN" / "US" / "HK") used as the request exit region.
    • Douyin returns CDN URLs based on the request IP. Pass region="CN" for users located in mainland China to get China-region CDN URLs, which are significantly faster than overseas CDNs.
    • If omitted, the request uses the service's own exit IP (typically overseas).

Return:

  • video_id: Video id
  • original_video_url: Highest quality (original upload quality) play URL
  • video_data: Video data, including metadata such as duration, size, etc.

[示例/Example]

aweme_id = "7512756548356492544" share_url = "https://www.douyin.com/video/7512756548356492544" region = "CN"

Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.

Try 获取视频的最高画质播放链接/Get the highest quality play URL of the video

Test this model in the Sandbase Playground with your own prompts.

Open in Playground

Related Models