where generate uses the code verbatim as in #49 and artifact is the returned Artifact from a previous text-based prompt. The color_swatch artifact is created with this snippet:
Whenever I run this code, I get the error Error after 1.063 s: rpc error: code = InvalidArgument desc = must provide image parameters. From my understanding, this implies that I should have ImageParameters as part of Params in the request, though the request itself can only have a single Param. I'm a bit at a loss as to how this should work.
My desired outcome is to simply color match a second image.
Hello,
I am currently trying to use the Color Matching in golang. Here is my code:
where
generate
uses the code verbatim as in #49 andartifact
is the returned Artifact from a previous text-based prompt. Thecolor_swatch
artifact is created with this snippet:Whenever I run this code, I get the error
Error after 1.063 s: rpc error: code = InvalidArgument desc = must provide image parameters
. From my understanding, this implies that I should haveImageParameters
as part ofParams
in the request, though the request itself can only have a single Param. I'm a bit at a loss as to how this should work.My desired outcome is to simply color match a second image.