Overview
Menu

CreateProject

Last updated: 2026-05-11 20:08:12Download PDF

1. API Description

Domain name for API request: mps.intl.tencentcloudapi.com.

This API is used to create an episode project.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter NameRequiredTypeDescription
ActionYesStringCommon Params. The value used for this API: CreateProject.
VersionYesStringCommon Params. The value used for this API: 2019-06-12.
RegionNoStringCommon Params. This parameter is not required for this API.
ProjectNameYesString

Project name.

TermBase.NNoArray of TermBase

Project term base.

DescriptionNoString

Project description.

Speakers.NNoArray of Speakers

List of characters.

3. Output Parameters

Parameter NameTypeDescription
ProjectIdString

Project ID.

RequestIdStringThe unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Creating an Episode Project

Input Example

POST / HTTP/1.1
Host: mps.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: CreateProject
<Common request parameters>

{
    "ProjectName": "Battle Through the Heavens",
    "TermBase": [
        {
            "Src": "Jia Nan Xue Yuan",
            "Dst": "Canaan Academy"
        }
    ],
    "Description": "Fantasy-themed audio drama",
    "Speakers": [
        {
            "SpeakerId": "xiao_yan",
            "VoiceId": "voice_001",
            "Gender": "male",
            "AgeGroup": "youth",
            "Description": "Protagonist Xiao Yan",
            "NameTerms": [
                {
                    "Src": "Xiao Yan",
                    "Dst": "Xiao Yan"
                }
            ]
        }
    ]
}

Output Example

{
    "Response": {
        "ProjectId": "458f16b1-7da9-4a56-a841-78567c5bee48",
        "RequestId": "28d958f5-86e5-4ccc-be23-77c87dc748f0"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error CodeDescription
InvalidParameterValue.ProjectLimitExceededThe number of episode projects exceeds the upper limit.
InvalidParameterValue.ProjectNameDuplicateThe episode project name already exists.
InvalidParameterValue.ProjectNotFoundThe episode project does not exist.
InvalidParameterValue.UserUnRegisterThe user is not registered for MPS.