Skip to content

Topaz - Video Upscale ​

Endpoint ​

POST /videos/generations

Full URL: https://modelfold.ai/v1/videos/generations

Authentication: every request must include the Authorization: Bearer <API_KEY> header.

Send model parameters directly in the JSON body. Do not wrap them in input. This request waits for generation to finish and returns data[].url; supported media models also offer async jobs, polling and callbacks. Replace example media URLs with your own publicly accessible files. See API gateway for billing and errors.

Input parameters for the generation task

Request Parameters ​

Body (application/json) ​

ParameterTypeRequiredDescription
modelstringYesThe model name to use for generation. Required field.
- Must be topaz/video-upscale for this endpoint Default:"topaz/video-upscale"。 Allowed values:topaz/video-upscale。 Example:topaz/video-upscale。
video_urlstringYesURL of the video to upscale (File URL after upload, not file content; Accepted types: video/mp4, video/quicktime, video/x-matroska; Max size: 50.0MB) Example:https://file.aiquickdraw.com/custom-page/akr/section-images/1758166466095hvbwkrpw.mp4。
upscale_factorstringNoUpscale factor (string): "1", "2" (default) or "4". Default:"2"。 Allowed values:1 / 2 / 4。 Example:2。
promptstringYesPrompt required by the ModelFold gateway; at most 2000 characters. maxLength: 2000.

Request Example ​

bash
curl -X POST "https://modelfold.ai/v1/videos/generations" \
  -H "Authorization: Bearer $MODELFOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "topaz/video-upscale",
  "video_url": "https://file.aiquickdraw.com/custom-page/akr/section-images/1758166466095hvbwkrpw.mp4",
  "upscale_factor": "2",
  "prompt": "A paper boat drifting down a rainy street."
}'
json
{
  "model": "topaz/video-upscale",
  "video_url": "https://file.aiquickdraw.com/custom-page/akr/section-images/1758166466095hvbwkrpw.mp4",
  "upscale_factor": "2",
  "prompt": "A paper boat drifting down a rainy street."
}

Response ​

200 — Generation completed. usage contains actual billing details; result URLs are illustrative. ​

json
{
  "ok": true,
  "created": 1792134000,
  "data": [
    {
      "url": "https://modelfold.ai/uploads/outputs/result.mp4"
    }
  ],
  "usage": {}
}

ModelFold — one API for all the best AI models.