#185·zerox

如何将图像转换为 Markdown?

作者: Alndaly创建于 2025年6月15日更新于 2025年8月13日

Here is my code below: ... async with async_playwright() as p: browser = await p.chromium.launch(headless=True) page = await browser.new_page() await page.goto(url, wait_until="networkidle") html_content = await page.content() await page.screenshot(path=temp_shot_img_path, full_page=True) await browser.close() result = await zerox( file_path=temp_shot_img_path, model="GPT-4o-mini", cleanup=True, ) ...

内容来源: getomni-ai/zerox