# Create Application - CreateMVApp

## Overview

Provide parameters to create application






## Definition

### Public Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Action**     | string  | Corresponding API command name, the current API is `CreateMVApp`.                      | **Yes** |
| **PublicKey**  | string  | The user's public key can be obtained from [Console](https://console.scloudsg.com/uaccount/api_manage)                                             | **Yes** |
| **Signature**  | string  | User signature generated based on public key and API command, see [Signature Algorithm](/docs/api/summary/signature.md)  | **Yes** |

### Request Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **AppName** | string | Application Name |**Yes**|
| **AppType** | int | Application Type |**Yes**|
| **LLMID** | string | Language Model ID |**Yes**|
| **LLMTemperature** | int | Model sampling temperature, open interval (0,100), cannot be equal to 0 or 100, default value 95 |No|
| **LLMTopP** | int | Model Sampling Temperature (Core Sampling), open interval (0,100), cannot be equal to 0 or 100, default value 70 |No|
| **AppDes** | string | Application Description |No|

### Response Field

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **RetCode** | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. |**Yes**|
| **Action** | string | Operation command name. |**Yes**|
| **Message** | string | Returns an error message, providing detailed description when `RetCode` is non-zero. |No|
| **Msg** | string | When the Code is non-zero, it describes the error information. |**Yes**|
| **AppInfo** | [*AppInfo*](#appinfo) | Application Information |**Yes**|

#### Data Model


#### AppInfo

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **AppName** | string | Application Name |No|
| **AppID** | string | Application ID |No|
| **AppType** | int | Application Type |No|
| **AppDes** | string | Application Description |No|
| **AppState** | int | Application Status |No|
| **LLMID** | string | Language Model ID |No|
| **LLMTemperature** | int | Model Sampling Temperature |No|
| **LLMTopP** | int | Another method of model sampling temperature (nucleus sampling) |No|
| **CreateTime** | int | Application Creation Time |No|
| **UpdateTime** | int | Application Update Time |No|

## Example

### Request Example
    
```
https://api.scloudsg.com/?Action=CreateMVApp
&AppName=pRwgTpER
&AppType=6
&LLMID=BtTWclTl
&LLMTemperature=5
&LLMTopP=4
&AppDes=cIBGvFSV
```

### Response Example
    
```json
{
  "Action": "CreateMVAppResponse",
  "AppInfo": {},
  "Msg": "MHZLcsLH",
  "RetCode": 0
}
```





