{"uid":"cap_lMcczxEcegmtLU0boIMFj","slug":"tinyops-text-to-pdf-converter-af361938","name":"TinyOps Text-to-PDF Converter","description":"Paid automation readiness analysis, acceptance evidence, exported n8n workflow auditing, private in-memory text-to-PDF conversion, and sensitive-text redaction with a newly generated PDF.","url":"https://x402-preflight.tinyopsstudio.com/text-to-pdf","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":50000},"title":{"type":"string","maxLength":120}}},"responseSchema":{"type":"json","example":{"ok":true,"encoding":"base64","filename":"converted-document.pdf","page_count":1,"pdf_base64":"JVBERi0xLjQKLi4u","byte_length":840,"content_type":"application/pdf"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RQveD_WiU7Z9d9AZdqVR1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts plain text into a PDF document in-memory and returns the result as a base64-encoded PDF string.","exampleAgentPrompt":"Can you convert the following text into a PDF for me — title it 'Q3 Report Summary' and use this content: 'Revenue grew 18% year-over-year, driven by strong enterprise adoption and improved retention metrics across all product lines.'","exampleUseCases":[{"title":"Archiving meeting notes as PDF","prompt":"Take these meeting notes and convert them into a PDF titled 'Team Standup 2025-06-10': 'Discussed sprint velocity issues, agreed to move retro to Thursday, and assigned bug triage to Alice.'"},{"title":"Exporting sensitive draft document privately","prompt":"I need to turn this confidential text into a PDF without it being stored anywhere — title it 'NDA Draft v2' and here's the content: 'This agreement is entered into between Party A and Party B for the purposes of mutual non-disclosure of proprietary information.'"},{"title":"Generating PDF report from automation output","prompt":"My n8n workflow just produced a plain-text summary — can you convert it to a PDF called 'Automation Audit Report' so I can send it to my manager? Here's the text: 'Workflow ran 47 executions this week, 3 failed due to timeout errors on the payment node.'"}],"resultDescription":"Returns a JSON object with ok: true, the base64-encoded PDF (pdf_base64), the suggested filename, page count, total byte length, and content type (application/pdf). The agent can decode the base64 string to obtain the binary PDF file.","failureModes":["Text exceeds 50,000 character limit — request rejected with validation error","Title exceeds 120 character limit — request rejected","Missing or empty text field — likely returns error or empty PDF","Payment not completed via x402 protocol — 402 Payment Required response","Malformed JSON body — 400 Bad Request"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, private, in-memory text-to-PDF conversion that does not persist data server-side, especially for sensitive or confidential content. It is well-suited for automation pipelines (e.g., n8n workflows) that need to produce PDF artifacts programmatically at low cost ($0.05 USDC per call). Prefer this over cloud storage-based PDF services when privacy and ephemeral processing are priorities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:37:03.514Z","isFirstParty":false}