Convert
Start a media conversion job
Submits conversion options and dispatches the job to the worker queue. All files must be fully uploaded via TUS and show "status":"completed" (verify with GET /api/convert/session/{uid}/files) before calling this endpoint.
The call is idempotent: calling it again for a session that already has a job returns the existing job without creating a duplicate.
Authentication: X-Api-Key header required.
post/api/convert/job
Request
- Base URL: https://snapwonders.com
- URL: https://snapwonders.com/api/convert/job
- Auth: API key in header X-Api-Key
Request body
Example request
{
"upload_uid": "550e8400-e29b-41d4-a716-446655440000",
"image_format": "webp",
"video_format": "mp4h264",
"image_quality": 85,
"video_crf": 23,
"video_max_dimension": 1080,
"image_resize_width": 1920,
"image_resize_height": 1080,
"pdf_dpi": 150,
"pdf_page_from": 1,
"expiry": "1d"
}Response
Job already exists (idempotent repeat call) — returns existing job
Changes
No recorded changes to this operation across all 1 revision of this API.