Video / Gemini Omni

Gemini Omni Character Character Generation

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

ParameterTypeRequiredDescription
descriptionsstringYescharacter, Descriptioncharacter,,, or
imageUrlsstring[]YescharacterReference image URL, onlysupported 1 images, single imageimagesize≤ 20MB, as can URL
audioIdsstring[]Noendpoint ID, as character// reference
characterNamestringNoCharacter name

Response Parameters

ParameterTypeDescription
codeintStatus Code, 0 indicates success
msgstringMessage
data.characterIdstringcharacter ID, can use video generationendpointcharacterIds Parameter
data.characterNamestringCharacter name
data.imageUrlstringcharacterimage 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)

ParameterTypeRequiredDescription
pageintYes, 1
pageSizeintYes, 1-100
keywordstringNoCharacter 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

ParameterTypeDescription
data.listobject[]characterasset list
data.list[].characterIdstringcharacter ID, can use video generationendpointcharacterIds Parameter
data.list[].characterNamestringCharacter name
data.list[].descriptionsstringcharacterlocalized example text
data.list[].imageUrlstringcharacterimage URL
data.list[].audioIdsstring[]create when ID
data.list[].createdTimestringCreated Time
data.totalintlocalized example text
data.pageintfirst
data.pageSizeintlocalized 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

ParameterTypeRequiredDescription
characterIdstringYescharacter 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

codeDescription
0Success
10002Parametermissing or malformed
10005API Key invalid or missing
30002Failure
90003Internal server error

Best Practices

  1. imagequality:,, image Reference image, character.
  2. characterId:create character after returncharacterId, can Video Generationtask,; ID when can asset listendpoint.
  3. endpoint:endpointaudioId, in create character whenaudioIds, can character.
  4. in video generationendpoint in use:returncharacterId video generationendpointcharacterIds; Note——up to 7, video when up to 3,imageUrls + videoList×2 + characterIds ≤ 7.
Updated 2026-09-02