WebInfer

🎭

InvokeAI

Professional creative workflow for image generation

Free
Local & Self-Hosted
Local

Configure InvokeAI

Enable InvokeAI in Settings

Go to Settings
About InvokeAI

InvokeAI is a professional-grade image generation suite with a node-based workflow system. Features a powerful canvas for inpainting, advanced model management, and a clean modern interface. Ideal for creative professionals.

Key Features
  • Node-based workflow system
  • Professional canvas with layers
  • Advanced inpainting tools
  • Unified model management
  • Batch processing support
  • Clean modern interface
  • Completely free and local
Capabilities
image-generation
local
Configuration Schema
Required and optional fields for configuring this provider
FieldTypeRequired
baseUrl
url
Optional
modelName
text
Optional
CLI Usage
For users running the daemon server locally or a self-hosted gateway

Add provider:

npx webinfer provider add invokeai

Test connection:

npx webinfer provider test invokeai
Programmatic Usage
Use InvokeAI in your code with WebInfer

Basic usage:

import { generateText } from "webinfer"

// WebInfer automatically routes to the best available provider
const result = await generateText({
  prompt: "Write a haiku about programming"
})

console.log(result.text)

Specify InvokeAI explicitly:

import { generateText } from "webinfer"

const result = await generateText({
  prompt: "Write a haiku about programming",
  provider: "invokeai"
})

console.log(result.text)
console.log("Provider:", result.provider)
console.log("Model:", result.model)

Streaming:

import { streamText } from "webinfer"

const { textStream } = await streamText({
  prompt: "Write a story about AI",
  provider: "invokeai"
})

for await (const chunk of textStream) {
  process.stdout.write(chunk)
}
Image Models
Default: sdxl
sdxlStable Diffusion XL
512x512
768x768
1024x1024
sd15Stable Diffusion 1.5
512x512
768x512
512x768
fluxFlux models
512x512
768x768
1024x1024
Pricing
Free
Completely free. All computation happens locally on your device.