Topview-api-English version
  1. Upload
Topview-api-English version
  • API Document
  • Avatar Marketing Video
    • script
      • List script content
      • Update script content
    • Submit task
      POST
    • Query task
      GET
    • Export
      POST
  • Video Avatar
    • submit task
      POST
    • query task
      GET
  • Scraper
    • submit scraper task
      POST
    • query scraper task
      GET
  • Upload
    • Get Upload Credential
      GET
    • Get Upload Check
      GET
  • Product Avatar
    • Replace Product Image
      • submit task
      • query task
    • Image2Video
      • submit task
      • query task
    • Category Query
      GET
    • Public product avatar Query
      GET
  • Common Task
    • image2Video
      • submit task
      • query task
  • Product AnyShoot
    • Replace Product Image
      • submit task
      • query task
    • Template Category
      GET
    • Template List
      GET
  • Caption List
    GET
  • Voice Query
    GET
  • AiAvatar Query
    GET
  • check notice url
    POST
  • Ethnicity Query
    GET
  1. Upload

Get Upload Credential

GET
/v1/upload/credential

Request

Query Params
format
string 
required
Currently, only mp4, mov, png, jpg, jpeg, bmp, webp, mp3, wav and m4a are supported.
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/upload/credential?format=' \
--header 'Topview-Uid;' \
--header 'Authorization;'

Responses

🟢200成功
application/json
Body
code
string 
required
message
string 
required
result
object 
required
fileId
string 
File ID
required
fileName
string 
File Name
required
format
string 
File Format
required
uploadUrl
string 
Upload URL
required
Example
{
    "code": "string",
    "message": "string",
    "result": {
        "fileId": "string",
        "fileName": "string",
        "format": "string",
        "uploadUrl": "string"
    }
}
Modified at 2025-05-30 10:00:05
Previous
query scraper task
Next
Get Upload Check
Built with