package ml // GenerationConfig parametriza una solicitud de generacion de imagen. // Espejo JSON-compatible de GenerationConfig_py_ml: los tags json coinciden // con los campos snake_case del dataclass Python para roundtrip sin perdida. type GenerationConfig struct { Prompt string `json:"prompt"` NegativePrompt string `json:"negative_prompt,omitempty"` Seed int64 `json:"seed"` Steps int `json:"steps"` CfgScale float64 `json:"cfg_scale"` Sampler string `json:"sampler"` Width int `json:"width"` Height int `json:"height"` Model ModelRef `json:"model"` Loras []LoraRef `json:"loras,omitempty"` ClipSkip *int `json:"clip_skip,omitempty"` }