Checks the status of a given request.
Request status object.
Optional
request: StableHordeQueuedRequestThe request to check.
Enqueues an image generation request.
The queued request.
Optional
prompt: stringThe prompt to use for the generation.
Optional
params: StableHordeRequestParameters = DEFAULT_PARAMSThe parameters for the generation.
Returns the generations of a given request. You may only send this request twice every minute.
Creates an asynchronous request handler for a single request. This request handler will emit events as the request progresses, given a specific polling interval.
The request handler.
Optional
pollingInterval: number = 5000The polling interval in milliseconds. Defaults to 5000.
Generated using TypeDoc
Api
public
Classdesc
An API client for Stable Horde.