搜索视频/Search video

Xiguaapi

About

搜索视频/Search video

Documentation

搜索视频/Search video

[中文]

用途:

  • 搜索视频

参数:

  • keyword: 关键词
  • offset: 偏移量,第一次请求传0,后续请求传上一次请求返回的offset
  • order_type: 排序方式,为空时按照默认排序,以下为可选排序方式。
    • 最新: publish_time
    • 最热: play_count
  • min_duration: 最小时长,默认空,单位秒。
  • max_duration: 最大时长,默认空,单位秒。

返回:

  • 视频列表

[English]

Purpose:

  • Search video

Parameters:

  • keyword: Keyword
  • offset: Offset, pass 0 for the first request, pass the offset returned by the previous request for subsequent requests
  • order_type: Order type, empty for default sorting, the following are optional sorting methods.
    • Newest: publish_time
    • Hottest: play_count
  • min_duration: Minimum duration, default empty, in seconds.
  • max_duration: Maximum duration, default empty, in seconds.

Return:

  • Video list

[示例/Example]

搜索关键字为“抖音”的视频,按照播放量排序,时长1-180秒(1-3分钟) Search for videos with the keyword "抖音", sorted by play count, duration 1-180 seconds (1-3 minutes) keyword: "抖音" order_type: "play_count" min_duration: 1 max_duration: 180

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

Try 搜索视频/Search video

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

Open in Playground

Related Models