jimeng-api

Generates images via HTTP API calls to a localhost server and saves them to disk.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/RylinXX/jimeng-api --skill jimeng-api-rylinxx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jimeng-api
Source: https://github.com/RylinXX/jimeng-api/tree/main/jimeng-api
Command: npx skills add https://github.com/RylinXX/jimeng-api --skill jimeng-api-rylinxx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, Pillow, and includes scripts (resource) components.

What problem does it solve?

Generating AI images from prompts can require running local services, wiring APIs, and managing outputs. This Skill centralizes those steps by interfacing with a locally hosted Jimeng API service, enabling seamless image creation.

Core Features & Use Cases

  • Text-to-Image and Image-to-Image generation via a local Jimeng API (Docker-based) with configurable ratio and resolution.
  • Automatic download and PNG/WebP handling of output images to the project’s pic directory.
  • API endpoint is typically http://localhost:5100; supports different regions via session prefixes.

Quick Start

Before starting, ensure the Jimeng API is running locally (Docker) and accessible at http://localhost:5100. Then run a minimal example: $ python scripts/generate_image.py text "a futuristic city at sunset" --session-id "YOUR_SESSION_ID"

Frequently Asked Questions about jimeng-api

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

FAQPage Schema
How do I generate AI images from text prompts using a local API?

To generate AI images from text prompts locally, run the provided Python script targeting your local Jimeng API service, passing the text prompt and your session ID to output PNG or WebP files to the project directory.

What dependencies do I need to run a local Jimeng image generation script?

Running a local Jimeng image generation script requires Python, the requests and Pillow libraries, and a Docker-based Jimeng API service actively listening on localhost port 5100.

Can I perform image-to-image generation locally with the Jimeng API?

Yes, you can perform image-to-image generation locally with the Jimeng API by configuring the Docker-based service endpoint and passing your source image alongside the prompt to the generation script.

How do I configure the resolution and aspect ratio for locally generated AI images?

You can configure the resolution and aspect ratio for locally generated AI images by passing specific parameters to the generation script, which forwards them to the Jimeng API service.

Does the local AI image generation script handle downloading and saving the output files?

Yes, the local AI image generation script automatically handles downloading the generated images and saves them directly as PNG or WebP files into the project's designated pic folder.