Pixmind Image Generation

v1.3.0

Generate or edit AI images via Pixmind API (text-to-image and image-to-image)

0· 19·0 current·0 all-time
byPixmind@fuyunzhishang
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (Pixmind image generation) align with the requested environment variable PIXMIND_API_KEY and the included scripts that call the Pixmind API. The JS helpers perform only API calls to the declared API_BASE and do image generation / task polling as expected.
Instruction Scope
SKILL.md instructions generally match the code (POST to /open-api/v1/image/generate and polling /open-api/v1/task/<id>), but there is a documentation mismatch: SKILL.md shows using node {baseDir}/pixmind-api.js as the helper but the repository contains image-generate.js (and task-status.js). Also SKILL.md claims the API gateway is aihub-admin.aimix.pro and image CDN chatmix.top — these hostnames are unusual compared to pixmind.io and should be verified as official before use. The instructions otherwise do not ask the agent to read unrelated files or env vars.
Install Mechanism
No install spec (instruction-only) and included JS files are small and readable. Nothing is downloaded from arbitrary URLs or installed automatically; low install risk.
Credentials
Only PIXMIND_API_KEY is required and declared as the primary credential. No unrelated secrets or config paths are requested. The scripts only read process.env.PIXMIND_API_KEY as expected.
Persistence & Privilege
Skill is not always-enabled, does not request system-wide changes, and does not modify other skills' configs. Default autonomous invocation is allowed (platform default) but is not combined with other concerning privileges.
Assessment
This skill appears to be what it claims: helper scripts post prompts to a Pixmind API and poll for results. Before installing or providing your real API key: 1) Verify that the hostnames used (aihub-admin.aimix.pro and chatmix.top) are legitimately operated by Pixmind (check pixmind.io docs or contact Pixmind support). 2) Note the SKILL.md example references pixmind-api.js but the included file is image-generate.js — confirm which script you will run or update the doc. 3) Consider testing with a throwaway API key (or limited/quota-limited key) and non-sensitive prompts, since generated images are returned as public CDN URLs. 4) Ensure your runtime Node environment provides global fetch or add a polyfill. If you need higher assurance, ask the publisher for provenance or an official upstream source (e.g., GitHub repo or Pixmind sample) and re-check domain ownership before using a privileged production API key.
image-generate.js:47
Environment variable access combined with network send.
task-status.js:39
Environment variable access combined with network send.
Confirmed safe by external scanners
Static analysis detected API credential-access patterns, but both VirusTotal and OpenClaw confirmed this skill is safe. These patterns are common in legitimate API integration skills.

Like a lobster shell, security has layers — review code before you run it.

latestvk97c600rbj1v6w4r1bb6fgaq11840n38

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

EnvPIXMIND_API_KEY
Primary envPIXMIND_API_KEY

SKILL.md

Pixmind Image Generation Skill

Generate AI images using Pixmind. Supports text-to-image and image-to-image generation with multiple models.

Note: The API endpoint aihub-admin.aimix.pro is the official Pixmind API gateway. Result URLs on chatmix.top are Pixmind's CDN for generated content.

When to use

  • User asks to generate, create, or draw an image
  • User wants to transform or edit an existing image
  • User requests image variations or upscaling

Prerequisites

  1. Register at pixmind.io
  2. Create an API key at pixmind.io/api-keys
  3. Set env PIXMIND_API_KEY with your key

API Details

Endpoint: POST https://aihub-admin.aimix.pro/open-api/v1/image/generate Auth: Header X-API-Key: {API_KEY} (from env PIXMIND_API_KEY)

Request Body (JSON)

ParameterRequiredTypeDescription
promptYesstringImage description / prompt
modelNostringModel name (default: seedream-4.0)
aspectRatioNostringAspect ratio: 1:1, 16:9, 9:16, 4:3, 3:4 (default: 1:1)
sampleCountNonumberNumber of images 1-4 (default: 1)
enhancePromptNobooleanAI-enhance the prompt (default: false)
generateTypeNostringtext2img (default) or img2img
imageNostringReference image URL (required for img2img)

Available Models

  • seedream-4.0 — Default, high quality
  • imagen-4-standard — Google Imagen 4 standard
  • imagen-4-ultra — Google Imagen 4 ultra (highest quality)
  • imagen-4-fast — Google Imagen 4 fast
  • gemini-2.5-flash — Gemini flash model
  • gemini-3-pro-image — Gemini Pro image model
  • seedream-3.0-t2i — Seedream 3.0 text-to-image
  • seededit-3.0-i2i — Seedream 3.0 image editing

Usage

Use curl or the included helper script:

# Text to image (via curl)
curl -X POST https://aihub-admin.aimix.pro/open-api/v1/image/generate \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $PIXMIND_API_KEY" \
  -d '{"prompt": "描述文字", "model": "seedream-4.0", "aspectRatio": "16:9"}'

# Or use the helper script
node {baseDir}/pixmind-api.js --prompt "描述文字" --model seedream-4.0 --aspect-ratio 16:9

Task Status Polling

After generation, poll for results:

# Via curl
curl https://aihub-admin.aimix.pro/open-api/v1/task/<TASK_ID> \
  -H "X-API-Key: $PIXMIND_API_KEY"

# Or use the helper script
node {baseDir}/task-status.js --task-id <TASK_ID> --poll

Response Format

Generate response:

{"code": 1000, "data": {"taskId": 19399, "status": "processing"}}

Task status response:

{
  "code": 1000,
  "data": {
    "taskId": 19399,
    "status": "ready",
    "progress": 100,
    "images": ["https://chatmix.top/..."]
  }
}
  • data.taskId — Use this to poll status
  • Status values: processingready (success)
  • On success: data.images contains generated image URLs

Guidelines

  1. Always confirm the prompt with the user before generating
  2. Default to seedream-4.0 model unless user specifies otherwise
  3. Use 1:1 aspect ratio by default, suggest alternatives when appropriate
  4. If user provides a reference image, use img2img mode automatically
  5. After getting the task ID, poll until completion and return image URLs
  6. Suggest prompt enhancement for vague or short prompts

Files

3 total
Select a file
Select a file to preview.

Comments

Loading comments…