prepare_media_upload
Obtain a signed GCS upload URL for a local file, then upload raw bytes to generate a navigable 3D world from the media asset.
Instructions
Prepare a signed GCS upload URL for a local file.
After calling this, PUT the raw file bytes to upload_info.upload_url with the returned upload_info.headers, then pass media_asset.id to generate_world_from_media_asset. For a simpler flow, use upload_and_generate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | 'image' or 'video'. | |
| extension | Yes | File extension without dot (e.g. 'jpg', 'mp4'). | |
| file_name | Yes | Original filename (e.g. 'photo.jpg'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||