import * as $dara from '@darabonba/typescript'; export declare class SubmitDynamicImageJobRequestInput extends $dara.Model { /** * @remarks * The input media resource. * * - If `Type` is set to `OSS`, specify the OSS URL of the input file. * * - If `Type` is set to `Media`, specify the media asset ID. * * An OSS URL must be in one of the following formats: * * 1. `oss://bucket/object` * * 2. `http(s)://bucket.oss-[RegionId].aliyuncs.com/object` * * In these formats, `bucket` is the name of an OSS bucket in the same region as the current project, and `object` is the file path. * * > The specified OSS bucket must be registered in IMS [storage management](https://help.aliyun.com/document_detail/609918.html). * * This parameter is required. * * @example * oss://bucket/object.mp4 */ media?: string; /** * @remarks * The type of the job input. Valid values: * * - `OSS`: An Object Storage Service (OSS) file URL. * * - `Media`: A media asset ID. * * 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 SubmitDynamicImageJobRequestOutput extends $dara.Model { /** * @remarks * The destination OSS URL for the output file. This parameter is required when `Type` is set to `OSS`. The URL must be in one of the following formats: * * - `oss://bucket/object` * * - `http(s)://bucket.oss-[regionId].aliyuncs.com/object` * * In these formats, `bucket` is the name of an OSS bucket in the same region as the current project, and `object` is the file path. * * > The specified OSS bucket must be registered in IMS [storage management](https://help.aliyun.com/document_detail/609918.html). * * This parameter is required. * * @example * ****96e8864746a0b6f3**** */ media?: string; /** * @remarks * The type of the job output. Valid values: * * - `OSS`: The output is an OSS file. * * - `Media`: The output is a new media asset. * * This parameter is required. * * @example * Media */ type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class SubmitDynamicImageJobRequestScheduleConfig extends $dara.Model { /** * @remarks * The pipeline ID. * * @example * ****96e8864746a0b6f3**** */ pipelineId?: string; /** * @remarks * The priority of the job. Valid range: [1, 10]. A higher value indicates a higher priority. Default value: 6. * * @example * 6 */ priority?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class SubmitDynamicImageJobRequestTemplateConfigOverwriteParamsTimeSpan extends $dara.Model { /** * @remarks * The duration of the video segment to be processed. * * - Format: `hh:mm:ss[.SSS]` or `sssss[.SSS]`. * * - Valid range: `[00:00:00.000,23:59:59.999]` or `[0.000,86399.999]`. * * @example * 01:59:59.999 or 32000.23 */ duration?: string; /** * @remarks * The end time of the video segment to be processed. If this parameter is set, the `Duration` parameter is ignored. * * - Format: `hh:mm:ss[.SSS]` or `sssss[.SSS]`. * * - Valid range: `[00:00:00.000,23:59:59.999]` or `[0.000,86399.999]`. * * @example * 01:59:59.999 or 32000.23 */ end?: string; /** * @remarks * The start time of the video segment to be processed. * * - Format: `hh:mm:ss[.SSS]` or `sssss[.SSS]`. * * - Valid range: `[00:00:00.000,23:59:59.999]` or `[0.000,86399.999]`. * * @example * 01:59:59.999 or 32000.23 */ seek?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class SubmitDynamicImageJobRequestTemplateConfigOverwriteParams extends $dara.Model { /** * @remarks * The animated image format. Valid values: * * - `gif` * * - `webp` * * @example * gif */ format?: string; /** * @remarks * The frame rate. Valid range: [1, 60]. * * @example * 15 */ fps?: number; /** * @remarks * The height of the output animated image. Valid range: [128, 4096]. * * @example * 720 */ height?: number; /** * @remarks * Specifies whether to enable adaptive orientation based on the long and short edges of the video. Valid values: * * - **true**: Enables adaptive orientation. * * - **false**: Disables adaptive orientation. * * Default value: **true**. * * > When enabled, this mode sets the output width to the source video\\"s long edge and the output height to its short edge. For a portrait video, its height is treated as the long edge and its width as the short edge. * * @example * false */ longShortMode?: boolean; /** * @remarks * The scan mode. Valid values: * * - **interlaced**: Interlaced scanning. * * - **progressive**: Progressive scanning. This is the default value. * * @example * progressive */ scanMode?: string; /** * @remarks * Specifies the time range of the video to process for the animated image. */ timeSpan?: SubmitDynamicImageJobRequestTemplateConfigOverwriteParamsTimeSpan; /** * @remarks * The width of the output animated image. Valid range: [128, 4096]. * * @example * 1024 */ width?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class SubmitDynamicImageJobRequestTemplateConfig extends $dara.Model { /** * @remarks * The overwrite parameters. */ overwriteParams?: SubmitDynamicImageJobRequestTemplateConfigOverwriteParams; /** * @remarks * The template ID. * * This parameter is required. * * @example * ****96e8864746a0b6f3**** */ templateId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class SubmitDynamicImageJobRequest extends $dara.Model { /** * @remarks * The job input. * * This parameter is required. */ input?: SubmitDynamicImageJobRequestInput; /** * @remarks * The job name. * * @example * SampleJob */ name?: string; /** * @remarks * The job output. * * This parameter is required. */ output?: SubmitDynamicImageJobRequestOutput; /** * @remarks * The scheduling configuration. */ scheduleConfig?: SubmitDynamicImageJobRequestScheduleConfig; /** * @remarks * The snapshot template configuration. * * This parameter is required. */ templateConfig?: SubmitDynamicImageJobRequestTemplateConfig; /** * @remarks * The user-defined data. * * @example * {"SampleKey": "SampleValue"} */ userData?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }