Skip to main content
POST
Convert Images to PDF

Request contract

  • Method and path: POST /apis/v1/pdf-co/pdf-from-image
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/pdf-co/pdf-from-image
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0103 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
url
string
required

Public URL of an input JPG, PNG, or TIFF image. Separate multiple image URLs with commas.

expiration
integer

Lifetime of the temporary output link in minutes.

httppassword
string

HTTP authentication password for accessing the source URL.

httpusername
string

HTTP authentication username for accessing the source URL.

name
string

File name for the generated PDF.

pages
string

Zero-based page indices or ranges to process, such as '0,1,2-' or '!0'.

profiles
string

Advanced PDF.co conversion settings as a JSON-formatted string.

Response

Tool result data

error
boolean
required
status
required
credits
integer
duration
integer
name
string
pageCount
integer
remainingCredits
integer
url
string