# 创建角色

**方法**: `POST`
**路径**: `/pixverse/character`

## 请求参数

### Header 参数

```text
Content-Type
string
必需
示例:
application/json
Authorization
string
可选
默认值:
Bearer {{YOUR_API_KEY}}
```

### Body 参数 application/json

```text
images
array
[string]
必需
示例
{
"images"
:
[
"string"
]
}
```

## 请求示例代码

### Shell

```bash
curl --location --request POST '/pixverse/character' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "images": [
        "string"
    ]
}'
```

## 返回响应

### 🟢 200 成功

**内容类型**: `application/json`

#### 响应结构

```text
object
```

#### 示例

```json
{
    "Resp": {
        "AssetId": 315472036507328
    },
    "ErrCode": 0,
    "ErrMsg": "Success"
}
```
