formData = {
const formData = new FormData()
formData.append("init_image", await blobify(canvas));
formData.append("init_image_mode", "IMAGE_STRENGTH");
formData.append("image_strength", 0.35);
formData.append("text_prompts[0][text]", form.pos);
formData.append("text_prompts[0][weight]", 1.0);
formData.append("text_prompts[1][text]", form.neg);
formData.append("text_prompts[1][weight]", -1.0);
formData.append("cfg_scale", 7);
formData.append("clip_guidance_preset", "FAST_BLUE");
formData.append("samples", 2);
formData.append("steps", 40);
formData.append('sampler', 'K_EULER_ANCESTRAL')
return formData;
}