2022-11-23 23:08:00 -07:00
|
|
|
export interface PromptInput {
|
|
|
|
prompt: string;
|
2022-11-24 00:23:34 -07:00
|
|
|
seed?: number;
|
2022-11-23 23:08:00 -07:00
|
|
|
denoising?: number;
|
|
|
|
guidance?: number;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface InferenceInput {
|
|
|
|
alpha: number;
|
|
|
|
// num_inference_steps: number;
|
|
|
|
// seed_image_id: number;
|
|
|
|
|
|
|
|
start: PromptInput;
|
|
|
|
end: PromptInput;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface InferenceResult {
|
|
|
|
input: InferenceInput;
|
|
|
|
|
2022-11-24 01:00:06 -07:00
|
|
|
counter: number;
|
|
|
|
|
2022-11-23 23:08:00 -07:00
|
|
|
// URL of the image
|
|
|
|
image: string;
|
|
|
|
|
|
|
|
// URL of the audio
|
|
|
|
audio: string;
|
|
|
|
}
|