Overview
Gemini Omni Character Character Generationendpoint, images Reference imageCreate a can in Video Generation in character.This endpoint is asynchronous endpoint, Success after returncharacterId, can Gemini Omni Video video generationendpointcharacterIds Parameter.
Base URL: https://mm-internal-cn.leonecloud.com
first endpoint as public betaCapability,No billing currently.
Authentication
Authorization: Bearer {YOUR_AUTH_TOKEN}Quick Start
cURL Example
curl -X POST "https://mm-internal-cn.leonecloud.com/api/v2/open/aigc/gemini-omni-character" \
-H "Authorization: Bearer your_auth_token_here" \
-H "Content-Type: application/json" \
-d '{
"descriptions": ", not woman character,,, with.",
"imageUrls": ["https://example.com/character-reference.png"],
"characterName": "localized example text"
}'ID create (character with )
curl -X POST "https://mm-internal-cn.leonecloud.com/api/v2/open/aigc/gemini-omni-character" \
-H "Authorization: Bearer your_auth_token_here" \
-H "Content-Type: application/json" \
-d '{
"descriptions": ", not woman character",
"imageUrls": ["https://example.com/character-reference.png"],
"audioIds": ["a8f1c2d3e4f5..."],
"characterName": "localized example text"
}'Endpoints
1. create character**POST** /api/v2/open/aigc/gemini-omni-character
Content-Type: application/json
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| descriptions | string | Yes | character, Descriptioncharacter,,, or |
| imageUrls | string[] | Yes | characterReference image URL, onlysupported 1 images, single imageimagesize≤ 20MB, as can URL |
| audioIds | string[] | No | endpoint ID, as character// reference |
| characterName | string | No | Character name |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | int | Status Code, 0 indicates success |
| msg | string | Message |
| data.characterId | string | character ID, can use video generationendpointcharacterIds Parameter |
| data.characterName | string | Character name |
| data.imageUrl | string | characterimage URL |
Response Example
Success
{
"code": 0,
"msg": "success",
"data": {
"characterId": "b09dbf56...",
"characterName": "localized example text",
"imageUrl": "https://xx.com/a.png"
}
}ParameterError
{
"code": 10002,
"msg": "imageUrls must1 images image",
"data": null
}create Success after, character willcharacterasset, can asset endpoint query and.
2. query character asset list**GET** /api/v2/open/omni/character/list
query first create character asset (Created Time).
Request Parameters (Query)
| Parameter | Type | Required | Description |
|---|---|---|---|
| page | int | Yes | , 1 |
| pageSize | int | Yes | , 1-100 |
| keyword | string | No | Character name |
cURL Example
curl -X GET "https://mm-internal-cn.leonecloud.com/api/v2/open/omni/character/list?page=1&pageSize=20" \
-H "Authorization: Bearer your_auth_token_here"Response Parameters
| Parameter | Type | Description |
|---|---|---|
| data.list | object[] | characterasset list |
| data.list[].characterId | string | character ID, can use video generationendpointcharacterIds Parameter |
| data.list[].characterName | string | Character name |
| data.list[].descriptions | string | characterlocalized example text |
| data.list[].imageUrl | string | characterimage URL |
| data.list[].audioIds | string[] | create when ID |
| data.list[].createdTime | string | Created Time |
| data.total | int | localized example text |
| data.page | int | first |
| data.pageSize | int | localized example text |
Response Example
{
"code": 0,
"msg": "success",
"data": {
"list": [
{
"characterId": "b09dbf56...",
"characterName": "localized example text",
"descriptions": ", not woman character",
"imageUrl": "https://xx.com/a.png",
"audioIds": ["a8f1c2d3e4f5..."],
"createdTime": "2026-06-10T15:00:00+08:00"
}
],
"total": 1,
"page": 1,
"pageSize": 20
}
}3. character asset**POST** /api/v2/open/omni/character/delete
asset in character (only asset, create videotask).
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| characterId | string | Yes | character ID |
cURL Example
curl -X POST "https://mm-internal-cn.leonecloud.com/api/v2/open/omni/character/delete" \
-H "Authorization: Bearer your_auth_token_here" \
-H "Content-Type: application/json" \
-d '{ "characterId": "b09dbf56..." }'Response Example
Success
{
"code": 0,
"msg": "success",
"data": null
}asset in
{
"code": 90003,
"msg": "characterasset in or no",
"data": null
}Error Codes
| code | Description |
|---|---|
| 0 | Success |
| 10002 | Parametermissing or malformed |
| 10005 | API Key invalid or missing |
| 30002 | Failure |
| 90003 | Internal server error |
Best Practices
- imagequality:,, image Reference image, character.
- characterId:create character after return
characterId, can Video Generationtask,; ID when can asset listendpoint. - endpoint:endpoint
audioId, in create character whenaudioIds, can character. - in video generationendpoint in use:return
characterIdvideo generationendpointcharacterIds; Note——up to 7, video when up to 3,imageUrls + videoList×2 + characterIds ≤ 7.