File Upload
Reference images, videos, and other files must first be converted into a publicly accessible URL before submitting image / video generation tasks.
When submitting image or video generation tasks, parameters such as image_urls, mask_url, and reference video/audio all require a publicly accessible URL. Uploading local files directly or passing base64 data is not currently supported.
A storage pool is not provided for now — please configure your own object storage service, such as Cloudflare R2. Upload your reference images / videos there, then use the returned public URL as the parameter value.
Typical workflow
- Create a publicly readable bucket in an object storage service (e.g. Cloudflare R2, Alibaba Cloud OSS).
- Upload your reference images / videos to that bucket.
- Use the file's public URL as the value for parameters like
image_urlsandmask_url.