horde_sdk.ai_horde_api.apimodels.alchemy.submit¶
AlchemyJobSubmitResponse ¶
Bases: HordeResponseBaseModel
Indicates that an alchemy job has been submitted successfully and the kudos gained.
Represents the data returned from the following endpoints and http status codes
- /v2/interrogate/submit | AlchemyJobSubmitRequest [POST] -> 200
v2 API Model: GenerationSubmitted
Source code in horde_sdk/ai_horde_api/apimodels/alchemy/submit.py
AlchemyJobSubmitRequest ¶
Bases: BaseAIHordeRequest, JobRequestMixin, APIKeyAllowedInRequestMixin
Request to submit an alchemy job once a worker has completed it.
Represents a POST request to the /v2/interrogate/submit endpoint.
v2 API Model: SubmitInputStable
Source code in horde_sdk/ai_horde_api/apimodels/alchemy/submit.py
result
instance-attribute
¶
The results of the alchemy job, keyed by form name. The API requires this field even for faulted submissions, though it is ignored server-side in that case.
The API swagger doc declares this field as a string, but the server actually requires a
dictionary and will reject string submissions; the str arm exists only for swagger
compatibility.
state
instance-attribute
¶
The state of this generation. See GENERATION_STATE for more information.
warn_on_string_result ¶
Warn that the server will reject a string result despite the swagger doc allowing it.