{"url":"https://blog.cloudflare.com/workers-ai/","canonicalUrl":"https://blog.cloudflare.com/workers-ai/","title":"Workers AI: serverless GPU-powered inference on Cloudflare’s global network","_note":"Response truncated for documentation purposes"}
curl --location --request GET 'https://zylalabs.com/api/12317/url+to+markdown+for+ai+api/23137/read+url+as+markdown?url=https://blog.cloudflare.com/workers-ai/' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 将URL转换为AI的Markdown API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
将网址转换为Markdown的AI可以将任何网页转换为经过清理和结构化的Markdown,优化以供AI和LLM使用
非常适合AI训练数据准备、RAG系统、内容聚合以及任何需要从网页获取干净文本的工作流程
The API can extract article content while removing ads, navigation, sidebars, and other non-essential elements, providing a clean output.
The API outputs the extracted content in clean Markdown format, which includes proper headings, lists, links, and code blocks.
The API includes metadata such as the title, author, publish date, and featured image of the article in the output.
The API is optimized for AI and LLM consumption, making it suitable for preparing training data, RAG systems, and content aggregation workflows.
The core benefits include obtaining structured Markdown ready for LLM prompts, ensuring clean text extraction, and enhancing the efficiency of content processing workflows.
API返回从网页提取的结构化Markdown内容,包括文章文本、标题、列表、链接和代码块,以及相关的元数据,如标题、作者和发布日期
响应数据以结构化格式组织,主要内容采用Markdown格式,元数据字段清晰划分,方便解析和集成到应用程序中
主要参数是要转换的网页的 URL 用户可以通过指定其他选项来自定义他们的请求,例如包括或排除某些元数据字段
响应中的关键字段包括“内容”用于Markdown文本“标题”用于文章标题“作者”用于作者名称“发布日期”用于出版日期以及“特色图片”用于任何相关图像
此端点提供文章内容,包括文本、标题、列表和链接,以及元数据,如标题、作者、发布时间和特色图片,确保对文章的全面覆盖
用户可以将Markdown内容直接集成到LLM提示或RAG系统中,利用结构化格式用于训练数据准备或内容聚合,提高工作效率
数据准确性通过自动提取技术和定期更新解析算法的结合进行维护,确保提取的内容相关且最新
典型的使用案例包括为人工智能模型准备训练数据 汇总研究内容 和提取干净文本进行自然语言处理任务 所有这些都受益于结构化的Markdown输出