import { stableDiffusionGet } from "https://esm.town/v/calvinfo/stableDiffusionGet";
import { stableDiffusionCreate } from "https://esm.town/v/calvinfo/stableDiffusionCreate";
export let stableDiffusion = async (key, prompt) => {
let data = await stableDiffusionCreate(key, prompt);
await setTimeout(() => {}, 60000);
let res = await stableDiffusionGet(key, data.urls.get);
return res;
}