debug(f'{params_kw=}' image_path = realpath(params_kw.image_path) prompt = params_kw.prompt d = await generate(image_path, prompt) return d