Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,17 @@ export const buildMultidiffusionUpscaleGraph = async (state: RootState): Promise

const modelConfig = await fetchModelConfigWithTypeGuard(model.key, isNonRefinerMainModelConfig);
const upscaleModelConfig = await fetchModelConfigWithTypeGuard(upscaleModel.key, isSpandrelImageToImageModelConfig);

// DISCUSSION: Currently we store only a reference to the original image
// via `upscale_initial_image`. The full metadata of the source image
// (prompt, seed, scheduler, etc.) is not included here.
//
// Two options could be considered:
// 1) Expose a UI way to jump to the source image in the gallery (leveraging this reference).
// 2) Store all original image metadata under a separate field (e.g., `source_image_metadata`)
// for external or export use.
//
// This PR is meant to discuss which approach is preferred before implementing.

g.upsertMetadata({
cfg_scale,
Expand Down