Train Photo Avatar Group

POSThttps://api.konpro.ai/v1/photo_avatar/train

Initiate training of a photo avatar group to enhance AI model performance based on the group's associated avatar images.

Request History

Log in to see full request history

TIMESTATUSUSER AGENT
Make a request to see history.

0 Requests This Month

cURL Request

shell
curl --request POST \
--url https://api.konpro.ai/v1/photo_avatar/train \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'x-api-key: <your-api-key>' \
--data '{
  "group_id": "avatarGroup123"
}'

Request Body Parameters

FieldTypeDescription
group_idstringUnique identifier of the photo avatar group to train

Response

Response Structure

Confirms the start of the training process or returns error details if unsuccessful.

Sample Successful Response

json
{
  "training_job_id": "train_123456",
  "group_id": "avatarGroup123",
  "status": "training_started",
  "message": "Training process initiated successfully",
  "estimated_completion": "2024-01-15T12:00:00Z"
}

Notes

  • Requires API authentication.
  • The group_id must reference an existing photo avatar group.
  • Training is an asynchronous process that may take several hours to complete.
  • Use the training_job_id to check training status via the status endpoint.
  • Refer to Error Responses for error information.

Example Usage

Shell
curl --request POST \
--url https://api.konpro.ai/v1/photo_avatar/train \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'x-api-key: <your-api-key>' \
--data '{
  "group_id": "avatarGroup123"
}'

LANGUAGE

CREDENTIALS

HEADER

RESPONSE

Examples

Choose an example:

application/json
200 - Success
400 - Bad Request