Piapi Text-to-Image API node failing with bad request

Hi @sj38

According to the API documentation you’re using,

Please try the following JSON body:

{
  "model": "Qubico/flux1-dev",
  "task_type": "txt2img",
  "input": {
    "prompt": {{ JSON.stringify( $json.message.content ) }},
    "width": 1024,
    "height": 1024
  }
}
1 Like