Skip to main content

Module

Stain

PhotoVariation

Methods

to_prompt_json() -> dict

Convert the variation to the JSON format expected by the Gemini system instruction. Organizes fields into sections: meta, scene, subject, capture_style, photo_characteristics, and optionally damage, failure_modes, multi_page.

PRESETS

Dict of 8 built-in presets: