Analyseur de texte
Extracts text from a document file. Supports PDF, DOCX, PPTX, XLSX, and plain text formats. Upload a file via multipart/form-data.
Privacy: Text parsing runs entirely in-memory on Venice’s infrastructure with zero data retention. Documents are processed and immediately discarded — no content is stored or logged.
Authentication: This endpoint accepts either a Bearer API key or a SIGN-IN-WITH-X header for x402 wallet-based authentication. The legacy X-Sign-In-With-X header is also accepted during migration. When using x402, a 402 Payment Required response indicates insufficient balance and includes top-up instructions.
file. Les formats pris en charge incluent PDF, DOCX, XLSX et texte brut (jusqu’à 25 Mo).
Définissez response_format sur json (par défaut) pour une sortie structurée avec le texte extrait et le nombre de tokens, ou sur text pour le texte brut extrait.
Confidentialité : L’analyse de texte s’exécute entièrement en mémoire sur l’infrastructure de Venice avec zéro rétention de données. Vos documents sont traités puis immédiatement supprimés — aucun contenu n’est stocké ni enregistré.
Tarification : 0,01 $ par requête.
Exemple (cURL)
Autorisations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Corps
The document file to parse. Supported formats: PDF, DOCX, PPTX, XLSX, and plain text files. Maximum size: 25MB.
The format of the response output. "json" returns structured JSON with text and token count, "text" returns only the extracted text.
json, text