post-uploads
Generate temporary upload URLs for files to use with Scenario.com's AI tools, supporting multipart uploads for large files.
Instructions
Create a temporary upload URL for a file. Support multipart uploads. Return a list of URLs for each part of the file.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | No | Required for multipart upload. The original file name of the image (example: "low-res-image.jpg"). It will be ignored if assetId is provided. | |
| fileSize | No | Required for multipart upload. The size of the file in bytes | |
| kind | No | Required for multipart upload and url. The purpose of the file once validated (example: "model") | |
| civitaiModelUrl | No | The civitai.com url of the model (example: "https://civitai.com/models/370194/translucent-subsurface-scattering-test?modelVersionId=413566"). | |
| huggingFaceModelName | No | The huggingface.co modelName (example: "stabilityai/stable-diffusion-xl-base-1.0"). No need to setup other fields if you setup huggingFaceModelName | |
| parts | No | Required for multipart upload. The number of parts the file will be uploaded in | |
| contentType | No | Required for multipart upload. The MIME type of the file (example: "image/jpeg") | |
| url | No | The url where to download the file. If you setup url you MUST setup kind as well. | |
| assetOptions | No |