All Products
Search
Document Center

:SubmitIProductionJob - Submit an intelligent production job

更新時間:Dec 26, 2025

Submits an intelligent production job.

Description

Jobs submitted by this operation are executed asynchronously. The jobs are added to an MPS queue for scheduling and execution. You can call the QueryIProductionJob operation to query the job result. You can also use asynchronous message notifications to obtain the result.

QPS limits

The queries per second (QPS) limit for a single user is 100 calls per second. Throttling is triggered if the limit is exceeded. This may affect your business operations. Plan your calls accordingly. For more information, see QPS limits.

Debug

Run this operation in OpenAPI Explorer to simplify API calls. You do not need to calculate a signature. After a successful call, OpenAPI Explorer automatically generates software development kit (SDK) code examples.

Authorization information

The following table describes the authorization information for this API call. You can add the information to the Action element of a Resource Access Management (RAM) access policy to grant a RAM user or a RAM role the permissions to call this API. Details:

  • Operation: The specific permission.
  • Access level: The access level of each operation. Valid values: Write, Read, and List.
  • Resource type: The type of resource that supports authorization. Details:
    • An asterisk ( * ) indicates a required resource type.
    • If an operation does not support resource-level authorization, All Resources
  • Condition key: The condition keys that are defined by the cloud service.
  • Associated operation: Other permissions that are required to call the operation. To call the operation, you must also have permissions for the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
mts:SubmitIProductionJob
*All Resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample
FunctionNamestringYes

The name of the feature algorithm. For information about the regions that support each feature algorithm, see Service regions. Valid values:

  • VideoH2V: Converts a horizontal video to a vertical video.

  • VideoDelogo: Removes watermarks from a video.

  • Cover: Smart thumbnail.

  • VideoClip: Video synopsis.

  • ImageH2V: Converts a horizontal image to a vertical image.

  • ImageDelogo: Removes watermarks from an image.

  • CaptionExtraction: Caption extraction. The algorithm takes the URL of a video as the input and outputs the extracted subtitle file.

  • VideoDetext: Removes hardcoded captions from a video.

  • VideoGreenScreenMatting: Image matting. The algorithm takes the URL of a video and the URL of a background image as inputs, and outputs the composited video.

  • MusicSegmentDetect: Chorus detection. The algorithm takes the URL of an audio or video file as the input and outputs the start and end times of each detected chorus segment. If no chorus is detected, the result is empty.

  • AudioMixing: Audio mixing.

  • AudioBeatDetection: Beat detection. The algorithm takes the URL of an audio or video file as the input and outputs a list of beat timestamps (BeatList) and a list of downbeat timestamps (DownBeatList).

  • ImageCartoonize: 3D style and face stylization. To use the face stylization feature, contact us on DingTalk at `yuanzhigao1209`.

  • AudioQualityAssessment: Audio quality assessment.

  • FaceBeauty: Video retouching.

  • SpeechDenoise: Intelligent noise reduction.

    Note The audio quality assessment feature supports 16-bit quantized WAV audio files with one or two sound channels. The supported sample rate range is 8,000 Hz to 48,000 Hz.
ImageCartoonize
ModelIdstringNo

The ID of the algorithm model. If you leave this parameter empty, the default model for the specified feature is used. In most cases, you can leave this parameter empty and use the default model.

null
JobParamsstringYes

The parameters for the algorithm job. This is a JSON object. The parameters vary based on the algorithm. For more information, see Supplementary parameters for intelligent production operations.

{"Model":"gif"}
ScheduleParamsstringNo

The job scheduling parameters. This parameter specifies the job scheduling configuration. This parameter is optional. You can leave it empty.

null
NotifyUrlstringNo

The callback path. Only Message Service (MNS) queues are supported. To view the path of an MNS queue, go to the MNS console and choose Queues > Details.

mns://125340688170****.mns.cn-beijing.aliyuncs.com/queues/example-pipeline
UserDatastringNo

Custom business data. This data is returned to the specified webhook address along with the callback information. This parameter is optional. You can leave it empty.

{\"key\":\"value\"}
PipelineIdstringNo

The ID of the MPS queue. To obtain the ID, go to the MPS console and choose Global Settings > Pipelines. This parameter is used to specify the job callback queue and provide tenant fencing. If you do not specify this parameter, the default MPS queue is used. The default job concurrency is 10, and no message notification is attached.

39f8e0bc005e4f309379701645f4****
InputstringNo

The Object Storage Service (OSS) path of the input file. The region of the OSS bucket must be the same as the region where MPS resides. To obtain the path, go to the MPS console and choose Media Management > Media Library, or go to the OSS console and select the desired bucket.

Note The Input parameter is required in some scenarios because algorithms vary. Specify this parameter as needed.
oss://example-****.oss-cn-shanghai.aliyuncs.com/example.mp4
OutputstringNo

The OSS path of the output file. The region of the OSS bucket must be the same as the region where MPS resides. To obtain the path, go to the MPS console and choose Media Management > Media Library, or go to the OSS console and select the desired bucket.

Note The format is oss://example-****.oss-cn-shanghai.aliyuncs.com/iproduction/{source}-{timestamp}-{sequenceId}.srt. The {source}, {timestamp}, and {sequenceId} are placeholders that represent the input filename, UNIX timestamp, and ordinal number, respectively. The placeholders are optional. However, for algorithms that produce multiple outputs, such as smart thumbnail, you must add the ordinal number placeholder to ensure that the output file paths are unique. You can customize the file extension.
oss://example-****.oss-cn-shanghai.aliyuncs.com/iproduction/{source}-{timestamp}-{sequenceId}.srt

Response parameters

NameTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

5210DBB0-E327-4D45-ADBC-0B83C8796E26
JobIdstring

The job ID. Save this ID for subsequent API calls.

39f8e0bc005e4f309379701645f4****
Resultstring

The result. The result varies based on the algorithm. For more information, see Supplementary parameters for intelligent production operations.

{ "Code":"Success", "Details":[], "FunctionName":"ImageCartoonize", "JobId":"39f8e0bc005e4f309379701645f4****", "Message":"success", "State":"Success", "Type":"IProduction" }

Examples

Example response

JSON format

{
  "RequestId": "5210DBB0-E327-4D45-ADBC-0B83C8796E26",
  "JobId": "39f8e0bc005e4f309379701645f4****",
  "Result": {
    "Code": "Success",
    "Details": [],
    "FunctionName": "ImageCartoonize",
    "JobId": "39f8e0bc005e4f309379701645f4****",
    "Message": "success",
    "State": "Success",
    "Type": "IProduction"
  }
}

Error codes

For a list of error codes, see the API Error Center.

Change history

Change timeDescriptionOperations
No change history.