mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-06 02:00:46 +00:00
16 lines
398 B
TypeScript
16 lines
398 B
TypeScript
import MakeRequest from "../MakeRequest";
|
|
|
|
export interface EnqueueImageGenRequest {
|
|
loRA_path: String,
|
|
check_point: String,
|
|
vae: String
|
|
}
|
|
|
|
export interface EnqueueImageGenResponse {
|
|
success: boolean
|
|
}
|
|
|
|
export const EnqueueImageGen = MakeRequest<string, EnqueueImageGenRequest, EnqueueImageGenResponse,{}>({
|
|
method: "POST",
|
|
routingFunction: () => "/v1/inference/enqueue_image_gen",
|
|
}); |