Skip to main content
POST
Add motion
Motion 1.0, 2.0, and 3.0 have been discontinued by the official model provider. Only Motion 2.0 Pro (2.0-Pro) remains available.

Authorizations

x-api-key
string
header
required

Body

application/json

Request parameter

image_url
string
required
model
enum<string>
required

Motion 1.0, 2.0, and 3.0 have been discontinued by the official model provider. Only Motion 2.0 Pro remains available.

Available options:
2.0-Pro
name
string
required
voice_id
string
required
description
string

Descriptions must not exceed 1500 bytes.

photo_id
string
welcome_msg
string

If you want to change the default greeting message of the avatar, you can use this parameter to replace it.

Response

OK

code
integer
required

Business status code:

  • 0 - Success

  • 10104 - Record not found

  • 10105 - Invalid API key

  • 18020 - Insufficient credit

  • 18025 - No permission to call APIs.

  • 40000 - Parameter error

  • 50000 - System error

msg
string
required

Response message

data
object