Skip to main content
GET
/
v2
/
photo_avatar
Check Motion Status
curl --request GET \
  --url https://api.jogg.ai/v2/photo_avatar \
  --header 'x-api-key: <api-key>'
{
  "code": 0,
  "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",
    "error_msg": null
  }
}
Check the status of motion generation task by motion ID.

Example Usage

curl --request GET \
  --url 'https://api.jogg.ai/v2/photo_avatar?motion_id=motion_123' \
  --header 'x-api-key: YOUR_API_KEY'

Authorizations

x-api-key
string
header
required

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

Query Parameters

motion_id
string
required

Motion ID from the motion generation task

Example:

"motion_123"

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