1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. MpsAiRecognitionTemplate
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.MpsAiRecognitionTemplate

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provides a resource to create a mps ai_recognition_template

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const aiRecognitionTemplate = new tencentcloud.MpsAiRecognitionTemplate("aiRecognitionTemplate", {
        asrFullTextConfigure: {
            "switch": "OFF",
        },
        asrWordsConfigure: {
            labelSets: [],
            "switch": "OFF",
        },
        faceConfigure: {
            defaultLibraryLabelSets: [
                "entertainment",
                "sport",
            ],
            faceLibrary: "All",
            score: 85,
            "switch": "ON",
            userDefineLibraryLabelSets: [],
        },
        ocrFullTextConfigure: {
            "switch": "OFF",
        },
        ocrWordsConfigure: {
            labelSets: [],
            "switch": "OFF",
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    ai_recognition_template = tencentcloud.MpsAiRecognitionTemplate("aiRecognitionTemplate",
        asr_full_text_configure={
            "switch": "OFF",
        },
        asr_words_configure={
            "label_sets": [],
            "switch": "OFF",
        },
        face_configure={
            "default_library_label_sets": [
                "entertainment",
                "sport",
            ],
            "face_library": "All",
            "score": 85,
            "switch": "ON",
            "user_define_library_label_sets": [],
        },
        ocr_full_text_configure={
            "switch": "OFF",
        },
        ocr_words_configure={
            "label_sets": [],
            "switch": "OFF",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewMpsAiRecognitionTemplate(ctx, "aiRecognitionTemplate", &tencentcloud.MpsAiRecognitionTemplateArgs{
    			AsrFullTextConfigure: &tencentcloud.MpsAiRecognitionTemplateAsrFullTextConfigureArgs{
    				Switch: pulumi.String("OFF"),
    			},
    			AsrWordsConfigure: &tencentcloud.MpsAiRecognitionTemplateAsrWordsConfigureArgs{
    				LabelSets: pulumi.StringArray{},
    				Switch:    pulumi.String("OFF"),
    			},
    			FaceConfigure: &tencentcloud.MpsAiRecognitionTemplateFaceConfigureArgs{
    				DefaultLibraryLabelSets: pulumi.StringArray{
    					pulumi.String("entertainment"),
    					pulumi.String("sport"),
    				},
    				FaceLibrary:                pulumi.String("All"),
    				Score:                      pulumi.Float64(85),
    				Switch:                     pulumi.String("ON"),
    				UserDefineLibraryLabelSets: pulumi.StringArray{},
    			},
    			OcrFullTextConfigure: &tencentcloud.MpsAiRecognitionTemplateOcrFullTextConfigureArgs{
    				Switch: pulumi.String("OFF"),
    			},
    			OcrWordsConfigure: &tencentcloud.MpsAiRecognitionTemplateOcrWordsConfigureArgs{
    				LabelSets: pulumi.StringArray{},
    				Switch:    pulumi.String("OFF"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var aiRecognitionTemplate = new Tencentcloud.MpsAiRecognitionTemplate("aiRecognitionTemplate", new()
        {
            AsrFullTextConfigure = new Tencentcloud.Inputs.MpsAiRecognitionTemplateAsrFullTextConfigureArgs
            {
                Switch = "OFF",
            },
            AsrWordsConfigure = new Tencentcloud.Inputs.MpsAiRecognitionTemplateAsrWordsConfigureArgs
            {
                LabelSets = new() { },
                Switch = "OFF",
            },
            FaceConfigure = new Tencentcloud.Inputs.MpsAiRecognitionTemplateFaceConfigureArgs
            {
                DefaultLibraryLabelSets = new[]
                {
                    "entertainment",
                    "sport",
                },
                FaceLibrary = "All",
                Score = 85,
                Switch = "ON",
                UserDefineLibraryLabelSets = new() { },
            },
            OcrFullTextConfigure = new Tencentcloud.Inputs.MpsAiRecognitionTemplateOcrFullTextConfigureArgs
            {
                Switch = "OFF",
            },
            OcrWordsConfigure = new Tencentcloud.Inputs.MpsAiRecognitionTemplateOcrWordsConfigureArgs
            {
                LabelSets = new() { },
                Switch = "OFF",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.MpsAiRecognitionTemplate;
    import com.pulumi.tencentcloud.MpsAiRecognitionTemplateArgs;
    import com.pulumi.tencentcloud.inputs.MpsAiRecognitionTemplateAsrFullTextConfigureArgs;
    import com.pulumi.tencentcloud.inputs.MpsAiRecognitionTemplateAsrWordsConfigureArgs;
    import com.pulumi.tencentcloud.inputs.MpsAiRecognitionTemplateFaceConfigureArgs;
    import com.pulumi.tencentcloud.inputs.MpsAiRecognitionTemplateOcrFullTextConfigureArgs;
    import com.pulumi.tencentcloud.inputs.MpsAiRecognitionTemplateOcrWordsConfigureArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var aiRecognitionTemplate = new MpsAiRecognitionTemplate("aiRecognitionTemplate", MpsAiRecognitionTemplateArgs.builder()
                .asrFullTextConfigure(MpsAiRecognitionTemplateAsrFullTextConfigureArgs.builder()
                    .switch_("OFF")
                    .build())
                .asrWordsConfigure(MpsAiRecognitionTemplateAsrWordsConfigureArgs.builder()
                    .labelSets()
                    .switch_("OFF")
                    .build())
                .faceConfigure(MpsAiRecognitionTemplateFaceConfigureArgs.builder()
                    .defaultLibraryLabelSets(                
                        "entertainment",
                        "sport")
                    .faceLibrary("All")
                    .score(85)
                    .switch_("ON")
                    .userDefineLibraryLabelSets()
                    .build())
                .ocrFullTextConfigure(MpsAiRecognitionTemplateOcrFullTextConfigureArgs.builder()
                    .switch_("OFF")
                    .build())
                .ocrWordsConfigure(MpsAiRecognitionTemplateOcrWordsConfigureArgs.builder()
                    .labelSets()
                    .switch_("OFF")
                    .build())
                .build());
    
        }
    }
    
    resources:
      aiRecognitionTemplate:
        type: tencentcloud:MpsAiRecognitionTemplate
        properties:
          asrFullTextConfigure:
            switch: OFF
          asrWordsConfigure:
            labelSets: []
            switch: OFF
          faceConfigure:
            defaultLibraryLabelSets:
              - entertainment
              - sport
            faceLibrary: All
            score: 85
            switch: ON
            userDefineLibraryLabelSets: []
          ocrFullTextConfigure:
            switch: OFF
          ocrWordsConfigure:
            labelSets: []
            switch: OFF
    

    Create MpsAiRecognitionTemplate Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MpsAiRecognitionTemplate(name: string, args?: MpsAiRecognitionTemplateArgs, opts?: CustomResourceOptions);
    @overload
    def MpsAiRecognitionTemplate(resource_name: str,
                                 args: Optional[MpsAiRecognitionTemplateArgs] = None,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def MpsAiRecognitionTemplate(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 asr_full_text_configure: Optional[MpsAiRecognitionTemplateAsrFullTextConfigureArgs] = None,
                                 asr_words_configure: Optional[MpsAiRecognitionTemplateAsrWordsConfigureArgs] = None,
                                 comment: Optional[str] = None,
                                 face_configure: Optional[MpsAiRecognitionTemplateFaceConfigureArgs] = None,
                                 mps_ai_recognition_template_id: Optional[str] = None,
                                 name: Optional[str] = None,
                                 ocr_full_text_configure: Optional[MpsAiRecognitionTemplateOcrFullTextConfigureArgs] = None,
                                 ocr_words_configure: Optional[MpsAiRecognitionTemplateOcrWordsConfigureArgs] = None)
    func NewMpsAiRecognitionTemplate(ctx *Context, name string, args *MpsAiRecognitionTemplateArgs, opts ...ResourceOption) (*MpsAiRecognitionTemplate, error)
    public MpsAiRecognitionTemplate(string name, MpsAiRecognitionTemplateArgs? args = null, CustomResourceOptions? opts = null)
    public MpsAiRecognitionTemplate(String name, MpsAiRecognitionTemplateArgs args)
    public MpsAiRecognitionTemplate(String name, MpsAiRecognitionTemplateArgs args, CustomResourceOptions options)
    
    type: tencentcloud:MpsAiRecognitionTemplate
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args MpsAiRecognitionTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args MpsAiRecognitionTemplateArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args MpsAiRecognitionTemplateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MpsAiRecognitionTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MpsAiRecognitionTemplateArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    MpsAiRecognitionTemplate Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The MpsAiRecognitionTemplate resource accepts the following input properties:

    AsrFullTextConfigure MpsAiRecognitionTemplateAsrFullTextConfigure
    Asr full text recognition control parameters.
    AsrWordsConfigure MpsAiRecognitionTemplateAsrWordsConfigure
    Asr word recognition control parameters.
    Comment string
    Ai recognition template description information, length limit: 256 characters.
    FaceConfigure MpsAiRecognitionTemplateFaceConfigure
    Face recognition control parameters.
    MpsAiRecognitionTemplateId string
    ID of the resource.
    Name string
    Ai recognition template name, length limit: 64 characters.
    OcrFullTextConfigure MpsAiRecognitionTemplateOcrFullTextConfigure
    Ocr full text control parameters.
    OcrWordsConfigure MpsAiRecognitionTemplateOcrWordsConfigure
    Ocr words recognition control parameters.
    AsrFullTextConfigure MpsAiRecognitionTemplateAsrFullTextConfigureArgs
    Asr full text recognition control parameters.
    AsrWordsConfigure MpsAiRecognitionTemplateAsrWordsConfigureArgs
    Asr word recognition control parameters.
    Comment string
    Ai recognition template description information, length limit: 256 characters.
    FaceConfigure MpsAiRecognitionTemplateFaceConfigureArgs
    Face recognition control parameters.
    MpsAiRecognitionTemplateId string
    ID of the resource.
    Name string
    Ai recognition template name, length limit: 64 characters.
    OcrFullTextConfigure MpsAiRecognitionTemplateOcrFullTextConfigureArgs
    Ocr full text control parameters.
    OcrWordsConfigure MpsAiRecognitionTemplateOcrWordsConfigureArgs
    Ocr words recognition control parameters.
    asrFullTextConfigure MpsAiRecognitionTemplateAsrFullTextConfigure
    Asr full text recognition control parameters.
    asrWordsConfigure MpsAiRecognitionTemplateAsrWordsConfigure
    Asr word recognition control parameters.
    comment String
    Ai recognition template description information, length limit: 256 characters.
    faceConfigure MpsAiRecognitionTemplateFaceConfigure
    Face recognition control parameters.
    mpsAiRecognitionTemplateId String
    ID of the resource.
    name String
    Ai recognition template name, length limit: 64 characters.
    ocrFullTextConfigure MpsAiRecognitionTemplateOcrFullTextConfigure
    Ocr full text control parameters.
    ocrWordsConfigure MpsAiRecognitionTemplateOcrWordsConfigure
    Ocr words recognition control parameters.
    asrFullTextConfigure MpsAiRecognitionTemplateAsrFullTextConfigure
    Asr full text recognition control parameters.
    asrWordsConfigure MpsAiRecognitionTemplateAsrWordsConfigure
    Asr word recognition control parameters.
    comment string
    Ai recognition template description information, length limit: 256 characters.
    faceConfigure MpsAiRecognitionTemplateFaceConfigure
    Face recognition control parameters.
    mpsAiRecognitionTemplateId string
    ID of the resource.
    name string
    Ai recognition template name, length limit: 64 characters.
    ocrFullTextConfigure MpsAiRecognitionTemplateOcrFullTextConfigure
    Ocr full text control parameters.
    ocrWordsConfigure MpsAiRecognitionTemplateOcrWordsConfigure
    Ocr words recognition control parameters.
    asr_full_text_configure MpsAiRecognitionTemplateAsrFullTextConfigureArgs
    Asr full text recognition control parameters.
    asr_words_configure MpsAiRecognitionTemplateAsrWordsConfigureArgs
    Asr word recognition control parameters.
    comment str
    Ai recognition template description information, length limit: 256 characters.
    face_configure MpsAiRecognitionTemplateFaceConfigureArgs
    Face recognition control parameters.
    mps_ai_recognition_template_id str
    ID of the resource.
    name str
    Ai recognition template name, length limit: 64 characters.
    ocr_full_text_configure MpsAiRecognitionTemplateOcrFullTextConfigureArgs
    Ocr full text control parameters.
    ocr_words_configure MpsAiRecognitionTemplateOcrWordsConfigureArgs
    Ocr words recognition control parameters.
    asrFullTextConfigure Property Map
    Asr full text recognition control parameters.
    asrWordsConfigure Property Map
    Asr word recognition control parameters.
    comment String
    Ai recognition template description information, length limit: 256 characters.
    faceConfigure Property Map
    Face recognition control parameters.
    mpsAiRecognitionTemplateId String
    ID of the resource.
    name String
    Ai recognition template name, length limit: 64 characters.
    ocrFullTextConfigure Property Map
    Ocr full text control parameters.
    ocrWordsConfigure Property Map
    Ocr words recognition control parameters.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MpsAiRecognitionTemplate resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing MpsAiRecognitionTemplate Resource

    Get an existing MpsAiRecognitionTemplate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: MpsAiRecognitionTemplateState, opts?: CustomResourceOptions): MpsAiRecognitionTemplate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            asr_full_text_configure: Optional[MpsAiRecognitionTemplateAsrFullTextConfigureArgs] = None,
            asr_words_configure: Optional[MpsAiRecognitionTemplateAsrWordsConfigureArgs] = None,
            comment: Optional[str] = None,
            face_configure: Optional[MpsAiRecognitionTemplateFaceConfigureArgs] = None,
            mps_ai_recognition_template_id: Optional[str] = None,
            name: Optional[str] = None,
            ocr_full_text_configure: Optional[MpsAiRecognitionTemplateOcrFullTextConfigureArgs] = None,
            ocr_words_configure: Optional[MpsAiRecognitionTemplateOcrWordsConfigureArgs] = None) -> MpsAiRecognitionTemplate
    func GetMpsAiRecognitionTemplate(ctx *Context, name string, id IDInput, state *MpsAiRecognitionTemplateState, opts ...ResourceOption) (*MpsAiRecognitionTemplate, error)
    public static MpsAiRecognitionTemplate Get(string name, Input<string> id, MpsAiRecognitionTemplateState? state, CustomResourceOptions? opts = null)
    public static MpsAiRecognitionTemplate get(String name, Output<String> id, MpsAiRecognitionTemplateState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:MpsAiRecognitionTemplate    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AsrFullTextConfigure MpsAiRecognitionTemplateAsrFullTextConfigure
    Asr full text recognition control parameters.
    AsrWordsConfigure MpsAiRecognitionTemplateAsrWordsConfigure
    Asr word recognition control parameters.
    Comment string
    Ai recognition template description information, length limit: 256 characters.
    FaceConfigure MpsAiRecognitionTemplateFaceConfigure
    Face recognition control parameters.
    MpsAiRecognitionTemplateId string
    ID of the resource.
    Name string
    Ai recognition template name, length limit: 64 characters.
    OcrFullTextConfigure MpsAiRecognitionTemplateOcrFullTextConfigure
    Ocr full text control parameters.
    OcrWordsConfigure MpsAiRecognitionTemplateOcrWordsConfigure
    Ocr words recognition control parameters.
    AsrFullTextConfigure MpsAiRecognitionTemplateAsrFullTextConfigureArgs
    Asr full text recognition control parameters.
    AsrWordsConfigure MpsAiRecognitionTemplateAsrWordsConfigureArgs
    Asr word recognition control parameters.
    Comment string
    Ai recognition template description information, length limit: 256 characters.
    FaceConfigure MpsAiRecognitionTemplateFaceConfigureArgs
    Face recognition control parameters.
    MpsAiRecognitionTemplateId string
    ID of the resource.
    Name string
    Ai recognition template name, length limit: 64 characters.
    OcrFullTextConfigure MpsAiRecognitionTemplateOcrFullTextConfigureArgs
    Ocr full text control parameters.
    OcrWordsConfigure MpsAiRecognitionTemplateOcrWordsConfigureArgs
    Ocr words recognition control parameters.
    asrFullTextConfigure MpsAiRecognitionTemplateAsrFullTextConfigure
    Asr full text recognition control parameters.
    asrWordsConfigure MpsAiRecognitionTemplateAsrWordsConfigure
    Asr word recognition control parameters.
    comment String
    Ai recognition template description information, length limit: 256 characters.
    faceConfigure MpsAiRecognitionTemplateFaceConfigure
    Face recognition control parameters.
    mpsAiRecognitionTemplateId String
    ID of the resource.
    name String
    Ai recognition template name, length limit: 64 characters.
    ocrFullTextConfigure MpsAiRecognitionTemplateOcrFullTextConfigure
    Ocr full text control parameters.
    ocrWordsConfigure MpsAiRecognitionTemplateOcrWordsConfigure
    Ocr words recognition control parameters.
    asrFullTextConfigure MpsAiRecognitionTemplateAsrFullTextConfigure
    Asr full text recognition control parameters.
    asrWordsConfigure MpsAiRecognitionTemplateAsrWordsConfigure
    Asr word recognition control parameters.
    comment string
    Ai recognition template description information, length limit: 256 characters.
    faceConfigure MpsAiRecognitionTemplateFaceConfigure
    Face recognition control parameters.
    mpsAiRecognitionTemplateId string
    ID of the resource.
    name string
    Ai recognition template name, length limit: 64 characters.
    ocrFullTextConfigure MpsAiRecognitionTemplateOcrFullTextConfigure
    Ocr full text control parameters.
    ocrWordsConfigure MpsAiRecognitionTemplateOcrWordsConfigure
    Ocr words recognition control parameters.
    asr_full_text_configure MpsAiRecognitionTemplateAsrFullTextConfigureArgs
    Asr full text recognition control parameters.
    asr_words_configure MpsAiRecognitionTemplateAsrWordsConfigureArgs
    Asr word recognition control parameters.
    comment str
    Ai recognition template description information, length limit: 256 characters.
    face_configure MpsAiRecognitionTemplateFaceConfigureArgs
    Face recognition control parameters.
    mps_ai_recognition_template_id str
    ID of the resource.
    name str
    Ai recognition template name, length limit: 64 characters.
    ocr_full_text_configure MpsAiRecognitionTemplateOcrFullTextConfigureArgs
    Ocr full text control parameters.
    ocr_words_configure MpsAiRecognitionTemplateOcrWordsConfigureArgs
    Ocr words recognition control parameters.
    asrFullTextConfigure Property Map
    Asr full text recognition control parameters.
    asrWordsConfigure Property Map
    Asr word recognition control parameters.
    comment String
    Ai recognition template description information, length limit: 256 characters.
    faceConfigure Property Map
    Face recognition control parameters.
    mpsAiRecognitionTemplateId String
    ID of the resource.
    name String
    Ai recognition template name, length limit: 64 characters.
    ocrFullTextConfigure Property Map
    Ocr full text control parameters.
    ocrWordsConfigure Property Map
    Ocr words recognition control parameters.

    Supporting Types

    MpsAiRecognitionTemplateAsrFullTextConfigure, MpsAiRecognitionTemplateAsrFullTextConfigureArgs

    Switch string
    Asr full text recognition task switch, optional value:ON/OFF.
    SubtitleFormat string
    Generated subtitle file format, if left blank or blank string means no subtitle file will be generated, optional value:vtt: Generate WebVTT subtitle files.
    Switch string
    Asr full text recognition task switch, optional value:ON/OFF.
    SubtitleFormat string
    Generated subtitle file format, if left blank or blank string means no subtitle file will be generated, optional value:vtt: Generate WebVTT subtitle files.
    switch_ String
    Asr full text recognition task switch, optional value:ON/OFF.
    subtitleFormat String
    Generated subtitle file format, if left blank or blank string means no subtitle file will be generated, optional value:vtt: Generate WebVTT subtitle files.
    switch string
    Asr full text recognition task switch, optional value:ON/OFF.
    subtitleFormat string
    Generated subtitle file format, if left blank or blank string means no subtitle file will be generated, optional value:vtt: Generate WebVTT subtitle files.
    switch str
    Asr full text recognition task switch, optional value:ON/OFF.
    subtitle_format str
    Generated subtitle file format, if left blank or blank string means no subtitle file will be generated, optional value:vtt: Generate WebVTT subtitle files.
    switch String
    Asr full text recognition task switch, optional value:ON/OFF.
    subtitleFormat String
    Generated subtitle file format, if left blank or blank string means no subtitle file will be generated, optional value:vtt: Generate WebVTT subtitle files.

    MpsAiRecognitionTemplateAsrWordsConfigure, MpsAiRecognitionTemplateAsrWordsConfigureArgs

    Switch string
    Asr word recognition task switch, optional value:ON/OFF.
    LabelSets List<string>
    Keyword filter label, specify the label of the keyword to be returned. If not filled or empty, all results will be returned.The maximum number of tags is 10, and the length of each tag is up to 16 characters.
    Switch string
    Asr word recognition task switch, optional value:ON/OFF.
    LabelSets []string
    Keyword filter label, specify the label of the keyword to be returned. If not filled or empty, all results will be returned.The maximum number of tags is 10, and the length of each tag is up to 16 characters.
    switch_ String
    Asr word recognition task switch, optional value:ON/OFF.
    labelSets List<String>
    Keyword filter label, specify the label of the keyword to be returned. If not filled or empty, all results will be returned.The maximum number of tags is 10, and the length of each tag is up to 16 characters.
    switch string
    Asr word recognition task switch, optional value:ON/OFF.
    labelSets string[]
    Keyword filter label, specify the label of the keyword to be returned. If not filled or empty, all results will be returned.The maximum number of tags is 10, and the length of each tag is up to 16 characters.
    switch str
    Asr word recognition task switch, optional value:ON/OFF.
    label_sets Sequence[str]
    Keyword filter label, specify the label of the keyword to be returned. If not filled or empty, all results will be returned.The maximum number of tags is 10, and the length of each tag is up to 16 characters.
    switch String
    Asr word recognition task switch, optional value:ON/OFF.
    labelSets List<String>
    Keyword filter label, specify the label of the keyword to be returned. If not filled or empty, all results will be returned.The maximum number of tags is 10, and the length of each tag is up to 16 characters.

    MpsAiRecognitionTemplateFaceConfigure, MpsAiRecognitionTemplateFaceConfigureArgs

    Switch string
    Ai face recognition task switch, optional value:ON/OFF.
    DefaultLibraryLabelSets List<string>
    Default face filter tag, specify the tag of the default face that needs to be returned. If not filled or empty, all default face results will be returned. Label optional value:entertainment, sport, politician.
    FaceLibrary string
    Face library selection, optional value:Default, UserDefine, AllDefault value: All, use the system default face library and user-defined face library.
    Score double
    Face recognition filter score, when the recognition result reaches the score above, the recognition result will be returned. The default is 95 points. Value range: 0 - 100.
    UserDefineLibraryLabelSets List<string>
    User-defined face filter tag, specify the tag of the user-defined face that needs to be returned. If not filled or empty, all custom face results will be returned.The maximum number of tags is 100, and the length of each tag is up to 16 characters.
    Switch string
    Ai face recognition task switch, optional value:ON/OFF.
    DefaultLibraryLabelSets []string
    Default face filter tag, specify the tag of the default face that needs to be returned. If not filled or empty, all default face results will be returned. Label optional value:entertainment, sport, politician.
    FaceLibrary string
    Face library selection, optional value:Default, UserDefine, AllDefault value: All, use the system default face library and user-defined face library.
    Score float64
    Face recognition filter score, when the recognition result reaches the score above, the recognition result will be returned. The default is 95 points. Value range: 0 - 100.
    UserDefineLibraryLabelSets []string
    User-defined face filter tag, specify the tag of the user-defined face that needs to be returned. If not filled or empty, all custom face results will be returned.The maximum number of tags is 100, and the length of each tag is up to 16 characters.
    switch_ String
    Ai face recognition task switch, optional value:ON/OFF.
    defaultLibraryLabelSets List<String>
    Default face filter tag, specify the tag of the default face that needs to be returned. If not filled or empty, all default face results will be returned. Label optional value:entertainment, sport, politician.
    faceLibrary String
    Face library selection, optional value:Default, UserDefine, AllDefault value: All, use the system default face library and user-defined face library.
    score Double
    Face recognition filter score, when the recognition result reaches the score above, the recognition result will be returned. The default is 95 points. Value range: 0 - 100.
    userDefineLibraryLabelSets List<String>
    User-defined face filter tag, specify the tag of the user-defined face that needs to be returned. If not filled or empty, all custom face results will be returned.The maximum number of tags is 100, and the length of each tag is up to 16 characters.
    switch string
    Ai face recognition task switch, optional value:ON/OFF.
    defaultLibraryLabelSets string[]
    Default face filter tag, specify the tag of the default face that needs to be returned. If not filled or empty, all default face results will be returned. Label optional value:entertainment, sport, politician.
    faceLibrary string
    Face library selection, optional value:Default, UserDefine, AllDefault value: All, use the system default face library and user-defined face library.
    score number
    Face recognition filter score, when the recognition result reaches the score above, the recognition result will be returned. The default is 95 points. Value range: 0 - 100.
    userDefineLibraryLabelSets string[]
    User-defined face filter tag, specify the tag of the user-defined face that needs to be returned. If not filled or empty, all custom face results will be returned.The maximum number of tags is 100, and the length of each tag is up to 16 characters.
    switch str
    Ai face recognition task switch, optional value:ON/OFF.
    default_library_label_sets Sequence[str]
    Default face filter tag, specify the tag of the default face that needs to be returned. If not filled or empty, all default face results will be returned. Label optional value:entertainment, sport, politician.
    face_library str
    Face library selection, optional value:Default, UserDefine, AllDefault value: All, use the system default face library and user-defined face library.
    score float
    Face recognition filter score, when the recognition result reaches the score above, the recognition result will be returned. The default is 95 points. Value range: 0 - 100.
    user_define_library_label_sets Sequence[str]
    User-defined face filter tag, specify the tag of the user-defined face that needs to be returned. If not filled or empty, all custom face results will be returned.The maximum number of tags is 100, and the length of each tag is up to 16 characters.
    switch String
    Ai face recognition task switch, optional value:ON/OFF.
    defaultLibraryLabelSets List<String>
    Default face filter tag, specify the tag of the default face that needs to be returned. If not filled or empty, all default face results will be returned. Label optional value:entertainment, sport, politician.
    faceLibrary String
    Face library selection, optional value:Default, UserDefine, AllDefault value: All, use the system default face library and user-defined face library.
    score Number
    Face recognition filter score, when the recognition result reaches the score above, the recognition result will be returned. The default is 95 points. Value range: 0 - 100.
    userDefineLibraryLabelSets List<String>
    User-defined face filter tag, specify the tag of the user-defined face that needs to be returned. If not filled or empty, all custom face results will be returned.The maximum number of tags is 100, and the length of each tag is up to 16 characters.

    MpsAiRecognitionTemplateOcrFullTextConfigure, MpsAiRecognitionTemplateOcrFullTextConfigureArgs

    Switch string
    Ocr full text recognition task switch, optional value:ON/OFF.
    Switch string
    Ocr full text recognition task switch, optional value:ON/OFF.
    switch_ String
    Ocr full text recognition task switch, optional value:ON/OFF.
    switch string
    Ocr full text recognition task switch, optional value:ON/OFF.
    switch str
    Ocr full text recognition task switch, optional value:ON/OFF.
    switch String
    Ocr full text recognition task switch, optional value:ON/OFF.

    MpsAiRecognitionTemplateOcrWordsConfigure, MpsAiRecognitionTemplateOcrWordsConfigureArgs

    Switch string
    Ocr words recognition task switch, optional value:ON/OFF.
    LabelSets List<string>
    Keyword filter label, specify the label of the keyword to be returned. If not filled or empty, all results will be returned.The maximum number of tags is 10, and the length of each tag is up to 16 characters.
    Switch string
    Ocr words recognition task switch, optional value:ON/OFF.
    LabelSets []string
    Keyword filter label, specify the label of the keyword to be returned. If not filled or empty, all results will be returned.The maximum number of tags is 10, and the length of each tag is up to 16 characters.
    switch_ String
    Ocr words recognition task switch, optional value:ON/OFF.
    labelSets List<String>
    Keyword filter label, specify the label of the keyword to be returned. If not filled or empty, all results will be returned.The maximum number of tags is 10, and the length of each tag is up to 16 characters.
    switch string
    Ocr words recognition task switch, optional value:ON/OFF.
    labelSets string[]
    Keyword filter label, specify the label of the keyword to be returned. If not filled or empty, all results will be returned.The maximum number of tags is 10, and the length of each tag is up to 16 characters.
    switch str
    Ocr words recognition task switch, optional value:ON/OFF.
    label_sets Sequence[str]
    Keyword filter label, specify the label of the keyword to be returned. If not filled or empty, all results will be returned.The maximum number of tags is 10, and the length of each tag is up to 16 characters.
    switch String
    Ocr words recognition task switch, optional value:ON/OFF.
    labelSets List<String>
    Keyword filter label, specify the label of the keyword to be returned. If not filled or empty, all results will be returned.The maximum number of tags is 10, and the length of each tag is up to 16 characters.

    Import

    mps ai_recognition_template can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/mpsAiRecognitionTemplate:MpsAiRecognitionTemplate ai_recognition_template ai_recognition_template_id
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack