GET
/
photo_avatar
curl --request GET \
  --url https://api.jogg.ai/v1/photo_avatar \
  --header 'x-api-key: <api-key>'
{
  "code": 123,
  "msg": "<string>",
  "data": {
    "avatar_id": 123,
    "image_url": "<string>",
    "motion_id": "<string>",
    "motion_preview_url": "<string>",
    "name": "<string>",
    "status": "pending",
    "voice_id": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

Query Parameters

motion_id
string
required

Motion ID

Response

200
application/json
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