Topview-api
  1. script
Topview-api
  • API文档
  • Avatar Marketing Video
    • script
      • list script content
        GET
      • update script content
        POST
    • submit task
      POST
    • query task
      GET
    • export
      POST
  • Video Avatar
    • Video Avatar API Usage
    • submit task
      POST
    • query task
      GET
  • Product Avatar
    • Product Avatar API Usage
    • Replace Product Image
      • submit task
      • query task
    • Image2Video
      • submit task
      • query task
    • Category Query
      GET
    • Public product avatar Query
      GET
  • Product AnyShoot
    • Replace Product Image
      • submit task
      • query task
    • Template Category
      GET
    • Template List
      GET
  • Common Task
    • image2Video
      • submit task
      • query task
  • Scraper
    • submit scraper task
      POST
    • query scraper task
      GET
  • Upload
    • Get Upload Credential
      GET
    • Get Upload Check
      GET
  • check notice url
    POST
  • Voice Query
    GET
  • Ethnicity Query
    GET
  • AiAvatar Query
    GET
  • Caption List
    GET
  1. script

list script content

Developing
GET
/v1/m2v/script/list

Request

Query Params
taskId
string 
required
submit task后获得的taskId
Header Params
Topview-Uid
string 
required
Authorization
string 
required

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.topview.ai/v1/m2v/script/list?taskId=' \
--header 'Topview-Uid;' \
--header 'Authorization;'

Responses

🟢200成功
application/json
Body
code
string 
required
message
string 
required
result
array [object {2}] 
required
scriptId
integer 
脚本id
required
scriptContents
array [object {2}] 
脚本内每个片段的内容
required
Example
{
    "code": "string",
    "message": "string",
    "result": [
        {
            "scriptId": 0,
            "scriptContents": [
                {
                    "segId": 0,
                    "segText": "string"
                }
            ]
        }
    ]
}
Modified at 2024-11-01 10:36:11
Previous
API文档
Next
update script content
Built with