use mod.flow.* /** The scene to paint and measure. */ let prompt = Input{ type: @text default: "a stone stairway descending into a sea cave" } let image = Image{ prompt: prompt.text() width: 512 height: 512 } let depth = Depth{ image: image.image() model: "da3-metric-large" } /** Publish the generated scene's metric depth map into the flow asset library. */ let published = Publish{ value: depth.out(@image) namespace: "flows" tags: ["flow", "depth"] } Flow{ label: "Prompt to depth map" brief: "Paints a scene and estimates a metric depth map from the result." prompt, image, depth, published }