Create upload URL
create_uploadGet a presigned PUT URL to upload an image/video directly, plus the public URL it will have. Upload the bytes with HTTP PUT to uploadUrl, then pass publicUrl to a generation call. Prefer import_asset_from_url when you already have a URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| contentType | Yes | MIME type, e.g. image/png or video/mp4 |