GiantWaveAI(API Docs 2.1)
  1. Template
GiantWaveAI(API Docs 2.1)
  • API Docs
  • Giantwave AI
    • Video
      • updateVideo
      • createVideo
      • getVideoInfomation
      • getVideoList
    • TTSTmp
      • getTtsTemplateInfo
      • getTtsTempalteList
    • Template
      • 获取模板详细信息
        GET
      • 查询模板列表
        GET
    • Task
      • 新增任务
      • 修改任务
      • 任务状态回退
      • 获取任务详细信息
      • 查询任务列表
    • TaskBatch
      • 创建任务
      • 获取任务批次详细信息
      • 查询任务批次列表
    • post
      • putPosts
      • generatePosts
      • getPostsByTask
      • getPosts
      • getPostsList
    • material
      • getMaterial
      • getMaterialList
    • materialMark
      • 批量修改素材个性标注
      • 导出素材个性标注列表
      • 获取素材个性标注详细信息
      • 查询素材个性标注列表
      • 删除素材个性标注
    • materialLib
      • 获取素材库详细信息
      • 查询素材库列表
    • digitalHuman
      • putDigitalHumanTemplate
      • getDigitalHumanTemplate
      • getDigitalHumanTemplateList
    • GiantWave_material
      • 分页查询素材列表
  • login
    POST
  1. Template

获取模板详细信息

GET
/shipin/template/{id}
获取模板详细信息

Request

Path Params
id
integer 
required
主键
Header Params
Authorization
string 
optional
Default:
Bearer {{token}}

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 'http://192.168.2.91:8080/shipin/template/' \
--header 'Authorization: Bearer {{token}}'

Responses

🟢200OK
application/json
Body
响应信息主体
code
integer <int32>
optional
msg
string 
optional
data
object (SpTemplateVo) 
optional
模板视图对象 sp_template
id
integer <int64>
optional
模板id
tmpName
string 
optional
模板名称
tmpPreviewUrl
string 
optional
模板预览地址
tmpCoverUrl
string 
optional
模板封面地址
tmpTag
string 
optional
模板标签
tmpDesc
string 
optional
模板描述
videoWidth
integer <int64>
optional
视频宽度
videoHeight
integer <int64>
optional
视频高度
frameRate
number 
optional
视频帧率
hasSubtitle
integer <int32>
optional
是否有字幕(0否,1是)
hasMaterial
integer <int32>
optional
素材是否可插入(0否,1是)
createBy
string 
optional
创建者
createTime
string <date-time>
optional
创建时间
updateBy
string 
optional
更新者
updateTime
string <date-time>
optional
更新时间
templateParams
array[object (SpTemplateParamVo) {10}] 
optional
processGroups
array[object (SpProcessGroupInfoVo) {7}] 
optional
properStyle
string 
optional
适合的风格(取自字典标签)
properDuration
string 
optional
适合的时长(取自字典标签)
properPlatform
string 
optional
适合的平台(取自字典标签)
Example
{
    "code": 0,
    "msg": "string",
    "data": {
        "id": 0,
        "tmpName": "string",
        "tmpPreviewUrl": "string",
        "tmpCoverUrl": "string",
        "tmpTag": "string",
        "tmpDesc": "string",
        "videoWidth": 0,
        "videoHeight": 0,
        "frameRate": 0,
        "hasSubtitle": 0,
        "hasMaterial": 0,
        "createBy": "string",
        "createTime": "2019-08-24T14:15:22Z",
        "updateBy": "string",
        "updateTime": "2019-08-24T14:15:22Z",
        "templateParams": [
            {
                "id": 0,
                "tmpId": 0,
                "paramClass": "string",
                "paramName": "string",
                "paramType": 0,
                "paramCode": "string",
                "defaultValue": "string",
                "paramValue": "string",
                "isRequired": 0,
                "sort": 0
            }
        ],
        "processGroups": [
            {
                "processGroupId": 0,
                "groupName": "string",
                "groupDesc": "string",
                "typeName": "string",
                "typeDesc": "string",
                "groupSort": 0,
                "processList": [
                    {
                        "processGroupProcessId": 0,
                        "processId": 0,
                        "name": "string",
                        "typeName": "string",
                        "typeAction": "string",
                        "typeDesc": "string",
                        "parent": 0,
                        "layer": 0,
                        "startMark": 0,
                        "endMark": 0,
                        "code": "string",
                        "processSort": 0,
                        "processParamDtoList": [
                            {
                                "paramId": 0,
                                "paramClass": "string",
                                "paramName": "string",
                                "paramType": 0,
                                "paramKey": "string",
                                "paramValueType": 0,
                                "defaultValue": "string",
                                "paramValue": "string",
                                "paramSort": 0,
                                "empty": true
                            }
                        ]
                    }
                ]
            }
        ],
        "properStyle": "string",
        "properDuration": "string",
        "properPlatform": "string"
    }
}
Modified at 2024-03-14 09:11:49
Previous
getTtsTempalteList
Next
查询模板列表
Built with