World generation returns an operation. Poll the
operations endpoint until
done is true,
then read the generated world from the operation response or fetch it by ID.Generate a world
POST
/marble/v1/worlds:generateStart a world generation job.List worlds
POST
/marble/v1/worlds:listList API-generated worlds.Get a world
GET
/marble/v1/worlds/{world_id}Retrieve a world, including generated asset URLs when they are available.Delete a world
DELETE
/marble/v1/worlds/{world_id}Permanently delete a world and its associated assets.Generation flow
Prepare inputs
For local image or video files, first create a
media asset upload.
Generate
Call Generate a world. Save the returned
operation_id.Poll
Call Get an operation until the operation
completes.