Check Photo Avatar Generation Status
GET
https://api.konpro.ai/v1/photo_avatar/generation/{generation_id}Retrieve the current status and progress of a photo avatar or look generation job using its unique generation ID.
Request History
Log in to see full request history
| TIME | STATUS | USER AGENT |
|---|---|---|
| Make a request to see history. | ||
0 Requests This Month
cURL Request
shell
curl --request GET \
--url https://api.konpro.ai/v1/photo_avatar/generation/<generation_id> \
--header 'accept: application/json' \
--header 'x-api-key: <your-api-key>'Path Parameter
| Parameter | Type | Description |
|---|---|---|
| generation_id | string | Unique identifier for the avatar generation job (required) |
Response
Response Structure
Returns status details such as pending, processing, completed, or failed. May include additional metadata regarding generated avatar images or errors.
Sample Successful Response
json
{
"generation_id": "gen_123456",
"status": "completed",
"progress": 100,
"created_at": "2024-01-15T10:30:00Z",
"completed_at": "2024-01-15T10:35:00Z",
"images": [
{
"url": "https://example.com/avatar1.jpg",
"type": "avatar"
}
]
}Notes
- Requires API authentication.
- The generation_id must be a valid job ID from a previous generation request.
- Status can be: pending, processing, completed, or failed.
- Progress percentage is included for processing jobs.
- Refer to Error Responses for error information.
Example Usage
Shell
curl --request GET \
--url https://api.konpro.ai/v1/photo_avatar/generation/<generation_id> \
--header 'accept: application/json' \
--header 'x-api-key: <your-api-key>'LANGUAGE
CREDENTIALS
HEADER
RESPONSE
Examples
Choose an example:
application/json
200 - Success
400 - Bad Request
LANGUAGE
CREDENTIALS
HEADER
RESPONSE
Examples
Choose an example:
application/json
200 - Success
400 - Bad Request