RoseKhlifa/Image-Studio

开源image2调用图像生成/编辑桌面客户端 · SSE 流式保活,兼容 Cloudflare 524/504 超时截断 · Wails (Go + React/TS) · 数据 100% 本地

What it solves

Image Studio is a cross-platform client for image generation and editing. It specifically addresses the problem of connection timeouts (such as 524/504 errors) that often occur when using Cloudflare or Nginx gateways during long image inference processes.

How it works

The application acts as a frontend for OpenAI-compatible image APIs. It allows users to configure their own BASE_URL and API keys. To prevent timeouts, it supports two different API modes:

  • Responses API: Uses HTTP SSE or WebSocket modes to maintain connections during long-running tasks.
  • Images API: Supports standard /v1/images/generations and /v1/images/edits endpoints for standard compatibility.

Who it’s for

Users who need a stable desktop or Android interface to interact with OpenAI-compatible image generation services, particularly those experiencing network instability or gateway timeouts with standard API calls.

Highlights

  • Multi-platform support: Available for Windows, macOS, Linux, and Android.
  • Anti-timeout mechanisms: Specialized support for SSE and WebSockets to avoid 524/504 errors.
  • Customizable parameters: Support for custom aspect ratios, quality settings, output formats, and styles.
  • Prompt integration: Integrates with the Image-Prompts project for one-click prompt importing.
  • Batch processing: Includes capabilities for batch image-to-image (img2img) workflows.

Related

  • Project
  • Project
  • Project
  • Project
  • Project