_users
ContributionsDetails
Bases: HordeAPIObjectBaseModel
How many images and megapixelsteps this user has generated.
v2 API Model: ContributionsDetails
Source code in horde_sdk/ai_horde_api/apimodels/_users.py
fulfillments
class-attribute
instance-attribute
How many images this user has generated.
megapixelsteps
class-attribute
instance-attribute
How many megapixelsteps this user has generated.
UserKudosDetails
Bases: HordeAPIObjectBaseModel
The details of the kudos this user has accumulated, used, sent and received.
v2 API Model: UserKudosDetails
Source code in horde_sdk/ai_horde_api/apimodels/_users.py
accumulated
class-attribute
instance-attribute
The amount of Kudos accumulated or used for generating images.
admin
class-attribute
instance-attribute
The amount of Kudos this user has been given by the Horde admins.
awarded
class-attribute
instance-attribute
The amount of Kudos this user has been awarded from things like rating images.
gifted
class-attribute
instance-attribute
The amount of Kudos this user has given to other users.
received
class-attribute
instance-attribute
The amount of Kudos this user has been given by other users.
donated
class-attribute
instance-attribute
The amount of Kudos this user has donated to support education accounts.
recurring
class-attribute
instance-attribute
The amount of Kudos this user has received from recurring rewards.
styled
class-attribute
instance-attribute
The amount of Kudos this user has received from styling images.
MonthlyKudos
Bases: HordeAPIObjectBaseModel
The details of the monthly kudos this user receives.
v2 API Model: MonthlyKudos
Source code in horde_sdk/ai_horde_api/apimodels/_users.py
amount
class-attribute
instance-attribute
How much recurring Kudos this user receives monthly.
last_received
class-attribute
instance-attribute
Last date this user received monthly Kudos.
UserThingRecords
Bases: HordeAPIObjectBaseModel
How many images, texts, megapixelsteps and tokens this user has generated or requested.
v2 API Model: UserThingRecords
Source code in horde_sdk/ai_horde_api/apimodels/_users.py
megapixelsteps
class-attribute
instance-attribute
How many megapixelsteps this user has generated or requested.
tokens
class-attribute
instance-attribute
How many token this user has generated or requested.
UserAmountRecords
Bases: HordeAPIObjectBaseModel
How many images, texts, megapixelsteps and tokens this user has generated or requested.
v2 API Model: UserAmountRecords
Source code in horde_sdk/ai_horde_api/apimodels/_users.py
image
class-attribute
instance-attribute
How many images this user has generated or requested.
interrogation
class-attribute
instance-attribute
How many texts this user has generated or requested.
text
class-attribute
instance-attribute
How many texts this user has generated or requested.
UserRecords
Bases: HordeAPIObjectBaseModel
How many images, texts, megapixelsteps, tokens and styles this user has generated, requested or has had used.
v2 API Model: UserRecords
Source code in horde_sdk/ai_horde_api/apimodels/_users.py
contribution
class-attribute
instance-attribute
How much this user has contributed.
fulfillment
class-attribute
instance-attribute
How much this user has fulfilled.
request
class-attribute
instance-attribute
How much this user has requested.
usage
class-attribute
instance-attribute
How much this user has used.
style
class-attribute
instance-attribute
How much this user's styles have been used.
UsageDetails
Bases: HordeAPIObjectBaseModel
How many images and megapixelsteps this user has requested.
v2 API Model: UsageDetails
Source code in horde_sdk/ai_horde_api/apimodels/_users.py
megapixelsteps
class-attribute
instance-attribute
How many megapixelsteps this user has requested.
requests
class-attribute
instance-attribute
How many images this user has requested.
ActiveGenerations
Bases: HordeAPIObjectBaseModel
A list of generations that are currently active for this user.
v2 API Model: ActiveGenerations
Source code in horde_sdk/ai_horde_api/apimodels/_users.py
text
class-attribute
instance-attribute
The IDs of the text generations that are currently active for this user.
image
class-attribute
instance-attribute
The IDs of the image generations that are currently active for this user.
alchemy
class-attribute
instance-attribute
The IDs of the alchemy generations that are currently active for this user.
UserDetailsResponse
Bases: HordeResponseBaseModel
The details of a user.
v2 API Model: UserDetails
Source code in horde_sdk/ai_horde_api/apimodels/_users.py
201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 | |
active_generations
class-attribute
instance-attribute
The active generations this user has requested.
admin_comment
class-attribute
instance-attribute
(Privileged) Comments from the horde admins about this user.
account_age
class-attribute
instance-attribute
How many seconds since this account was created.
concurrency
class-attribute
instance-attribute
How many concurrent generations this user may request.
contact
class-attribute
instance-attribute
(Privileged) Contact details for the horde admins to reach the user in case of emergency.
contributions
class-attribute
instance-attribute
How many images and megapixelsteps this user has generated.
customizer
class-attribute
instance-attribute
If this user can run custom models.
evaluating_kudos
class-attribute
instance-attribute
evaluating_kudos: float | None = Field(default=None, description='(Privileged) The amount of Evaluating Kudos this untrusted user has from generations and uptime. When this number reaches a pre-specified threshold, they automatically become trusted.')
(Privileged) The amount of Evaluating Kudos this untrusted user has from generations and uptime. When this number reaches a pre-specified threshold, they automatically become trusted.
flagged
class-attribute
instance-attribute
This user has been flagged for suspicious activity.
id_
class-attribute
instance-attribute
The user unique ID. It is always an integer.
kudos
class-attribute
instance-attribute
kudos: float | None = Field(default=None, description='The amount of Kudos this user has. The amount of Kudos determines the priority when requesting image generations.')
The amount of Kudos this user has. The amount of Kudos determines the priority when requesting image generations.
kudos_details
class-attribute
instance-attribute
How much Kudos this user has accumulated or used for generating images.
moderator
class-attribute
instance-attribute
This user is a Horde moderator.
monthly_kudos
class-attribute
instance-attribute
How much recurring Kudos this user receives monthly.
pseudonymous
class-attribute
instance-attribute
If true, this user has not registered using an oauth service.
records
class-attribute
instance-attribute
How many images, texts, megapixelsteps and tokens this user has generated or requested.
sharedkey_ids
class-attribute
instance-attribute
The IDs of the shared keys this user has access to.
service
class-attribute
instance-attribute
This user is a Horde service account and can provide the proxied_user field.
special
class-attribute
instance-attribute
(Privileged) This user has been given the Special role.
suspicious
class-attribute
instance-attribute
(Privileged) How much suspicion this user has accumulated.
trusted
class-attribute
instance-attribute
This user is a trusted member of the Horde.
usage
class-attribute
instance-attribute
How many images and megapixelsteps this user has requested.
username
class-attribute
instance-attribute
The user's unique Username. It is a combination of their chosen alias plus their ID.
vpn
class-attribute
instance-attribute
(Privileged) This user has been given the VPN role.
education
class-attribute
instance-attribute
(This user has been given the education role.
worker_count
class-attribute
instance-attribute
How many workers this user has created (active or inactive).
worker_ids
class-attribute
instance-attribute
The IDs of the workers this user has created (active or inactive).
worker_invited
class-attribute
instance-attribute
worker_invited: int | None = Field(default=None, description='Whether this user has been invited to join a worker to the horde and how many of them. When 0, this user cannot add (new) workers to the horde.')
Whether this user has been invited to join a worker to the horde and how many of them. When 0, this user cannot add (new) workers to the horde.
styles
class-attribute
instance-attribute
The styles this user has created.
ListUsersDetailsResponse
Bases: HordeResponseRootModel[list[UserDetailsResponse]]
The response for a list of user details.
v2 API Model: _ANONYMOUS_MODEL
Source code in horde_sdk/ai_horde_api/apimodels/_users.py
ListUsersDetailsRequest
Bases: BaseAIHordeRequest
Represents a request to list all users.
Source code in horde_sdk/ai_horde_api/apimodels/_users.py
sort
class-attribute
instance-attribute
The field to sort the users by. The default is by kudos.
get_api_model_name
classmethod
get_http_method
classmethod
get_api_endpoint_subpath
classmethod
get_default_success_response_type
classmethod
SingleUserDetailsRequest
Bases: BaseAIHordeRequest, RequestSpecifiesUserIDMixin
Source code in horde_sdk/ai_horde_api/apimodels/_users.py
get_api_model_name
classmethod
get_http_method
classmethod
get_api_endpoint_subpath
classmethod
get_default_success_response_type
classmethod
ModifyUser
Bases: _ModifyUserBase
Source code in horde_sdk/ai_horde_api/apimodels/_users.py
ModifyUserReply
Bases: _ModifyUserBase
Source code in horde_sdk/ai_horde_api/apimodels/_users.py
ModifyUserResponse
Bases: HordeResponseBaseModel, ModifyUserReply
Source code in horde_sdk/ai_horde_api/apimodels/_users.py
ModifyUserRequest
Bases: BaseAIHordeRequest, RequestSpecifiesUserIDMixin, ModifyUser, APIKeyAllowedInRequestMixin