Check the generation status of the AI profile photo according to the photo ID
curl --request GET \ --url https://api.jogg.ai/v1/photo_avatar/generation \ --header 'x-api-key: <api-key>'
{ "code": 123, "msg": "<string>", "data": { "image_key_list": [ "<string>" ], "image_url_list": [ "<string>" ], "msg": "<string>", "photo_id": "<string>", "status": "in_progress" } }
Photo ID
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
Response message
Show child attributes
in_progress
error
success