nutrient-apilisted
Install: claude install-skill Mixard/fable-pack
# Nutrient DWS Processor API
Commercial document-processing API. API key from https://dashboard.nutrient.io/sign_up/?product=processor (free tier available).
```bash
export NUTRIENT_API_KEY="pdf_live_..."
```
Every operation is a multipart POST to `https://api.nutrient.io/build` with:
- one or more file fields (field name referenced by the instructions), and
- an `instructions` JSON field: `{"parts": [...], "actions": [...], "output": {...}}`.
Supported inputs: PDF, DOCX, XLSX, PPTX, DOC, XLS, PPT, PPS, PPSX, ODT, RTF, HTML, JPG, PNG, TIFF, HEIC, GIF, WebP, SVG, TGA, EPS. Default output is PDF unless `output.type` says otherwise.
## Convert
```bash
# DOCX -> PDF
curl -X POST https://api.nutrient.io/build \
-H "Authorization: Bearer $NUTRIENT_API_KEY" \
-F "document.docx=@document.docx" \
-F 'instructions={"parts":[{"file":"document.docx"}]}' \
-o output.pdf
# PDF -> DOCX
curl -X POST https://api.nutrient.io/build \
-H "Authorization: Bearer $NUTRIENT_API_KEY" \
-F "document.pdf=@document.pdf" \
-F 'instructions={"parts":[{"file":"document.pdf"}],"output":{"type":"docx"}}' \
-o output.docx
# HTML -> PDF (note: parts entry uses "html", not "file")
curl -X POST https://api.nutrient.io/build \
-H "Authorization: Bearer $NUTRIENT_API_KEY" \
-F "index.html=@index.html" \
-F 'instructions={"parts":[{"html":"index.html"}]}' \
-o output.pdf
```
## Extract text and tables
```bash
# Plain text
-F 'instructions={"parts":[{"file":"document.pdf"}],"output"