class

MJ::CycloramaSpec

Inherits YAML::Serializable < Reference < Object

Config for mj cyclorama — extend an image believably to one side, and by repeating that step roll out a much larger panorama / "world". Lives as cyclorama.yml beside a seed image. Run: mj cyclorama <dir> [--steps N] -> grows world.png; each new tile also saved under tiles/NNN.png.

One "turn" = generate the scene immediately adjacent to the current edge, married to it, via Nano Banana reference editing. The source seed image is never modified (it is copied to world.png on the first run).

Constructors

new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

context

Px of the leading edge shown to the model as the reference. 0 = one tile_width window (recommended) — so the reference stays a bounded, recent slice instead of the whole growing world (feeding the whole world squishes it smaller every step). Increase for more context, or set larger than the world to feed the whole image.

Source
context=(context : Int32)

Px of the leading edge shown to the model as the reference. 0 = one tile_width window (recommended) — so the reference stays a bounded, recent slice instead of the whole growing world (feeding the whole world squishes it smaller every step). Increase for more context, or set larger than the world to feed the whole image.

Source
direction

Side to extend toward. "left" is handled by mirroring, so the prompt logic stays identical.

Source
direction=(direction : String)

Side to extend toward. "left" is handled by mirroring, so the prompt logic stays identical.

Source
model
Source
model=(model : String)
Source
prompt

What to depict / how to continue. Appended to the base "draw what's next" instruction. Leave empty to just continue the scene generically.

Source
prompt=(prompt : String)

What to depict / how to continue. Appended to the base "draw what's next" instruction. Leave empty to just continue the scene generically.

Source
seed

Starting image filename inside the dir; copied to world.png on the first run.

Source
seed=(seed : String)

Starting image filename inside the dir; copied to world.png on the first run.

Source
tile_width

Width (px) of each new extension tile; its height matches the current world.

Source
tile_width=(tile_width : Int32)

Width (px) of each new extension tile; its height matches the current world.

Source