SmartPDF
47 PDF and image tools: convert, compress, merge, OCR, edit, redact personal data, sign, watermark
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (38)
- LOWin pdf_to_word
- LOWin word_to_pdf
- LOWin merge_pdfs
- LOWin compress_pdf
- LOWin sign_pdf
- LOWin jpg_to_pdf
- LOWin pptx_to_pdf
- LOWin xlsx_to_pdf
- LOWin html_to_pdf
- LOWin pdf_to_jpg
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"smartpdf": {
"url": "https://mcp.smartpdf.ru/mcp"
}
}
}Remote-Endpunkte
https://mcp.smartpdf.ru/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (48)
⚪pdf_to_word(file_url, ocr)
Конвертирует PDF в редактируемый Word-документ (.docx). file_url: публичный URL PDF-файла. ocr: скан без текста — распознать текст (русский и английский); до 100 страниц, цена — как у ocr_pdf.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"ocr": {
"default": false,
"type": "boolean"
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪word_to_pdf(file_url)
Конвертирует Word-документ (.doc/.docx) в PDF. file_url: публичный URL Word-файла.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪merge_pdfs(file_urls)
Объединяет несколько PDF в один. Порядок файлов = порядок страниц. file_urls: список публичных URL PDF-файлов (минимум 2).
Eingabe-Schema
{
"type": "object",
"properties": {
"file_urls": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"file_urls"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪compress_pdf(file_url, level)
Сжимает PDF-файл. file_url: публичный URL PDF-файла. level: low | medium (по умолчанию) | high.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"level": {
"default": "medium",
"type": "string"
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}🟡sign_pdf(file_url, signature_text, page, x, y, ...)
Ставит одну текстовую подпись (например, «Иванов И. И.») в заданное место одной страницы PDF — самый простой способ подписать. Рукописная подпись картинкой, несколько подписей или подпись вместе с текстом и пометками — edit_pdf (объект signature). Это изображение подписи, не электронная подпись (не КЭП). file_url: публичный URL PDF-файла. signature_text: текст подписи. page: номер страницы (с 1). x, y: координаты (0.0–1.0). width, height: размер блока (0.0–1.0).
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"signature_text": {
"type": "string"
},
"page": {
"default": 1,
"type": "integer"
},
"x": {
"default": 0.1,
"type": "number"
},
"y": {
"default": 0.85,
"type": "number"
},
"width": {
"default": 0.2,
"type": "number"
},
"height": {
"default": 0.05,
"type": "number"
}
},
"required": [
"file_url",
"signature_text"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪jpg_to_pdf(file_urls)
Конвертирует изображения (JPEG, PNG) в PDF. Каждое изображение — страница. file_urls: список публичных URL изображений.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_urls": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"file_urls"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪pptx_to_pdf(file_url)
Конвертирует презентацию PowerPoint (.pptx/.ppt) в PDF. file_url: публичный URL PPTX-файла.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪xlsx_to_pdf(file_url)
Конвертирует таблицу Excel (.xlsx/.xls) в PDF. file_url: публичный URL XLSX-файла.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪html_to_pdf(file_url, page_size, orientation)
Конвертирует HTML-файл в PDF. file_url: публичный URL HTML-файла. page_size: A4 (по умолчанию) | A3 | Letter. orientation: portrait (по умолчанию) | landscape.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"page_size": {
"default": "A4",
"type": "string"
},
"orientation": {
"default": "portrait",
"type": "string"
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪pdf_to_jpg(file_url, dpi)
Конвертирует страницы PDF в JPEG. Результат — ZIP-архив (page-1.jpg, page-2.jpg...). file_url: публичный URL PDF-файла. dpi: 72 | 150 (по умолчанию) | 300.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"dpi": {
"default": 150,
"type": "integer"
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪pdf_to_pptx(file_url)
Конвертирует PDF в PowerPoint (.pptx). Каждая страница — отдельный слайд. file_url: публичный URL PDF-файла.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪pdf_to_excel(file_url, layout)
Извлекает таблицы из PDF и сохраняет в Excel (.xlsx). file_url: публичный URL PDF-файла. layout: per-table (по умолчанию) | single-sheet.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"layout": {
"default": "per-table",
"type": "string"
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪split_pdf(file_url, mode, ranges)
Разделяет PDF на части. Результат — ZIP-архив с PDF-файлами. file_url: публичный URL PDF-файла. mode: every-page (по умолчанию) | half | ranges. ranges: диапазоны при mode=ranges, например "1-3,5-7,10".
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"mode": {
"default": "every-page",
"type": "string"
},
"ranges": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}🟢get_balance
Возвращает баланс API аккаунта (общий для всех ключей и MCP), в рублях. balance: остаток, ₽; spent_month: потрачено в этом месяце, ₽; request_price: цена запроса за каждые начатые request_unit_mb МБ входа (файл до 10 МБ — один запрос); included_remaining: сколько обычных запросов в текущем месяце тарифа ещё входит в тариф Бизнес (месяц — от даты покупки, обновятся в included_resets_at; расходуются раньше баланса; у других тарифов 0).
Eingabe-Schema
{
"type": "object",
"properties": {},
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}🟢ocr_pdf(file_url, languages)
Распознаёт текст в сканированном PDF (OCR). Добавляет невидимый текстовый слой. До 100 страниц за раз (больший файл сначала разделите split_pdf); цена — одна единица (как обычный запрос до 10 МБ) за каждые 10 страниц; цена единицы — get_balance (request_price). file_url: публичный URL PDF-файла. languages: список языков (например ["rus","eng"]). По умолчанию: русский + английский.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"languages": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪rotate_pdf(file_url, pages, angle)
Поворачивает страницы PDF. file_url: публичный URL PDF-файла. pages: список номеров страниц (1-based) или "all" для всех. angle: угол поворота: 90 | 180 | 270.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"pages": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "string"
}
],
"default": "all"
},
"angle": {
"default": 90,
"type": "integer"
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}🔴delete_pages(file_url, pages)
Удаляет указанные страницы из PDF. file_url: публичный URL PDF-файла. pages: список номеров страниц для удаления (1-based).
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"pages": {
"items": {
"type": "integer"
},
"type": "array"
}
},
"required": [
"file_url",
"pages"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}🟢extract_pages(file_url, pages)
Извлекает выбранные страницы в новый PDF. file_url: публичный URL PDF-файла. pages: список номеров страниц (1-based), порядок сохраняется.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"pages": {
"items": {
"type": "integer"
},
"type": "array"
}
},
"required": [
"file_url",
"pages"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪reorder_pages(file_url, new_order)
Переупорядочивает страницы PDF. file_url: публичный URL PDF-файла. new_order: новый порядок страниц (1-based). Например [3,1,2] для 3-страничного PDF.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"new_order": {
"items": {
"type": "integer"
},
"type": "array"
}
},
"required": [
"file_url",
"new_order"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪protect_pdf(file_url, user_password, owner_password)
Защищает PDF паролем (AES-256). file_url: публичный URL PDF-файла. user_password: пароль для открытия. owner_password: пароль владельца (опционально).
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"user_password": {
"type": "string"
},
"owner_password": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"file_url",
"user_password"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪unlock_pdf(file_url, password)
Снимает парольную защиту с PDF. file_url: публичный URL защищённого PDF. password: пароль для снятия защиты.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"password": {
"type": "string"
}
},
"required": [
"file_url",
"password"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪watermark_pdf(file_url, text, image_url, opacity, angle, ...)
Добавляет водяной знак на страницы PDF. file_url: публичный URL PDF-файла. text: текст водяного знака (исключает image_url). image_url: URL PNG-изображения для водяного знака (исключает text). opacity: прозрачность 0.0–1.0 (по умолчанию 0.3). angle: угол поворота текста (по умолчанию 45). position: center | tile | top-left | top-right | bottom-left | bottom-right.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"image_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"opacity": {
"default": 0.3,
"type": "number"
},
"angle": {
"default": 45,
"type": "number"
},
"position": {
"default": "center",
"type": "string"
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}🟡add_page_numbers(file_url, position, start_from, prefix, font_size)
Добавляет номера страниц в PDF. file_url: публичный URL PDF-файла. position: bottom-center | bottom-right | top-center | top-right. start_from: стартовый номер (по умолчанию 1). prefix: текст перед номером, например "Стр. " или "— ". font_size: размер шрифта 6–72 (по умолчанию 12).
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"position": {
"default": "bottom-center",
"type": "string"
},
"start_from": {
"default": 1,
"type": "integer"
},
"prefix": {
"default": "",
"type": "string"
},
"font_size": {
"default": 12,
"type": "integer"
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪pdf_to_txt(file_url, mode)
Извлекает текст из PDF в файл .txt (UTF-8). file_url: публичный URL PDF-файла. mode: text (по умолчанию) | blocks | words. text — простой текст постранично; blocks — текст по абзацам и колонкам; words — каждое слово с координатами.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"mode": {
"default": "text",
"type": "string"
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪flatten_pdf(file_url)
Сглаживает PDF (flatten): впечатывает поля форм и аннотации в страницы. Результат нельзя редактировать — идеально для госорганов и печати. file_url: публичный URL PDF-файла.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪photo_to_pdf(file_urls, page, compact, grayscale, scan, ...)
Собирает фото с телефона в PDF: каждое фото — страница. HEIC с iPhone тоже. file_urls: публичные URL фото (JPG, PNG, WEBP, HEIC, TIFF, BMP), порядок = порядок страниц. page: a4 (по умолчанию, лист A4 в ориентации фото) | photo (страница по размеру фото). compact: уменьшить фото до 2000 px и убрать EXIF и геометку (по умолчанию да). grayscale: оттенки серого. scan: «Скан документа» — найти лист на фото, выровнять перспективу, белый фон. scan_color: bw (ч/б как скан, по умолчанию) | color — только при scan.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_urls": {
"items": {
"type": "string"
},
"type": "array"
},
"page": {
"default": "a4",
"type": "string"
},
"compact": {
"default": true,
"type": "boolean"
},
"grayscale": {
"default": false,
"type": "boolean"
},
"scan": {
"default": false,
"type": "boolean"
},
"scan_color": {
"default": "bw",
"type": "string"
}
},
"required": [
"file_urls"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪pdf_to_png(file_url, dpi)
Конвертирует страницы PDF в PNG (без потерь, для схем и скриншотов). Результат — ZIP-архив. file_url: публичный URL PDF-файла. dpi: 72 | 150 (по умолчанию) | 300.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"dpi": {
"default": 150,
"type": "integer"
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪crop_pdf(file_url, box, pages)
Обрезает страницы PDF. Без box — убирает белые поля автоматически. file_url: публичный URL PDF-файла. box: область [x0, y0, x1, y1] долями видимой страницы (0–1, от левого верхнего угла), например [0, 0, 1, 0.5] — верхняя половина. Содержимое за краем остаётся в файле — для скрытия данных используйте redact_pdf. pages: номера страниц (с 1) или "all".
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"box": {
"anyOf": [
{
"items": {
"type": "number"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"pages": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "string"
}
],
"default": "all"
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}🟡edit_pdf(file_url, objects)
Редактор PDF: за один вызов кладёт на страницы любое число объектов — текст, подпись (рукописным шрифтом или картинкой), картинку, закрашивание с удалением текста под ним, пометки, фигуры — и меняет строки существующего текста. Одна текстовая подпись в одном месте — проще через sign_pdf; поиск и удаление персональных данных — redact_pdf. file_url: публичный URL PDF-файла. objects: список объектов по порядку (последний — сверху). Координаты — доли видимой страницы (0–1, от левого верхнего угла), box — [x0, y0, x1, y1], размеры шрифта и линий — в пунктах. У каждого объекта page (с 1) и type: text — box, text (переносится по ширине box), size (12), font sans|serif|mono, bold, italic, color "#RRGGBB"; signature — box и lines (["Иванов И. И."], рукописный шрифт) или image_url (картинка подписи); image — box, image_url (PNG, JPG, WEBP); whiteout — закрасить: текст под ним удаляется из файла; color (по умолчанию чёрный, "#FFFFFF" — белый); highlight, rect, ellipse, check, cross — box, color, width, fill; line, arrow, ink — points [[x, y], ...], color, width; replace_text — заменить строку: box и baseline исходной строки, x начала, text (пустой — удалить строку). Подпись через API не входит в лимит подписей сайта.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"objects": {
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
}
},
"required": [
"file_url",
"objects"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}🟢redact_pdf(file_url, kinds, words, areas, clean)
Скрывает персональные данные в PDF: находит и удаляет из файла (не просто закрашивает сверху) — под чёрными прямоугольниками текста больше нет. Без areas — ищет сам. file_url: публичный URL PDF-файла. kinds: что искать — passport, snils, inn, phone, email, card, account (счета физлиц); по умолчанию всё. words: свои слова — ФИО, адрес, название (каждое от 3 символов). areas: области вручную — [{"page": 1, "box": [x0, y0, x1, y1]}] долями страницы (например, из find_personal_data). clean: убрать скрытые данные файла — автора, свойства, комментарии, вложения (по умолчанию да). На сканах текста нет — сначала ocr_pdf или укажите areas.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"kinds": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"words": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"areas": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"clean": {
"default": true,
"type": "boolean"
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}🟢find_personal_data(file_url, kinds, words)
Находит персональные данные в PDF, файл не меняет. Номера проверяются контрольными суммами (СНИЛС, ИНН, карты). file_url: публичный URL PDF-файла. kinds: passport, snils, inn, phone, email, card, account; по умолчанию всё. words: свои слова — ФИО, адрес (каждое от 3 символов). Возвращает result: {"pages": [{"page", "items": [{"kind", "text", "boxes"}]}], "scanned": [страницы-сканы без текста], "total"}; boxes — [x0, y0, x1, y1] долями страницы, их можно передать в redact_pdf как areas.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"kinds": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"words": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪pdf_to_markdown(file_url, ocr)
Конвертирует PDF в Markdown (.md) для нейросетей, баз знаний и документации: заголовки, списки, таблицы, ссылки, жирный и курсив. file_url: публичный URL PDF-файла. ocr: скан без текста — сначала распознать (русский и английский); до 100 страниц, цена — как у ocr_pdf.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"ocr": {
"default": false,
"type": "boolean"
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪grayscale_pdf(file_url)
Переводит PDF в оттенки серого (ч/б) — для печати и требований «только ч/б». Текст остаётся текстом. file_url: публичный URL PDF-файла.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪pdf_to_pdfa(file_url, version)
Конвертирует PDF в PDF/A — формат долговременного хранения (архивы, суды, госорганы). file_url: публичный URL PDF-файла. version: 1 (PDF/A-1b) | 2 (PDF/A-2b, по умолчанию) | 3 (PDF/A-3b).
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"version": {
"default": "2",
"type": "string"
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪repair_pdf(file_url)
Восстанавливает повреждённый PDF, который не открывается или открывается с ошибкой. file_url: публичный URL PDF-файла.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪djvu_to_pdf(file_url)
Конвертирует книгу или скан DjVu в PDF. file_url: публичный URL DjVu-файла.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪fb2_to_pdf(file_url, page)
Конвертирует книгу FB2 в PDF с оглавлением. file_url: публичный URL FB2-файла. page: a5 (по умолчанию, как книга) | a4.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"page": {
"default": "a5",
"type": "string"
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪epub_to_pdf(file_url, page)
Конвертирует книгу EPUB в PDF с оглавлением. file_url: публичный URL EPUB-файла. page: a5 (по умолчанию, как книга) | a4.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"page": {
"default": "a5",
"type": "string"
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪heic_to_jpg(file_urls, compact, keep_metadata)
Конвертирует фото HEIC/HEIF с iPhone в JPG. Одно фото — JPG, несколько — ZIP-архив. file_urls: публичные URL фото HEIC. compact: уменьшить до 2000 px. keep_metadata: сохранить данные съёмки (EXIF: дата, камера, геометка).
Eingabe-Schema
{
"type": "object",
"properties": {
"file_urls": {
"items": {
"type": "string"
},
"type": "array"
},
"compact": {
"default": false,
"type": "boolean"
},
"keep_metadata": {
"default": false,
"type": "boolean"
}
},
"required": [
"file_urls"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪compress_image(file_urls, level, target_kb)
Сжимает фото (JPG, PNG, WEBP, HEIC). Одно фото — файл, несколько — ZIP-архив. file_urls: публичные URL фото. level: light (высокое качество) | medium (по умолчанию, до 2560 px) | strong (до 1600 px). target_kb: сжать до размера в КБ (10–50000), тогда level не используется.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_urls": {
"items": {
"type": "string"
},
"type": "array"
},
"level": {
"default": "medium",
"type": "string"
},
"target_kb": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"file_urls"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪resize_image(file_urls, percent, width, height, keep_aspect, ...)
Меняет размер фото (JPG, PNG, WEBP, HEIC, TIFF, BMP), формат сохраняется. Одно фото — файл, несколько — ZIP. file_urls: публичные URL фото. percent: масштаб в процентах (1–500; по умолчанию 50) — или width и/или height в пикселях. keep_aspect: сохранить пропорции (по меньшему масштабу). enlarge: разрешить увеличение (по умолчанию фото меньше заданного не растягиваются).
Eingabe-Schema
{
"type": "object",
"properties": {
"file_urls": {
"items": {
"type": "string"
},
"type": "array"
},
"percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null
},
"width": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"height": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null
},
"keep_aspect": {
"default": true,
"type": "boolean"
},
"enlarge": {
"default": false,
"type": "boolean"
}
},
"required": [
"file_urls"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪rotate_image(file_urls, angle, flip)
Поворачивает и отражает фото, формат сохраняется. Одно фото — файл, несколько — ZIP. file_urls: публичные URL фото. angle: 0 | 90 (по умолчанию) | 180 | 270 — по часовой. flip: horizontal | vertical — отражение после поворота.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_urls": {
"items": {
"type": "string"
},
"type": "array"
},
"angle": {
"default": 90,
"type": "integer"
},
"flip": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"file_urls"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪crop_image(file_url, box)
Обрезает фото по рамке, формат сохраняется. file_url: публичный URL фото. box: [x0, y0, x1, y1] долями кадра (0–1, от левого верхнего угла; фото повёрнуто по EXIF).
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"box": {
"items": {
"type": "number"
},
"type": "array"
}
},
"required": [
"file_url",
"box"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪word_to_jpg(file_url, dpi)
Конвертирует документ Word (DOC, DOCX, ODT, RTF) в картинки JPG: одна страница — JPG, несколько — ZIP. file_url: публичный URL документа. dpi: 72 | 150 (по умолчанию) | 300.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_url": {
"type": "string"
},
"dpi": {
"default": 150,
"type": "integer"
}
},
"required": [
"file_url"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}🟢image_to_text(file_urls, languages, format)
Распознаёт текст на фото и картинках (OCR): текст всех фото — в один TXT или DOCX. Цена — как у ocr_pdf: одна единица за каждые 10 фото (или 10 МБ); цена единицы — get_balance. file_urls: публичные URL фото (JPG, PNG, WEBP, HEIC, TIFF, BMP). languages: rus, eng, deu, fra; по умолчанию ["rus", "eng"]. format: txt (по умолчанию, строки как на фото) | docx (абзацы).
Eingabe-Schema
{
"type": "object",
"properties": {
"file_urls": {
"items": {
"type": "string"
},
"type": "array"
},
"languages": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"format": {
"default": "txt",
"type": "string"
}
},
"required": [
"file_urls"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪png_to_jpg(file_urls)
Конвертирует PNG в JPG (прозрачность — белый фон). Одна картинка — JPG, несколько — ZIP. file_urls: публичные URL картинок PNG.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_urls": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"file_urls"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪jpg_to_png(file_urls)
Конвертирует JPG в PNG. Одна картинка — PNG, несколько — ZIP. file_urls: публичные URL картинок JPG.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_urls": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"file_urls"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}⚪webp_to_jpg(file_urls)
Конвертирует WEBP в JPG. Одна картинка — JPG, несколько — ZIP. file_urls: публичные URL картинок WEBP.
Eingabe-Schema
{
"type": "object",
"properties": {
"file_urls": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"file_urls"
],
"additionalProperties": false
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true
}Community
Nachweis