Avatar

Check Motion Status

Check the status of motion generation task by motion ID

get/v2/photo_avatar

Request

  • Base URL
    https://api.jogg.ai
  • URL
    https://api.jogg.ai/v2/photo_avatar
  • Auth
    API key in header x-api-key

Query parameters

motion_idstring required
Example:motion_123

Motion ID from the motion generation task

Response

Success

codeinteger 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
msgstring required

Response message

Example response

{
  "msg": "Success",
  "data": {
    "motion_id": "motion_123",
    "avatar_id": 123,
    "image_url": "https://example.com/image.jpg",
    "name": "My Photo Avatar",
    "status": "completed",
    "motion_preview_url": "https://example.com/preview.mp4",
    "voice_id": "en-US-ChristopherNeural"
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.