Translate Images, PDFs, Text Files & Voice in Discord
Attachment Translation reads images, PDFs, text files and voice messages - Translate Attachment. 5 Credits plus output, 1 Credit per started minute of speech.
Right-click (or long-press on mobile) a message with an image, PDF, text file, or voice message attached, go to Apps, and choose Translate Attachment. Nothing posted in a channel is read automatically - it only runs when someone clicks it.
How it works
Pigona reads one attachment per request - the first supported one on the message, or the first image, PDF or text file that fits if that one is over 7 MB - reads the text or transcribes the speech it finds, and translates it into your personal language. The reply is a private, ephemeral message - only the person who ran the command sees it. If the message carries more than one supported attachment, the reply says which one it used, for example attachment 2 of 3.
Feature Info
Visibility: Private (Personal Ephemeral message, only visible to you)
Cost: 5.0 Credits per attachment, plus translation output - no per-page charge. Voice messages add 1 Credit per started minute of speech; silence is cut first and not counted. If someone already translated the same attachment into the same language in the last 15 minutes, you pay only the 5.0 Credit base fee.
Confirm first: every attachment first gets a private confirmation showing the target language (you can change it for that one translation) and an estimated cost - an estimate, not a guarantee. For a voice message the estimate comes from the speech Pigona finds in it, checked on our side before anything is sent. If the message has several attachments, Change Attachment lets you pick another one (files over 7 MB are not listed), and its cost is shown again before anything is charged. Nothing is charged until you press Confirm, and an unanswered confirmation expires after 3 minutes. A PDF with selectable text that is already in your language, on every page, usually comes back as its own text for free, and so does a text file that is already in your language; Translate Anyway translates it if the language was misread.
At a time: one Attachment Translation per person - an open confirmation counts as your running one - and up to 8 per server, counted from when you confirm. A request over either limit is turned away before anything is charged - try again once the running one has finished.
PDF limits
A PDF is read up to 20 pages and about 28,000 characters of extracted text. Text in Chinese, Japanese, Korean or Thai counts for more, so those documents reach the limit sooner. Scanned or photographed pages are read as images. Longer documents, and files that are corrupted, password-protected or too complex to read in time, are refused before anything is charged, and a PDF with no readable text at all costs nothing. Pages that come back with no readable text are listed under the translation. If Pigona can only read part of a document, nothing is delivered and nothing is charged.
Voice limits
A voice message or Ogg Opus (.ogg) file is read up to 10 minutes long. Longer ones are refused before anything is charged. Pigona cuts out the silence on its own servers before anything is sent for translation, so only the speech is sent and billed per started minute, and a recording that is only silence costs nothing. If a recording holds sound but no speech, only the per-minute part is charged.
Text file limits
Text files (.txt, .md, .srt and .vtt) saved as UTF-8 or UTF-16 are read up to about 28,000 characters of text. Text in Chinese, Japanese, Korean or Thai counts for more, so those files reach the limit sooner. In subtitle files (.srt and .vtt) the numbering, timestamps and other structure are kept exactly as they are, and only the spoken text is translated. Files that can't be read as text, are empty, or are too long are refused before anything is charged. If a translation comes back clearly incomplete, nothing is delivered and nothing is charged.
Pigona translates what a file says and can't check whether its links or claims are safe or true.
This page is part of the Pigona Documentation, a complete guide to setting up and using Pigona - the context-aware AI translation bot for Discord. Pigona supports 100+ languages, Autonomous Translation, Reactive Translation, Relay Channels, and Smart Context Engine.
Live Voice Translation for Discord Voice Channels Live Voice Translation turns Discord voice chat into translated text, optionally read aloud. How to start it, what it costs and what happens to your voice.
Every Pigona Slash Command (Complete Reference) Full reference for every Pigona slash command including /configure, /permission, /translate, and admin commands with examples and permission requirements.
Pigona Fair Usage Policy (Limits Explained) Pigona fair usage rules for each tier: rate limits, credit rollover, and what happens when a server exceeds its monthly allowance.