follow update 21(https://aigc-doc.cqrthny.com/document/digital_human.html#_4-%E6%9B%B4%E6%96%B0%E8%AE%B0%E5%BD%95)
This commit is contained in:
28
typings/types.d.ts
vendored
28
typings/types.d.ts
vendored
@@ -58,16 +58,33 @@ interface ServiceBalance {
|
||||
request_type: ServiceTag
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents an item related to a digital human.
|
||||
*
|
||||
* @interface DigitalHumanItem
|
||||
*
|
||||
* @property {number} user_id - The ID of the user associated with the digital human.
|
||||
* @property {number} create_time - The timestamp when the digital human item was created.
|
||||
* @property {number} [id] - Internal model ID
|
||||
* @property {number} model_id - 上Upstream model ID
|
||||
* @property {string} avatar - The URL or path to the avatar image of the digital human.
|
||||
* @property {number} type - 1: upstream, 2: internal
|
||||
* @property {string} name - The name of the digital human.
|
||||
* @property {string} description - A brief description of the digital human.
|
||||
* @property {number} [digital_human_id] - The ID of the digital human.
|
||||
*/
|
||||
interface DigitalHumanItem {
|
||||
user_id: number
|
||||
create_time: number
|
||||
// Local ID
|
||||
id?: number
|
||||
// Upstream model ID
|
||||
model_id: number
|
||||
avatar: string
|
||||
type: number
|
||||
type?: 1 | 2
|
||||
name: string
|
||||
description: string
|
||||
id?: number
|
||||
digital_human_id: number
|
||||
digital_human_id?: number
|
||||
}
|
||||
|
||||
interface GBVideoItem {
|
||||
@@ -164,8 +181,9 @@ namespace req {
|
||||
namespace file {
|
||||
interface Upload {
|
||||
file_name: string
|
||||
file_type: string
|
||||
file_type: 'material' | 'ppt' | 'subtitles' | 'preview' | 'tmp'
|
||||
file_size: number
|
||||
file_mime: string
|
||||
}
|
||||
}
|
||||
|
||||
@@ -231,6 +249,8 @@ namespace req {
|
||||
content: string
|
||||
bg_img?: string
|
||||
speed?: number
|
||||
// 1: upstream 2: internal
|
||||
source_type?: 1 | 2
|
||||
}
|
||||
|
||||
interface GBVideoDelete {
|
||||
|
||||
Reference in New Issue
Block a user