I would like to use the result in Gemini AI to generate an image with FLUX by calling together.ai api.
In HTTP, the input section, it can get the ‘Result’ generated from previous connector “Gemini AI” . The ‘result’ does not have any special charcters.
And i ever tried to set a variable to store the ‘Result’ and inputting this in the request content, also output error parsing JSON body of POST.
When i don’t use the variable from previous connector but a plain text, it works fine.
Please help.
Notice the line break at the end of the prompt? Try adding some IML functions like the screenshot below and replace the ‘var’ with your prompt. The newline is likely causing a parsing issue - alternatively if you wanted to be sure, you can paste JSON into a text editor like VS Code, and it may highlight where issues with the JSON are.