cURL
curl --request GET \ --url https://api.jogg.ai/v2/photo_avatar/photo \ --header 'x-api-key: <api-key>'
{ "code": 0, "msg": "Success", "data": { "photo_id": "photo_123", "status": "success", "image_url_list": [ "https://example.com/image1.jpg", "https://example.com/image2.jpg" ], "image_key_list": [ "key1", "key2" ], "msg": null } }
Check the status of photo avatar generation task by photo ID
curl --request GET \ --url 'https://api.jogg.ai/v2/photo_avatar/photo?photo_id=photo_123' \ --header 'x-api-key: YOUR_API_KEY'
API key for authentication. Obtain your key from the JoggAI dashboard.
Photo ID from the generation task
"photo_123"
Success
Business status code:
0
Response message
"Success"
Show child attributes