Polyv Help Center

Help Center

Query the List of PPTs for Video Creation

Updated: 2026-07-13 11:57:31

API Description

1、查询用于视频创作的ppt列表
2、接口支持https协议

API URL

http://api.polyv.net/live/v4/ai/video-produce/ppt/list

Online API Call

Request Method

GET

API Constraints

  1. The API supports both HTTP and HTTPS. HTTPS is recommended for security. API calls have frequency limits. See details

Request Parameter Description

Parameter Required Type Description
appId true String Account appId See details for obtaining the key
timestamp true Long Current 13-digit millisecond timestamp, valid for 3 minutes
pageNumber true Integer Pagination parameter, page number
pageSize true Integer Pagination parameter, number of items per page, maximum 1000
sign true String Signature, a 32-character uppercase MD5 value. The appSecret key used to generate the signature is critical for communication data security. It must not be stored or used directly on the client. All APIs must be called through the customer's own server to relay requests to the POLYV server to obtain response data. See signature generation rules

Example

http://api.polyv.net/live/v4/ai/video-produce/ppt/list?timestamp=1716107535043&appId=gopl67qi7e&pageSize=100&sign=6625340A6017272DF55CD1F5DC42CFCB

Response Parameter Description

Parameter Type Description
code Integer Response status code, 200 for success, non-200 for failure
status String Response result, determined by business logic, returns "success" on success, "error" on failure
success Boolean Response result, determined by business logic, returns true on success, false on failure
data Object Detailed information on successful response See data field description
error Object Error information when status code is non-200 See Error field description
requestId String Request ID, a unique UUID generated for each request, used only for troubleshooting and debugging, not for business logic

data Parameter Description

Parameter Type Description
pageNumber Integer Pagination parameter, page number
pageSize Integer Pagination parameter, number of items per page
totalPages Integer Pagination parameter, total number of pages
totalItems Integer Pagination parameter, total number of items
contents List Detailed information of digital humans See contents parameter description

contents Parameter Description

Parameter Type Description
fileId String PPT file ID
fileName String File name
fileUrl String PPT file URL
totalPage Integer Total number of PPT pages, available only after transcoding is complete
status String PPT document status See PPT document status description
createTime Long PPT document creation time, 13-digit timestamp

PPT Document Status Description

Value Type Description
normal String Document transcoding and parsing completed. Note: Only in this status can the PPT be used to create a video creation task
failUpload String Upload failed
waitConvert String PPT transcoding and parsing in progress
failConvert String PPT transcoding and parsing failed

Response Example

Success Example

{
  "code": 200,
  "status": "success",
  "requestId": "e90aba2c69a24bab894c7f708b853b75.76.17161084951797397",
  "data": {
    "pageSize": 2,
    "pageNumber": 1,
    "totalItems": 19,
    "totalPages": 10,
    "contents": [
      {
        "autoId": 80000974,
        "fileId": "22d1a1586dc04382685996bc227bfb44c560fac50fpptVideocommon",
        "fileName": "111",
        "fileUrl": "http://doc-2.polyv.net/sources/20240515/22d1a1586dc04382685996bc227bfb44c560fac50fpptVideocommon.pptx",
        "fileType": ".pptx",
        "totalPage": 1,
        "channelId": null,
        "status": "normal",
        "createTime": 1715760834000,
        "convertType": "common",
        "previewImage": "http://doc-2.polyv.net/images/2024/05/22d1a1586dc04382685996bc227bfb44c560fac50fpptVideocommon/22d1a1586dc04382685996bc227bfb44c560fac50fpptVideocommon_0000_s.jpeg",
        "previewBigImage": "http://doc-2.polyv.net/images/2024/05/22d1a1586dc04382685996bc227bfb44c560fac50fpptVideocommon/22d1a1586dc04382685996bc227bfb44c560fac50fpptVideocommon_0000.jpeg",
        "teacherId": null,
        "sourceType": "pptVideo",
        "hasRemarks": true
      },
      {
        "autoId": 80000973,
        "fileId": "9c1dcfa8c2d3376d926a934e0acecdbbc560fac50fpptVideocommon",
        "fileName": "111",
        "fileUrl": "http://doc-2.polyv.net/sources/20240515/9c1dcfa8c2d3376d926a934e0acecdbbc560fac50fpptVideocommon.pptx",
        "fileType": ".pptx",
        "totalPage": null,
        "channelId": null,
        "status": "waitConvert",
        "createTime": 1715760425000,
        "convertType": "common",
        "previewImage": "http://doc-2.polyv.net/images/2024/05/9c1dcfa8c2d3376d926a934e0acecdbbc560fac50fpptVideocommon/9c1dcfa8c2d3376d926a934e0acecdbbc560fac50fpptVideocommon_0000_s.jpeg",
        "previewBigImage": "http://doc-2.polyv.net/images/2024/05/9c1dcfa8c2d3376d926a934e0acecdbbc560fac50fpptVideocommon/9c1dcfa8c2d3376d926a934e0acecdbbc560fac50fpptVideocommon_0000.jpeg",
        "teacherId": null,
        "sourceType": "pptVideo",
        "hasRemarks": false
      }
    ]
  },
  "success": true
}

Error Parameter Description

Parameter Type Description
code Integer Error code, used to identify the specific error reason
desc String Error description, corresponding to error.code
联系客服,在线咨询