Layout editor and scene.v1
The studio sends the scene.v1 layout as the prompt. Coordinates use a centered origin and the ordery_min, x_min, y_max, x_max.
Canvas
Width and height are multiples of 16. Presets use 960×1200 and 1200×960. The origin is the center. X grows to the right. Y grows downward.
y_min = round(top - height / 2)
x_min = round(left - width / 2)
y_max = round(bottom - height / 2)
x_max = round(right - width / 2)
bbox = [y_min, x_min, y_max, x_max]Items
label: "text"includes the exact string intextplus a shortcaption.label: "object"is a visual region described only bycaption.- Drag a box to move it. Drag the corner handle to resize. Pointer events are used so trackpad drags work.