import * as $dara from '@darabonba/typescript'; export declare class SubmitCopyrightJobRequestInput extends $dara.Model { /** * @remarks * The URL of the source file. You can specify the path of an OSS object in one of the following formats: * * 1\\. oss://bucket/object * * 2\\. http(s)://bucket.oss-[regionId].aliyuncs.com/object * * where bucket specifies an OSS bucket that resides in the same region as the job, and object specifies the object path in OSS. * * This parameter is required. * * @example * oss://bucket/object */ media?: string; /** * @remarks * The type of the source file. Valid values: * * 1. OSS: an OSS object. * 2. Media: a media asset. * * This parameter is required. * * @example * OSS */ type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class SubmitCopyrightJobRequestOutput extends $dara.Model { /** * @remarks * The OSS path where the output file is saved. You can specify the path in one of the following formats: * * 1\\. oss://bucket/object * * 2\\. http(s)://bucket.oss-[regionId].aliyuncs.com/object where bucket specifies an OSS bucket that resides in the same region as the job, and object specifies the object path in OSS. * * This parameter is required. * * @example * oss://test-bucket/output.mp4 */ media?: string; /** * @remarks * The type of the output file. Valid value: * * 1. OSS: an OSS object. * * This parameter is required. * * @example * OSS */ type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class SubmitCopyrightJobRequest extends $dara.Model { /** * @remarks * The description of the watermark. * * @example * Description */ description?: string; /** * @remarks * The source video file that you want to add a watermark to. * * > The OSS object or media asset must reside in the same region as the IMS service region. * * This parameter is required. * * @example * {"Bucket":"example-bucket","Location":"oss-cn-shanghai","Object":"example.mp4"} */ input?: SubmitCopyrightJobRequestInput; /** * @remarks * The watermark level, which specifies the channel to embed watermarks. Valid values: 0 specifies the 0u channel, 1 specifies the 1uv channel, and 2 specifies the 2yuv channel. * * @example * 0 */ level?: number; /** * @remarks * The information about the watermark to be added. * * This parameter is required. * * @example * Test */ message?: string; /** * @remarks * The URL of the output file. * * > The OSS bucket must reside in the same region as the IMS service region. * * This parameter is required. * * @example * {"Bucket":"example-bucket","Location":"oss-cn-shanghai","Object":"example_result.mp4"} */ output?: SubmitCopyrightJobRequestOutput; /** * @remarks * The parameters related to watermark jobs. The value is a JSON string. Supported parameter: * * * algoType: the algorithm type. Default value: v1. * * * v1: watermarking for long videos that last at least 3 minutes. * * v2: watermarking for videos shorter than 3 minutes. * * @example * {"algoType":"v2"} */ params?: string; /** * @remarks * The start time of the watermark. Unit: seconds. If you do not specify this parameter, the default value 0 is used. * * @example * 0 */ startTime?: number; /** * @remarks * The end time of the watermark. Unit: seconds. If you do not specify this parameter, the default value is the video duration. * * @example * 10 */ totalTime?: number; /** * @remarks * The custom data, which can be up to 1,024 bytes in size. * * @example * 123 */ userData?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }