Skip to main content

Endpoint

POST https://api.ugc.inc/render/download

Overview

Download the rendered video (MP4) or image (PNG/JPEG) file from a completed render job. This endpoint streams the binary file directly.

Request Body

job_id
string
required
The job ID from a completed render job

Response

Returns the rendered file as binary data with appropriate content type:
  • Video: video/mp4
  • Image: image/png or image/jpeg
curl -X POST https://api.ugc.inc/render/download \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"job_id": "550e8400-e29b-41d4-a716-446655440000"}' \
  --output video.mp4
Binary file data (video/mp4, image/png, or image/jpeg)

Headers:
- Content-Type: video/mp4 | image/png | image/jpeg
- Content-Disposition: attachment; filename="{job_id}.mp4"
- Content-Length: {file_size_bytes}