import * as $dara from '@darabonba/typescript'; export declare class SubmitMediaCensorJobRequestInput extends $dara.Model { /** * @remarks * The identifier for the input file. You can specify either an OSS URL or a media ID. * Valid OSS URL formats: * * 1\\. `oss://bucket/object` * * 2\\. `http(s)://bucket.oss-[regionId].aliyuncs.com/object` * * The `bucket` must be in the same region as the project, and `object` is the path to the file. * * @example * 1b1b9cd148034739af413150fded**** */ media?: string; /** * @remarks * The type of the input file. Valid values: * * `OSS`: an OSS URL * * `Media`: a media ID * * @example * Media */ type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class SubmitMediaCensorJobRequestScheduleConfig extends $dara.Model { /** * @remarks * The pipeline ID. * * @example * 5246b8d12a62433ab77845074039**** */ pipelineId?: string; /** * @remarks * The task priority. A higher value indicates a higher priority. Valid values range from 1 to 10. * * @example * 6 */ priority?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class SubmitMediaCensorJobRequest extends $dara.Model { /** * @remarks * The video barrages (on-screen comments). * * > If specified, it overrides the barrages specified in the Media object. * * @example * hello world */ barrages?: string; /** * @remarks * The Object Storage Service (OSS) files for the cover images, specified as a JSON array. You can specify up to five cover images. * * > If specified, this parameter overrides the cover image information in the **Media** object. * * @example * [{"Bucket":"example-bucket-****","Location":"oss-cn-shanghai","Object":"example-****.jpeg","RoleArn":"acs:ram::1997018457688683:role/AliyunICEDefaultRole"}] */ coverImages?: string; /** * @remarks * The video description. The maximum length is 128 bytes. * * > If specified, this parameter overrides the description specified in the Media object. * * @example * example description */ description?: string; /** * @remarks * The input file to censor. */ input?: SubmitMediaCensorJobRequestInput; /** * @remarks * The callback path. Both Message Service (MNS) and HTTP callbacks are supported. * * @example * mns://125340688170****.oss-cn-shanghai.aliyuncs.com/queues/example-pipeline */ notifyUrl?: string; /** * @remarks * The output location for screenshots. The censor job generates screenshots and a result JSON file in the OSS location specified by this parameter. * * - Example format: `oss://bucket/snapshot-{Count}.jpg`, where `bucket` is the name of an OSS bucket in the same region as the project, and `{Count}` is a placeholder for the screenshot sequence number. * * - The detailed censor results are saved to a file named `{jobId}.output` in the same OSS folder as the value of `Output`. For information about the fields in the output file, see [Media censor result file fields](https://help.aliyun.com/document_detail/609211.html). * * @example * oss://sashimi-cn-shanghai/censor/snapshot-{Count}.jpg */ output?: string; /** * @remarks * The scheduling configuration. */ scheduleConfig?: SubmitMediaCensorJobRequestScheduleConfig; /** * @remarks * The template ID. If this parameter is left empty, the service uses the default template for the censor job. * * @example * S00000001-100060 */ templateId?: string; /** * @remarks * The video title. The maximum length is 64 bytes. * * > If specified, this parameter overrides the title specified in the Media object. * * @example * Hello World */ title?: string; /** * @remarks * The user-defined data. The maximum length is 128 bytes. * * @example * UserDatatestid-001-**** */ userData?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }