{
"input": "https://example.com/document.pdf",
"pages": 3,
"width": 800
}
curl -X POST https://api.ringbee.dev/v1/pipeline/document-preview \
-H "X-API-Key: YOUR_API_KEY" \
-F "file=@document.pdf" \
-F "pages=3" \
-F "width=800"
{
"id": "job_abc123",
"status": "pending"
}{
"error": "<string>"
}{
"error": "<string>"
}Pipeline
Document Preview
Generate preview images from document pages
POST
/
v1
/
pipeline
/
document-preview
{
"input": "https://example.com/document.pdf",
"pages": 3,
"width": 800
}
curl -X POST https://api.ringbee.dev/v1/pipeline/document-preview \
-H "X-API-Key: YOUR_API_KEY" \
-F "file=@document.pdf" \
-F "pages=3" \
-F "width=800"
{
"id": "job_abc123",
"status": "pending"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"input": "https://example.com/document.pdf",
"pages": 3,
"width": 800
}
curl -X POST https://api.ringbee.dev/v1/pipeline/document-preview \
-H "X-API-Key: YOUR_API_KEY" \
-F "file=@document.pdf" \
-F "pages=3" \
-F "width=800"
| Param | Type | Description |
|---|---|---|
| pages | integer | Number of pages to generate previews for |
| width | integer | Output image width in pixels |
Authorizations
Body
application/jsonmultipart/form-data