upload_and_generate
Upload a local image or video to generate a 3D world. The process includes file transfer and generation, returning an operation ID.
Instructions
Upload a local file and generate a 3D world from it (end-to-end).
Handles the full flow: prepare upload -> PUT file to GCS -> generate world. Returns immediately with an operation_id once upload completes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| local_file_path | Yes | Absolute path to the local image or video file. | |
| kind | Yes | 'image' or 'video'. | |
| text_prompt | No | Optional guiding text. | |
| display_name | No | Optional name for the world. | |
| is_panorama | No | True if image is a 360-degree panorama (image only). | |
| model | No | 'marble-1.1' or 'marble-1.1-plus'. | marble-1.1 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||