abacusai.avatar_candidate

Classes

AvatarCandidate

Avatar Candidate — one generated portrait option from generateAvatarCandidates.

Module Contents

class abacusai.avatar_candidate.AvatarCandidate(client, s3Key=None, url=None)

Bases: abacusai.return_class.AbstractApiClass

Avatar Candidate — one generated portrait option from generateAvatarCandidates.

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • s3Key (str) – Opaque candidate reference — pass back to createAvatar as imageRefs[{s3Key}]

  • url (str) – Signed preview URL for the candidate grid

s3_key = None
url = None
deprecated_keys
__repr__()
to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict