ImageRouter

function

Image generation with 80+ models - ImageRouter.io official plugin

dawe
@dawe
·
a year ago
778
1
4.2K
Updated a year ago
Created Jun 17, 2025
imagerouter.py
Python · 369 lines
"""
title: Image Router Image Generator Pipe
author: Professor Patterns
description: Generate images using any Image Router model and display them in chat
version: 1.1.0
license: MIT
"""

import json
import traceback
import httpx
import base64

Generate and edit images with ImageRouter - 80+ models with one API key!

Get an API key
Plugin setup tutorial

Changelog:

1.1.0:

  • Added image to image mode
  • Improved error displaying

1.0.0:

  • release image generation functionality

0