Pixmind Image Generation
v1.3.0Generate or edit AI images via Pixmind API (text-to-image and image-to-image)
MIT-0
Security Scan
OpenClaw
Benign
high confidencePurpose & 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.
latest
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.prois the official Pixmind API gateway. Result URLs onchatmix.topare 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
- Register at pixmind.io
- Create an API key at pixmind.io/api-keys
- Set env
PIXMIND_API_KEYwith 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)
| Parameter | Required | Type | Description |
|---|---|---|---|
prompt | Yes | string | Image description / prompt |
model | No | string | Model name (default: seedream-4.0) |
aspectRatio | No | string | Aspect ratio: 1:1, 16:9, 9:16, 4:3, 3:4 (default: 1:1) |
sampleCount | No | number | Number of images 1-4 (default: 1) |
enhancePrompt | No | boolean | AI-enhance the prompt (default: false) |
generateType | No | string | text2img (default) or img2img |
image | No | string | Reference image URL (required for img2img) |
Available Models
seedream-4.0— Default, high qualityimagen-4-standard— Google Imagen 4 standardimagen-4-ultra— Google Imagen 4 ultra (highest quality)imagen-4-fast— Google Imagen 4 fastgemini-2.5-flash— Gemini flash modelgemini-3-pro-image— Gemini Pro image modelseedream-3.0-t2i— Seedream 3.0 text-to-imageseededit-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:
processing→ready(success) - On success:
data.imagescontains generated image URLs
Guidelines
- Always confirm the prompt with the user before generating
- Default to
seedream-4.0model unless user specifies otherwise - Use
1:1aspect ratio by default, suggest alternatives when appropriate - If user provides a reference image, use
img2imgmode automatically - After getting the task ID, poll until completion and return image URLs
- Suggest prompt enhancement for vague or short prompts
Files
3 totalSelect a file
Select a file to preview.
Comments
Loading comments…
