Skip to main content
POST
Add Motion to Photo Avatar
Add motion to a photo avatar to make it animated.
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.

Example Usage

Generate Photo Avatar

Generate photo avatar first

Check Motion Status

Check motion generation status

Authorizations

x-api-key
string
header
required

API key for authentication. Obtain your key from the JoggAI dashboard.

Body

application/json
image_url
string<uri>
required

Photo avatar image URL

Example:

"https://res.jogg.ai/photo.jpg"

name
string
required

Avatar name

Example:

"My Photo Avatar"

voice_id
string
required

Voice ID to associate with avatar

Example:

"en-US-ChristopherNeural"

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
Example:

"2.0-Pro"

photo_id
string

Photo ID from photo generation

description
string

Avatar description

welcome_msg
string

Welcome message for the avatar

Example:

"Hello, welcome!"

Response

200 - application/json

Success

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
Example:

0

msg
string
required

Response message

Example:

"Success"

data
object