horde_sdk.ai_horde_api.apimodels.alchemy.status¶
AlchemyUpscaleResult ¶
Bases: HordeAPIData
Represents the result of an upscale job.
Source code in horde_sdk/ai_horde_api/apimodels/alchemy/status.py
AlchemyCaptionResult ¶
Bases: HordeAPIData
Represents the result of a caption job.
Source code in horde_sdk/ai_horde_api/apimodels/alchemy/status.py
AlchemyNSFWResult ¶
Bases: HordeAPIData
Represents the result of an NSFW evaluation.
Source code in horde_sdk/ai_horde_api/apimodels/alchemy/status.py
AlchemyVectorizeResult ¶
Bases: HordeAPIData
Represents the result of a vectorize (raster -> SVG) job.
Source code in horde_sdk/ai_horde_api/apimodels/alchemy/status.py
AlchemyAnnotationResult ¶
Bases: HordeAPIData
Represents the result of a controlnet annotation (raster -> control map) job.
Source code in horde_sdk/ai_horde_api/apimodels/alchemy/status.py
AlchemyInterrogationResultItem ¶
Bases: HordeAPIData
Represents an item in the result of an interrogation job.
Source code in horde_sdk/ai_horde_api/apimodels/alchemy/status.py
AlchemyInterrogationDetails ¶
Bases: HordeAPIData
The details of an interrogation job.
Source code in horde_sdk/ai_horde_api/apimodels/alchemy/status.py
tags
instance-attribute
¶
The resulting similar tags of the image.
sites
instance-attribute
¶
The resulting similar sites of the image.
artists
instance-attribute
¶
The resulting similar artists of the image.
flavors
instance-attribute
¶
The resulting similar flavors of the image.
mediums
instance-attribute
¶
The resulting similar mediums of the image.
movements
instance-attribute
¶
The resulting similar movements of the image.
techniques
instance-attribute
¶
The resulting similar techniques of the image.
AlchemyInterrogationResult ¶
Bases: HordeAPIData
Represents the result of an interrogation job. Use the interrogation field for the details.
Source code in horde_sdk/ai_horde_api/apimodels/alchemy/status.py
interrogation
instance-attribute
¶
The details of the interrogation.
AlchemyFormStatus ¶
Bases: HordeAPIData
Represents the status of a form in an interrogation job.
Source code in horde_sdk/ai_horde_api/apimodels/alchemy/status.py
result
class-attribute
instance-attribute
¶
result: (
AlchemyInterrogationDetails
| AlchemyNSFWResult
| AlchemyCaptionResult
| AlchemyUpscaleResult
| AlchemyVectorizeResult
| AlchemyAnnotationResult
| None
) = None
The result of the form.
validate_form ¶
Ensure that the form is a known alchemy type.
Source code in horde_sdk/ai_horde_api/apimodels/alchemy/status.py
validate_result ¶
Ensure that the result is valid and convert it to the correct type, if possible.
Source code in horde_sdk/ai_horde_api/apimodels/alchemy/status.py
AlchemyStatusResponse ¶
Bases: HordeResponseBaseModel, ResponseWithProgressMixin
Contains the status of an alchemy job and any completed work (if any).
Represents the data returned from the following endpoints and http status codes
- /v2/interrogate/status/{id} | AlchemyStatusRequest [GET] -> 200
- /v2/interrogate/status/{id} | AlchemyDeleteRequest [DELETE] -> 200
v2 API Model: InterrogationStatus
Source code in horde_sdk/ai_horde_api/apimodels/alchemy/status.py
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 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 | |
state
instance-attribute
¶
The state of the job. See GENERATION_STATE for possible values.
all_interrogation_results
property
¶
Return all completed interrogation results.
all_nsfw_results
property
¶
Return all completed nsfw results.
all_caption_results
property
¶
Return all completed caption results.
all_upscale_results
property
¶
Return all completed upscale results.
all_vectorize_results
property
¶
Return all completed vectorize results.
all_annotation_results
property
¶
Return all completed controlnet annotation results.
get_api_model_name
classmethod
¶
is_job_complete ¶
Source code in horde_sdk/ai_horde_api/apimodels/alchemy/status.py
is_job_possible ¶
is_final_follow_up
classmethod
¶
get_finalize_success_request_type
classmethod
¶
__eq__ ¶
AlchemyStatusRequest ¶
Bases: BaseAIHordeRequest, JobRequestMixin, APIKeyAllowedInRequestMixin
Poll for the status of an interrogation job, and retrieve any completed work.
Represents a GET request to the /v2/interrogate/status/{id} endpoint.
Source code in horde_sdk/ai_horde_api/apimodels/alchemy/status.py
AlchemyDeleteRequest ¶
Bases: BaseAIHordeRequest, JobRequestMixin
Cancel an in-progress interrogation job.
Represents a DELETE request to the /v2/interrogate/status/{id} endpoint.