Shopee SDK API Reference - v2.8.0
    Preparing search index...

    Interface InitVideoUploadRequest

    Request parameters for init_video_upload

    Use this API to initialize a new video upload task and obtain a unique upload session ID.

    interface InitVideoUploadRequest {
        business: number;
        duration: number;
        file_name: string;
        file_size: number;
        scene: number;
    }
    Index

    Properties

    business: number

    Defines the business type of the uploaded image. Supported values: 3 = Video

    duration: number

    Video duration in seconds. Rules and restrictions by business and scene:- If business = 3 (Video) and scene = 1 (Shopee Video): 1s~180s.

    file_name: string

    Original video file name.

    file_size: number

    Total video file size in bytes. Rules and restrictions by business and scene: - If business = 3 (Video) and scene = 1 (Shopee Video): Maximum 1GB.

    scene: number

    Defines the purpose of the uploaded image under the specified business type. Supported values: - If business = 3 (Video): 1 = Shopee Video