界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
文档与办公 · SKILL.md

pdf-to-text

pdf-to-text

【文档与办公】PDF to Text Generator. Extract text content from PDF documents using PDF to Text Generator. Triggers: pdf to text

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: pdf-to-text description: "PDF to Text Generator. Extract text content from PDF documents using PDF to Text Generator. Triggers: pdf to text" allowed-tools: Bash(curl *), WebFetch

PDF to Text Generator

Extract text content from PDF documents using PDF to Text Generator.

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "pdf-to-text",
    "version": "0.0.1",
    "input": {
      "url": "https://example.com/document.pdf"
    }
  }'

Parameters

ParameterTypeDefaultDescription
urlstringPdf Url

Examples

Extract text from PDF:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "pdf-to-text",
    "version": "0.0.1",
    "input": {
      "url": "https://example.com/document.pdf"
    }
  }'

Extract from research paper:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "pdf-to-text",
    "version": "0.0.1",
    "input": {
      "url": "https://example.com/research-paper.pdf"
    }
  }'

Documentation

我的收藏