v1

latestOpenAPI 3.0.1MIT2026-07-2638658.5 KB
Avatar

Check Photo Generation Status

Check the status of photo avatar generation task by photo ID

get/v2/photo_avatar/photo

Query parameters

photo_idstring required
Example:photo_123

Photo ID from the 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": {
    "photo_id": "photo_123",
    "status": "success",
    "image_url_list": [
      "https://example.com/image1.jpg",
      "https://example.com/image2.jpg"
    ],
    "image_key_list": [
      "key1",
      "key2"
    ]
  }
}