Skip to main content
POST
创建自定义主体

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
element_name
string
required

主体名称。

Example:

"my-character"

element_description
string
required

主体描述。

Example:

"视频系列主角"

reference_type
enum<string>
required

参考类型,固定为 image_refer

Available options:
image_refer
Example:

"image_refer"

element_image_list
object
required
tag_list
object[]
required

标签列表。可用 tag_id:

  • o_101:热梗
  • o_102:人物(Character)
  • o_103:动物
  • o_104:道具
  • o_105:服饰
  • o_106:场景(Scene)
  • o_107:特效
  • o_108:其他

Response

主体创建任务已提交

id
string

任务 ID

Example:

"863121016086724692"

task_id
string

任务 ID(同 id)

Example:

"863121016086724692"

object
string

固定 video

Example:

"video"

model
string

固定 kling-element

Example:

"kling-element"

status
string

初始为空

Example:

""

progress
integer

进度 0–100

Example:

0

created_at
integer

Unix 时间戳

Example:

1773812605