# Functions
NewClient creates a new Client instance.
NewRequester creates a new Requester instance.
# Variables
ErrAuthenticationFailed indicates authentication failure.
ErrInvalidResponse indicates an invalid response from the server.
# Structs
Account represents the "account" object inside the inner user.
No description provided by the author
AuthorInfo represents the author of a turn.
No description provided by the author
Avatar represents an avatar image.
AvatarJSON contains the image data URL.
AvatarRequestItem represents a single request item in the avatar upload payload.
No description provided by the author
Character represents a CharacterAI character.
CharacterInfoPayload represents the request payload for fetching character info.
CharacterInfoResponse represents the response payload for fetching character info.
No description provided by the author
CharacterShort represents a summary of a character.
CharacterVotePayload represents the request payload for voting on a character.
CharacterVoteResponse represents the response payload after voting.
Chat represents a chat session.
ChatHistory represents the chat history.
No description provided by the author
No description provided by the author
Client is the main client structure.
No description provided by the author
No description provided by the author
CreateAndGenerateTurnPayload represents the payload for creating and generating a turn.
CreateCharacterPayload represents the payload for creating a character.
CreateCharacterResult represents the result of creating a character.
No description provided by the author
No description provided by the author
CreatePersonaPayload represents the payload for creating a persona.
No description provided by the author
Creator represents a creator in the system.
CreatorInfo represents the creator information inside Voice.
No description provided by the author
EditCharacterPayload represents the payload for editing a character.
EditCharacterResult represents the result of editing a character.
EditPersonaPayload represents the payload for editing a persona.
No description provided by the author
No description provided by the author
ErrorResponse represents an error response from the API.
No description provided by the author
No description provided by the author
No description provided by the author
FetchMeResponse represents the response from the FetchMe API call.
No description provided by the author
FetchUserRequest represents the request payload for fetching a user's public information.
FetchUserResponse represents the response payload when fetching a user's public information.
FetchVoiceResponse represents the response for fetching a voice.
FollowUserRequest represents the request payload for following/unfollowing a user.
FollowUserResponse represents the response payload after following/unfollowing a user.
GenerateImageRequest represents the request payload for generating images.
No description provided by the author
GenerateSpeechPayload represents the payload for generating speech.
GenerateSpeechResponse represents the response from generating speech.
No description provided by the author
No description provided by the author
No description provided by the author
ImageResult represents a single image result.
No description provided by the author
Meta information for pagination.
Notification represents a user notification.
No description provided by the author
Persona represents a persona.
PublicUser represents a public user profile.
No description provided by the author
Requester handles HTTP and WebSocket requests.
SearchCreatorsResponse represents the response payload for searching creators.
SearchVoicesResponse represents the response for searching voices.
Settings represents the user's settings.
No description provided by the author
SetVoicePayload represents the payload for setting a voice override.
SetVoiceResponse represents the response after setting a voice override.
Turn represents a chat turn.
TurnCandidate represents a candidate response.
No description provided by the author
No description provided by the author
No description provided by the author
UpdateChatNamePayload represents the payload for updating the chat name.
No description provided by the author
UpdateProfilePayload represents the payload for updating the user's profile.
UploadAvatarResponse represents the response when uploading an avatar.
UploadVoiceInfo represents the voice information for upload.
UploadVoiceMetadata represents the metadata for uploading a voice.
UploadVoiceResponse represents the response after uploading or editing a voice.
User represents the inner "user" object in the JSON.
UserAccount represents a user account.
Voice represents a voice setting.
VoiceInfo represents the voice information for updates.
VoiceUpdatePayload represents the payload for updating a voice.
No description provided by the author
No description provided by the author
# Type aliases
PreviousAnnotations represents the annotations used in the request.
UploadAvatarRequest represents the request payload when uploading an avatar.