Skip to content

Reimply API

Images to PDF API

POST/v1/images-to-pdf

Turn a set of photos or scans into one PDF, one page per image, on A4 or at each image's own size.

Example

Endpoint POST /v1/images-to-pdf. Options used here: page_size.

Request
curl https://reimply.com/v1/images-to-pdf \
  -H "Authorization: Bearer $REIMPLY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"inputs":["https://example.com/files/page1.jpg","https://example.com/files/page2.png"],"options":{"page_size":"a4"}}'

Inputs are processed in the order given. You can also send files as multipart or as presigned uploads.

Request body

inputsarray, required
The files, in order. A URL, {"upload_id": "upl_..."} from a presigned upload, or a multipart files field.
options.page_sizeoptional
Used in this example: "a4". See endpoints for every option.
webhook_urlstring, optional
Run the job in the background and send a signed event to this URL when it finishes. See webhooks.
asyncboolean, optional
Answer 202 straight away and run the job in the background.

Use cases

  • Photo scans into one document
  • Delivery notes and receipts
  • Printable photo sets

Pricing

Este trabalho usa 1 conversão. Contas gratuitas tem 250 conversões por mês e planos pagos comecam em £12 por mês para 3.000. Preços.

Perguntas

Quantas conversões usa um trabalho de Images to PDF?

Uma conversão por arquivo, independente do tamanho. Vídeo e áudio usam 3. Trabalhos com falha são grátis.

Posso testar grátis?

Sim. Cada conta recebe 250 conversões grátis por mês, sem cartão. Crie uma chave na sua conta e execute o exemplo acima.

What happens to my files?

Files are processed on Reimply servers and deleted automatically 60 minutes after the job, along with the results.

Just need to do this once? Use the free Images to PDF tool on reimply.com.