मुख्य सामग्री पर जाएं
अवलोकन अवलोकन समाचार समाचार
साझा करें

Cookbook

कॉपी करने योग्य प्रॉम्प्ट। तैयार API उदाहरण।

Document AI, Data APIs और IDE-कार्यप्रवाहों के लिए 28 प्रॉम्प्ट — कॉपी करें, पेस्ट करें, कोड प्राप्त करें।

PaperOffice llms.txt हर आधुनिक LLM को पढ़ता है: Claude, Cursor और आपका IDE बाकी काम करता है।

28 तैयार प्रॉम्प्ट वास्तविक अंतर्बिंदु REST और MCP

एकीकरण

llms.txt से चल रहे एकीकरण तक

तीन चरण: दस्तावेज़ लिंक करें, इरादा बताएं, कोड लें।

  1. llms.txt डालें

    Claude, Cursor या अपनी IDE में डालें।

  2. उद्देश्य बताएं

    क्या बनाना है — या इस पृष्ठ से एक प्रॉम्प्ट।

  3. कोड लिखने दें

    IDE चलती हुई एकीकरण प्रदान करती है।

Document AI

दस्तावेज़ पढ़ें, जांचें, भेजें

प्रॉम्प्ट कॉपी करें, Claude या Cursor में पेस्ट करें — तैयार।

IDP चालान + AI-OCR + बाउंडिंग बॉक्स

दस्तावेज़ में स्थिति सहित चालान फ़ील्ड निकालें।

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Build me an invoice extractor that:
1. Uploads a PDF via POST /job/add/workflow (multipart, field file_1)
2. Uses idp_collection=invoice, processing_lane=instant (sync)
3. Reads every field from result.pages_idp[0].suggested_fields
   (keys like _supplier_name, _total_amount, _invoice_date)
   and the boxes from result.pages_aiocr.pages
4. Renders a verification view highlighting each value
   at its bounding box position

Auth: Authorization: Bearer po_ut_YOUR_API_KEY

AI-OCR — छवि/PDF से पाठ

POST /job/add/paperoffice_aiocr___generate (ocr_mode=complete) के माध्यम से पूर्ण पाठ।

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Write a minimal script that:
1. Sends an image or PDF to POST /job/add/paperoffice_aiocr___generate
   (multipart, field file_1)
2. Uses ocr_mode=complete and processing_lane=instant (sync)
3. Prints the extracted text from result ?? job_result (pages)

Modes: complete (+tables), grid (+bounding boxes), text (plain).
Auth: Authorization: Bearer po_ut_YOUR_API_KEY

AI PDF विभाजन — संयुक्त PDF को अलग करें

दस्तावेज़ सीमाओं का पता लगाएं और अलग-अलग फ़ाइलों को नाम दें।

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Build a splitter for large batch PDFs (up to 3000 pages):
1. POST /job/add/workflow with template=pdf_ai_split (multipart, field file)
2. naming_instruction=Dokumenttyp_Datum_Absender,
   locale=de_DE, processing_lane=instant
3. List every created document from the result
   (suggested filename + page range)

The AI detects document boundaries automatically.
Auth: Authorization: Bearer po_ut_YOUR_API_KEY

दस्तावेज़ गुमनामी — PII को ब्लैकआउट करें

नाम, IBAN, पते का पता लगाएं और संपादित करें।

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt
Also use llms-full.txt for anonymize parameters (scenario, apply).

Build a GDPR anonymizer (preview → apply):
1. POST /job/add/workflow template=document_anonymize_preview (field file)
2. Set scenario=gdpr_auskunft (or externe_weitergabe / finanzdaten),
   redact_categories=all, optional whitelist / custom_redact
3. client_wait=false then poll GET /job/get/{job_id}
4. Show detected_pii.redact_box_ids + simplified_boxes
5. Apply: POST /job/add/paperoffice_dataripper___redact_image
   with files + bounding_boxes + redact_boxes from the preview
   (or MCP: po_anonymization_pii_detect → po_anonymization_redaction_apply
   with preview_job_id)
Optional one-shot: REST template=document_anonymize OR MCP po_anonymization_anonymize
  (no HITL; pass scenario/whitelist).
Redact Agent: POST /documents/redact-agent-run or MCP po_documents_redact_agent_run.

Auth: Authorization: Bearer po_ut_YOUR_API_KEY

वॉइस TTS — टेक्स्ट से ऑडियो

voice=Nadja (आदि) के माध्यम से सिंक्रोनस MP3।

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Build a text-to-speech generator:
1. POST /job/add/paperoffice_voice___tts with text=..., voice=Nadja,
   output_format=mp3
2. output=url and processing_lane=instant for a synchronous audio link
3. Play or download the audio URL from result ?? job_result

Voices: Nadja, Thomas, Anna, Hans (DE) + 100+ more.
Auth: Authorization: Bearer po_ut_YOUR_API_KEY

IDP अनुबंध + AI-OCR + बाउंडिंग बॉक्स

अनुबंध क्षेत्र निकालें, दस्तावेज़ में स्थिति सहित।

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Build a contract extractor that:
1. Uploads a PDF via POST /job/add/workflow (multipart, field file_1)
2. Uses idp_collection=contract, processing_lane=instant (sync)
3. Reads parties, dates and notice period from
   result.pages_idp[0].suggested_fields (value + bounding box)
4. Renders a verification view with bounding boxes

Auth: Authorization: Bearer po_ut_YOUR_API_KEY

ई-हस्ताक्षर — हस्ताक्षर अनुरोध बनाएं

हस्ताक्षरकर्ताओं को आमंत्रित करें और स्थिति/याद दिलाव का प्रबंधन करें।

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Build an e-signature request flow:
1. Ensure the document has a pofid in PaperOffice
2. POST /signatures/create with document_pofid (or pofid)
   and a signers array (name + email per signer)
3. Return the signature request id and status
4. Optionally POST /signatures/remind for pending signers

Auth: Authorization: Bearer po_ut_YOUR_API_KEY

डिजिटल रजिस्टर्ड डाक — ईमेल के माध्यम से भेजें

पीडीएफ पासवर्ड (ईमेल या एसएमएस) और वितरण प्रमाणपत्र के साथ सुरक्षित डिलीवरी।

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Build a secure document delivery (digital registered mail):
1. POST /document_delivery/create_and_send with:
   pofids: ["POFID_HERE"],
   recipient_email, optional recipient_name,
   subject, optional message
2. security_mode=link → PDF password in the same email
   security_mode=secure_sms → link by email, password by SMS
   (requires recipient_phone in E.164, e.g. +49170…)
3. Show delivery_id and that access events are logged
   (Versandhistorie / delivery log)

Auth: Authorization: Bearer po_ut_YOUR_API_KEY

डेटा और सुरक्षा APIs

स्थान, जोखिम और मूल डेटा की जाँच करें

जियोकोडिंग, मौसम, फिंगरप्रिंट, यूएसटी-आईडी नंबर और अधिक — एक प्रॉम्प्ट के रूप में।

जियोकोडिंग — फॉरवर्ड / रिवर्स / ऑटोकंप्लीट

पता ↔ निर्देशांक।

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Build a geocoding helper that:
1. Forward: GET /geocoding/forward?q=...&lang=de
2. Reverse: GET /geocoding/reverse?lat=...&lon=...
3. Autocomplete: GET /geocoding/autocomplete?q=...
4. Prints display_name, lat, lon and credits_billed

Auth: Authorization: Bearer po_ut_YOUR_API_KEY

मौसम — वर्तमान + वायु गुणवत्ता

बिलिंग सहित वर्तमान मौसम।

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Build a weather lookup that:
1. Calls GET /weather/current?lat=...&lon=...&lang=de
2. Shows temperature, condition text and air quality if present
3. Displays credits_billed from the response

Auth: Authorization: Bearer po_ut_YOUR_API_KEY

IP2Location — IP → स्थान

IP से स्थान, वैकल्पिक रूप से मौसम।

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Build an IP intelligence client that:
1. Calls GET /ip2location/full (empty ip = visitor IP)
2. Extracts country, city, geo_lat/lon, ISP
3. Optionally chains weather from the same response

Auth: Authorization: Bearer po_ut_YOUR_API_KEY

डिवाइस फिंगरप्रिंट — विज़िटर-ID

विज़िटर-ID और आत्मविश्वास स्कोर।

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Build a device fingerprint check that:
1. Collects client signals in the browser
2. POSTs to /fingerprint/identify
3. Returns visitor_id / confidence for fraud checks

Auth: Authorization: Bearer po_ut_YOUR_API_KEY

फेक ईमेल डिटेक्टर — डिसपोजेबल चेक

एक बार उपयोग योग्य ईमेल और जोखिम स्कोर।

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Build an email risk checker that:
1. Validates an address via the Fake Email Detector endpoint
2. Flags disposable / role / invalid domains
3. Returns a clear allow/deny recommendation

Auth: Authorization: Bearer po_ut_YOUR_API_KEY

VPN / अनामता जाँच

VPN, प्रॉक्सी, Tor, डेटासेंटर।

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Build a VPN/proxy detector that:
1. Calls GET /ip2location/vpn?ip=...
2. Normalizes is_vpn, is_proxy, is_tor, is_datacenter flags
3. Shows a clear risk badge for the visitor

Auth: Authorization: Bearer po_ut_YOUR_API_KEY

VAT वैलिडेटर — EU USt-IdNr.

मान्यता और कंपनी के डेटा।

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Build a VAT ID validator that:
1. Checks an EU VAT number via the VAT validator endpoint
2. Returns company name and address when valid
3. Handles invalid / not-found responses cleanly

Auth: Authorization: Bearer po_ut_YOUR_API_KEY

मुद्रा विनिमय — लाइव दरें

वर्तमान दर के साथ रूपांतरण।

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Build a currency converter that:
1. Calls the currency exchange endpoint (from, to, amount)
2. Shows rate and converted amount
3. Caches the last rate for the UI

Auth: Authorization: Bearer po_ut_YOUR_API_KEY

IDE और AI टूल्स

Claude, Cursor और आपकी IDE के लिए

IDE में काम करने वाले प्रॉम्प्ट — MCP सर्वर सहित।

IDP इनवॉइस पाइपलाइन + बाउंडिंग बॉक्स + CSV

प्रमाणीकरण निर्देशांक के साथ बैच निष्कर्षण।

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Create a Python script that:
1. Takes a folder of invoice PDFs
2. Extracts all fields using POST /job/add/workflow with idp_collection=invoice
3. Returns bounding boxes for verification (result.pages_aiocr)
4. Exports to CSV

Important: Use file_1 for uploads; fields live in result.pages_idp[0].suggested_fields.
Handle sync (HTTP 200 with result) and async (HTTP 202 → poll GET /job/get/{job_id}).
Auth: Authorization: Bearer po_ut_YOUR_API_KEY

MCP सर्वर — IDE में डॉक्यूमेंट AI

MCP कनेक्ट करें और वर्कस्पेस से दस्तावेज़ प्रक्रिया करें।

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Help me set up the MCP Server for PaperOffice in Cursor.
I want to use Document AI directly in my IDE.

Show me:
1. How to configure the MCP connection (URL https://mcp.paperoffice.ai/cursor)
2. Available tools via tools/list
3. How to process documents from my workspace

Auth: Authorization: Bearer po_ut_YOUR_API_KEY

वॉइस एजेंट — STT + TTS

भाषा इनपुट प्रक्रिया करें और ऑडियो उत्तर दें।

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Create a voice agent that:
1. Takes audio input (Speech-to-Text)
2. Processes the text
3. Generates audio response (Text-to-Speech)

Use these pipelines:
- STT: POST /job/add/paperoffice_voice___stt (audio_file)
- TTS: POST /job/add/paperoffice_voice___tts (text, voice=Nadja,
  output_format=mp3, output=url)
- Use processing_lane=instant for a synchronous response.
Auth: Authorization: Bearer po_ut_YOUR_API_KEY

धोखाधड़ी का पता लगाना — फिंगरप्रिंट + IP

डिवाइस फिंगरप्रिंट और भौगोलिक/IP संकेतों की जांच करें।

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Build a fraud detection system that:
1. Checks device fingerprints
2. Validates IP geolocation
3. Detects suspicious patterns

Use the Security & Data AI endpoints.
These are instant APIs (no polling needed).
Auth: Authorization: Bearer po_ut_YOUR_API_KEY

बैच AI PDF विभाजन

बड़ी PDFs वाले फ़ोल्डर को असिंक्रोनस रूप से विभाजित करें।

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Create a batch processor that:
1. Takes a folder of large PDFs (up to 3000 pages each)
2. Uses POST /job/add/workflow with template=pdf_ai_split
3. Uses naming_instruction for smart filenames
4. Handles async jobs (HTTP 202) by polling GET /job/get/{job_id}

Use locale=de_DE for German document types.
Auth: Authorization: Bearer po_ut_YOUR_API_KEY

दस्तावेज़ वर्गीकारक — OCR + फ़ोल्डर

OCR करें, वर्गीकृत करें, और उप-फ़ोल्डर में व्यवस्थित करें।

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Build a document classifier that:
1. Watches a folder for new PDFs
2. Uses OCR (POST /job/add/paperoffice_aiocr___generate, ocr_mode=complete)
   to extract text
3. Classifies into: invoice, contract, receipt, correspondence
4. Moves files to category subfolders
5. Logs results to classification_log.csv

Authenticate with: Authorization: Bearer po_ut_YOUR_API_KEY.
processing_lane=instant for a synchronous response.

एंड-टू-एंड

पूर्ण पाइपलाइनें

इनपुट से निर्यात तक — प्रत्येक चरण एक ही प्रॉम्प्ट में।

IDP बिल → लेखा निर्यात

पीडीएफ अपलोड → AI-IDP + बाउंडिंग बॉक्स → सत्यापन → CSV निर्यात

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Build an accounts-payable pipeline:
1. Watch a folder for incoming invoice PDFs
2. Extract fields via POST /job/add/workflow (file_1,
   idp_collection=invoice, processing_lane=instant)
3. Flag every field with confidence < 0.9 for manual review,
   including its bounding box for the verification UI
   (result.pages_idp[0].suggested_fields + result.pages_aiocr)
4. Export supplier, total, date and IBAN as CSV for the accounting import

Auth: Authorization: Bearer po_ut_YOUR_API_KEY

IDP अनुबंध + समयसीमा अलर्ट

अनुबंध अपलोड → मुख्य शब्द → Knowledge Graph → चेतावनी संदेश

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Build a contract analyzer:
1. Upload contracts via POST /job/add/workflow (file_1,
   idp_collection=contract, processing_lane=instant)
2. Extract parties, start date, end date and notice period
   from result.pages_idp[0].suggested_fields (each with a bounding box)
3. Store the key terms in a knowledge graph
4. Alert me 90 days before a notice period expires

Auth: Authorization: Bearer po_ut_YOUR_API_KEY

PDF रूपांतरण — Word / PowerPoint / PDF/A

PDF अपलोड करें → फॉर्मेट चुनें → रूपांतरण → डाउनलोड

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Build a PDF converter service:
1. One pipeline per target format (field file_1):
   POST /job/add/pdfstudio___pdf_to_word | pdfstudio___pdf_to_powerpoint |
   pdfstudio___pdf_to_pdfa | pdfstudio___pdf_to_webp
2. processing_lane=instant for a synchronous response
3. Return the download URL from result ?? job_result

Auth: Authorization: Bearer po_ut_YOUR_API_KEY

वेबहुक — job.completed को संभालें

वेबहुक पंजीकृत करें → दस्तावेज़ भेजें → इवेंट प्राप्त करें → प्रक्रिया करें

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Build a webhook event handler:
1. Register a webhook via POST /webhooks/subscribe
   (url, events: ["job.completed", "job.failed"], secret)
2. Verify the HMAC-SHA256 signature of every delivery
   with the subscription secret (see llms-full.txt, webhooks)
3. Process the payload whenever job.completed arrives

Note: webhooks always require a token (account binding).
Auth: Authorization: Bearer po_ut_YOUR_API_KEY

OCR → TTS — दस्तावेज़ से ऑडियो

दस्तावेज़ OCR → पाठ तैयार करें → TTS जनरेट करें → ऑडियो सहेजें

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Build a document-to-audio pipeline:
1. OCR via POST /job/add/paperoffice_aiocr___generate
   (file_1, ocr_mode=complete, processing_lane=instant)
2. Split the extracted text (result ?? job_result, pages) into 5000-character chunks
3. TTS per chunk: POST /job/add/paperoffice_voice___tts (text, voice=Nadja,
   output_format=mp3, output=url, processing_lane=instant)
4. Save all returned audio URLs as a playlist

Auth: Authorization: Bearer po_ut_YOUR_API_KEY

बैच OCR → CSV निर्यात

फ़ोल्डर स्कैन करें → बैच OCR → पाठ एकत्र करें → CSV निर्यात

प्रॉम्प्ट
Read this llms.txt (AI-optimized API docs):
https://api.paperoffice.ai/latest/docs/llms.txt

Build a batch OCR-to-CSV exporter:
1. Scan a folder for PDF/PNG/JPG/TIFF/WEBP files
2. For each file: POST /job/add/paperoffice_aiocr___generate
   (file_1, ocr_mode=complete, processing_lane=instant)
3. Collect filename, page_count, text preview and confidence
4. Write everything to ocr_results.csv

Auth: Authorization: Bearer po_ut_YOUR_API_KEY

अगला चरण

API के साथ जारी रखें

llms.txt और प्लेग्राउंड — बिना किसी रास्ते के।

REST और MCP के लिए एक टोकन credits_billed के साथ प्रतिक्रिया अपनी यूरोपीय बुनियादी ढांचा
वीडियो

Cookbook एक्शन में

वीडियो में देखें कि PaperOffice API व्यावहारिक रूप से कैसे काम करता है।

Cookbook एक्शन में

अक्सर पूछे जाने वाले प्रश्न

सभी महत्वपूर्ण जानकारी एक नज़र में

क्या मुझे SDK की आवश्यकता है?

नहीं। PaperOffice API शुद्ध REST है: एक एंडपॉइंट, एक Bearer टोकन, multipart/form-data। IDEs और Agents के लिए अतिरिक्त रूप से MCP सर्वर भी उपलब्ध है।

llms.txt प्रत्येक प्रॉम्प्ट में क्यों होता है?

llms.txt API दस्तावेज़ीकरण का मशीन-पठनीय संस्करण है। आपका मॉडल इससे एंडपॉइंट्स, पैरामीटर और उत्तर प्रारूप पढ़ता है — और कोई फ़ील्ड गढ़ता नहीं है।

मैं कौन सा कुंजी (key) दर्ज करूँ?

po_ut_ उपसर्ग के साथ एक उपयोगकर्ता टोकन। आप इसे PaperOffice ऐप में खाता → API में पा सकते हैं। प्रॉम्प्ट में po_ut_YOUR_API_KEY को अपनी खुद की कुंजी से बदल दें।

क्या परिणम तुरंत आता है या मुझे पॉलिंग करनी होगी?

processing_lane=instant के साथ API समकालिक (synchronous) उत्तर देता है (HTTP 200 with result)। बिना इस पैरामीटर के HTTP 202 आता है जिसमें job_id होता है; परिणम GET /job/get/{job_id} या वेबहुक के माध्यम से प्राप्त करें।

क्या प्रॉम्प्ट हर वातावरण में काम करते हैं?

प्रॉम्प्ट में कोई उपकरण-विशिष्ट निर्देश नहीं हैं। Claude, Claude कोड और Cursor के साथ परीक्षण किया गया — कोई भी वातावरण जो URL पढ़ सकता है, इसके साथ काम कर लेगा।

एक कॉल का खर्च कितना है?

प्रत्येक उत्तर में credits_billed उल्लिखित होता है। प्रत्येक पाइपलाइन के लिए Credits मूल्य मूल्य अवलोकन में दिए गए हैं; केवल वास्तव में संसाधित किए गए हिस्से के लिए ही बिल किया जाता है।

आप PaperOffice को कहाँ आज़माना चाहते हैं?

कंप्यूटर और स्मार्टफोन जुड़े हुए हैं: कंप्यूटर पर वर्कस्पेस, फोन पर कैप्चर।

आपका टेस्ट वर्जन तैयार है

आप कहाँ से शुरू करना चाहेंगे?

पूर्ण वर्कस्पेस कंप्यूटर के लिए अनुकूलित है। मोबाइल संस्करण दस्तावेज़ों को कैप्चर करने, जांचने और साझा करने के लिए उपयुक्त है।

app.paperoffice.ai

कंप्यूटर पर शुरू करें

हम आपकी ईमेल आईडी पर आपका व्यक्तिगत एक्सेस लिंक भेजेंगे।

निःशुल्क पंजीकरण ऐप खोलें PaperOffice ऐप पूरा उत्पाद: वेब, डेस्कटॉप और मोबाइल। दस्तावेज़ कैप्चर करें, व्यवस्थित करें, खोजें और टीम के साथ काम करें। निःशुल्क खाता आवश्यक है Playground खोलें Playground चयनित फ़ंक्शन तुरंत आज़माएँ — बिना पंजीकरण, सीमित डेमो API कुंजी के साथ। बिना पंजीकरण, लेकिन एक सीमित डेमो API कुंजी