flow2api-imagegen

Generate images via a local Flow2API endpoint and save to a specified path.

1|Updated Apr 5, 2026
One-click install
npx skills add https://github.com/tangchunwu/skill-hub --skill flow2api-imagegen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flow2api-imagegen
Source: https://github.com/tangchunwu/skill-hub/tree/main/skills/custom/image/flow2api-imagegen
Command: npx skills add https://github.com/tangchunwu/skill-hub --skill flow2api-imagegen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill enables you to generate images using a locally hosted Flow2API endpoint, avoiding reliance on external services and improving privacy.

Core Features & Use Cases

  • Local-first image generation via Flow2API with optional preset mappings (square, landscape, portrait, four_three, three_four).
  • Flexible model selection: use preset models or specify a custom model, with an optional fallback URL.
  • Output management: generate an image and save it to a user-specified file path on the local machine.

Quick Start

Generate an image using the locally configured Flow2API endpoint and save it to a file.

Frequently Asked Questions about flow2api-imagegen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate images locally without relying on remote API services?

To generate images locally, this skill routes prompts to a locally hosted Flow2API endpoint, ensuring offline capability and privacy while saving the output image directly to a specified file path.

What local setup is required for Flow2API image generation?

Flow2API image generation requires a local Flow2API setup and a ~/.flow2api-imagegen/config.json file containing your base_url and available models to function properly.

Can I specify a custom model for local AI art generation instead of using presets?

Yes, local AI art generation supports flexible model selection. You can use built-in presets like square or landscape, specify a custom model manually, and configure an optional fallback URL.

When should I use a local image generation API over remote services?

Use a local image generation API when privacy and offline capability are important. It prevents external data transmission, making it ideal for sensitive prompts and disconnected environments.

How do I save generated images to a specific folder on my machine?

To save generated images to a specific folder, provide a user-specified file path in your prompt. The skill outputs the generated image directly to that local machine path.