All Products
Search
Document Center

PolarDB:CreateDataProcessJobTemplate

Last Updated:Nov 05, 2026

Creates a task template for image data processing in a specified region.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

The region ID.

cn-hangzhou

TemplateName

string

No

The name of the task template.

template1

TemplateType

string

Yes

The templatetype of the node. Valid values: image.

image

TemplateConfig

string

Yes

The JSON string for additional template configurations.

{"ETL_TEMPLATE_STR":"config"}

Captioning

boolean

No

Specifies whether to fetch the image summary or video synopsis. When Settings is set to true, CaptioningPrompt must be specified.

CaptioningPrompt

string

No

The prompt used for extracting summaries. This parameter takes effect only when Captioning is set to true.

Summarize the image content

Embedding

boolean

No

Specifies whether to convert the content into vectors.

EmbeddingDimension

integer

No

The output dimension of the vector. Valid values when Embedding is set to true: 512, 768, 1024, and 2048.

1024

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

2921D843-433A-5FB3-A03B-4EC093B219F8

TemplateId

string

The ID of the created task template.

tpl-123456

Examples

Success response

JSON format

{
  "RequestId": "2921D843-433A-5FB3-A03B-4EC093B219F8",
  "TemplateId": "tpl-123456"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.