Skip to content

OpenRouter base64 image data discarded by Flowise #5931

Description

@vladisimo

Describe the bug

When you use ChatOpenRouter to access a model that generates images, when the payload is expected via

{
"choices": [
{
"message": {
"role": "assistant",
"content": "I've generated a beautiful sunset image for you.",
"images": [
{
"type": "image_url",
"image_url": {
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA..."
}
}
]
}
}
]
}

This payload is not available in Flowise.

To Reproduce

  1. Create a ChatOpenRouter agent node
  2. Turn on image uploads
  3. Ask the agent to generate / update the image (or even create an image from scratch)

Expected behavior

Response is completed, but base64 data is not passed via Flowise so my front-end can't save the data and present it to the user

Screenshots

No response

Flow

No response

Use Method

None

Flowise Version

No response

Operating System

None

Browser

None

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions