if write to Gscale input=> "{10-20}"

and

imageOptions
  guidanceScale = [input.Gscale]
  saveDescription = Guidance Scale is [input.Gscale]
  
  // or
  saveDescription = Guidance Scale is [settings.imageOptions.guidanceScale] 
  

it will assign a random Guidance Scale to the image every time, but in its saveDescription, it will write a different random number instead of the used before.

Is there any way to get the value of the guidanceScale of this image?

you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 7 months ago (1 child)

Ah good point! Sorry for the delay here, I've just added the ability to write imageOptions as a function - so you should now be able to just replace your original imageOptions with something like this:

imageOptions() =>
  gs = input.Gscale.evaluateItem;
  return {
    guidanceScale: gs,
    saveDescription: `Guidance Scale is ${gs}`,
    // ... etc.
  };
  • source
  • parent
  • hideshow 1 child comment