convert_file
Get a purchase quote for a supported file conversion. Inspect the returned flow: payment_first quotes run no conversion; execution follows confirmed payment, and failed conversions are refunded. Legacy purchases retain their original contract. Save a random purchase_id and recovery_key before calling; repeat the same identifiers after response loss. Simple conversion 0.01 USDC, DOCX/OCR 0.02 USDC up to three pages confirmed by the engine. Payment requires a separately authorized HTTP x402 client. A completed file remains available for 24 hours; recover it without paying again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | ||
| options | No | ||
| purchase_id | Yes | ||
| recovery_key | Yes | ||
| output_format | Yes |