---
title: "Check Photo Generation Status"
method: GET
path: "/v2/photo_avatar/photo"
tags: ["Avatar"]
---

# Check Photo Generation Status

`GET /v2/photo_avatar/photo`

## Request

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

Check the status of photo avatar generation task by photo ID

## Query parameters

- `photo_id` string, required

## Response `200`

Success

- object
  - `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
  - `msg` string, required: Response message
  - `data` object
    - `photo_id` string: Photo ID
    - `status` 'in_progress' | 'success' | 'error': Photo generation status
    - `image_url_list` string[]: List of generated image URLs
    - `image_key_list` string[]: List of image keys
    - `msg` string, nullable: Status message

---

[API](https://skmtc.dev/jogg/apis/joggai-openapi-v2.md) - [All operations](https://skmtc.dev/jogg/apis/joggai-openapi-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/jogg/apis/joggai-openapi-v2/revisions/22021dd81934?raw)
