Skip to main content
Many models accept media inputs (image_url, video_url, reference_images). Upload a file to get a URL, then pass that URL in your generation request. We host uploads for you and return a URL you can use immediately. You can also pass any publicly reachable HTTPS URL without uploading.

Upload a file

Response

Use url as image_url or video_url on video/image endpoints.

Use the URL in a generation

Supported formats

Limits

Tips

  • Upload first, then start generation with the returned url
  • Prefer public URLs for files over ~25 MB
  • Uploaded media is temporary storage for inputs — do not treat it as long-term hosting

Errors

Upload and generation errors return clear messages. Common cases: