declare namespace Wm {
  interface ImgSize {
    "width": string,
    "height": string,
  }

  interface PromptHistory {
    "role": string,
    "content": string,
  }

  interface PicText {
    "text": string,
    "color": string,
    "bg_color": string,
    "font_size": number,
    "position": number,
  }

  interface ScriptsItem {
    "编号": string,
    "场景描述": string,
    "场景关键词": string,
    "场景关键词英文": string,
    "角色": string,
    "角色关键词": string,
    "角色关键词英文": string,
    "画面描述词": string,
    "本镜配图": string,
    "local_image_path": string,
    "info": string,
    "roles": String[],
  }

  interface GenVideo {
    "task_id": string,
    "task_info": GenVideoItem[],
  }
  
  interface GenVideoItem {
    "idx": string,
    "text": string,
    "img_path": string,    
  }

  interface RolesItem {
    "角色": string,
    "角色关键词": string,
    "角色关键词英文": string,
    "属性": string,
  }

  interface UploadResult {
    "code": int,
    "data": [
        {
            "id": int,
            "key": string,
            "path": string,
            "url": string
        }
    ],
    "message": string
  }
}
