- API Document
- Avatar Marketing Video
- Video Avatar
- Scraper
- Upload
- Product Avatar
- Replace Product Image
- Image2Video
- Category QueryGET
- Public product avatar QueryGET
- Common Task
- image2Video
- Product AnyShoot
- Replace Product Image
- Template CategoryGET
- Template ListGET
- Caption ListGET
- Voice QueryGET
- AiAvatar QueryGET
- check notice urlPOST
- Ethnicity QueryGET
Update script content
POST
/v1/m2v/script/update
Request
Header Params
Topview-Uid
string
required
Authorization
string
required
Body Params application/json
taskId
string
Task ID
scriptId
integer
Script ID
scriptContents
array [object {2}]
List of script contents to be modified
segId
integer
required
segText
string
required
Example
{
"taskId": "string",
"scriptId": 0,
"scriptContents": [
{
"segId": 0,
"segText": "string"
}
]
}
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 POST 'https://api.topview.ai/v1/m2v/script/update' \
--header 'Topview-Uid;' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"taskId": "string",
"scriptId": 0,
"scriptContents": [
{
"segId": 0,
"segText": "string"
}
]
}'
Responses
🟢200成功
application/json
Body
code
string
required
message
string
required
result
object
required
taskId
string
required
status
string
required
errorMsg
null
required
Example
{
"code": "string",
"message": "string",
"result": {
"taskId": "string",
"status": "string",
"errorMsg": null
}
}
Modified at 2025-03-20 06:10:53