Methods
createImg2imgTask
- createImg2imgTask(img2imgProcess, checkpoint?, callback_url?): Promise<SDTask>
Parameters
- img2imgProcess: Img2imgProcess
Optional
checkpoint: stringOptional
callback_url: string
Returns Promise<SDTask>
createTxt2imgTask
- createTxt2imgTask(txt2imgProcess, checkpoint?, callback_url?): Promise<SDTask>
Parameters
- txt2imgProcess: Txt2imgProcess
Optional
checkpoint: stringOptional
callback_url: string
Returns Promise<SDTask>
pause
- pause(): Promise<any>
Returns Promise<any>
queryHistory
- queryHistory(status?, limit?, offset?): Promise<HistoryResponse>
Parameters
Optional
status: SDTaskStatusOptional
limit: numberOptional
offset: number
resume
- resume(): Promise<any>
Returns Promise<any>