Upload an image
upload_imageNeed a public URL for a local image? Upload a PNG or JPEG to get a temporary signed URL for video generation.
Instructions
Upload a LOCAL image file (PNG or JPEG, up to 10 MB) and get an https url to pass as image to quote_ugc / make_ugc. The url is signed and expires in 24 hours; upload again after that. Use this whenever the user points at a file on disk — image itself accepts only public https urls. Then set aspect_ratio EXPLICITLY to match the picture (a 16:9 photo with no aspect_ratio renders vertical 9:16 with a warning). Free: spends no credits; 20 uploads per day per account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or cwd-relative path to a PNG or JPEG file |