Avatar

Get the instant avatar inferences.

Avatar Creation is initiated via the Instant Avatar API and is an asynchronous process. To learn more about the status of the avatar creation and whether avatars are ready, regular checks should be done. The recommended intervals are

  • First check: 20 seconds.
  • Next checks: every 10 seconds.
get/avatars/instant/{inference_id}

Request

  • Base URL
    https://genai-avatars-api.picsart.io/v1
  • URL
    https://genai-avatars-api.picsart.io/v1/avatars/instant/{inference_id}
  • Auth
    API key in header X-Picsart-API-Key

Path parameters

inference_idstring required

The avatar inference identifier.

Response

Success.

status'ACCEPTED' | 'IN_PROGRESS' | 'DONE' | 'FAILED' | 'IMAGE_NOT_VALID'

The status of the submitted request. Pay attention to handle these properly:

  • ACCEPTED
  • IN_PROGRESS
  • DONE
  • FAILED
  • IMAGE_NOT_VALID

Changes

No recorded changes to this operation across all 1 revision of this API.