Design & media

pixmind-image

Try it

Generate or edit AI images with Pixmind. Use for 文生图、图生图、图片编辑、产品图、海报、配图、封面、角色一致性, or whenever the user asks to create or modify an image through Pixmind.

What it does

Generate or edit AI images with Pixmind. Use for 文生图、图生图、图片编辑、产品图、海报、配图、封面、角色一致性, or whenever the user asks to create or modify an image through Pixmind.

The skill document

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 — 注册即送 200 积分免费试用
  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 (max 20000 chars)
modelNostringModel ID (default: seedream-4.0)
aspectRatioNostringAspect ratio, e.g. 1:1, 16:9, 9:16 (varies by model, default: 1:1)
sampleCountNonumberNumber of images to generate (default: 1, max varies by model)
speedNostringGeneration speed: relax, fast, turbo (varies by model)
seedNonumberSeed for reproducible generation (1–2147483647, if model supports)
negativePromptNostringWhat to avoid in the image (if model supports)
stylizationNonumberStyle strength 0–1000 (default: 100, for MJ & some models)
weirdnessNonumberWeirdness/creativity 0–3000 (default: 0, for MJ & some models)
varietyNonumberVariation 0–100 (default: 0, for MJ & some models)
resolutionNostringResolution type: 1K, 2K, 3K, 4K (varies by model)
qualityNostringQuality: medium, high (for GPT Image models)
generateTypeNostringtext2img (default) or img2img
imageNostringReference image URL (required for img2img)

Available Models

Model IDNameText-to-ImageImage-to-ImageAspect RatiosNotes
nano-banana-2Nano Banana 21:1, 16:9, 9:16, 4:3, 3:4, 3:2, 21:9, 2:3, 8:1, 1:81K/2K/4K, supports seed & negative prompt
nano-banana-2-ecoNano Banana 2 Eco1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9, 8:1, 1:81K/2K/4K, 80% off
seedream-5.0Seedream 5.01:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:32K/3K, supports seed
wan2.7-image-proWan 2.7 Image Pro1:1, 16:9, 9:16, 3:2, 2:3Sample count 1–4
wan2.7-imageWan 2.7 Image1:1, 16:9, 9:16, 3:2, 2:3Sample count 1–4
qwen-image-2.0-proQwen Image 2.0 Pro1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9Sample count 1–6
qwen-image-2.0Qwen Image 2.01:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9Sample count 1–6
flux-kontext-proFlux Kontext Pro1:1, 16:9, 4:3, 9:16, 3:4, 3:2, 2:3, 21:970% off
pixmind-2.0Pixmind 2.01:1, 16:9, 4:3, 9:16, 3:4, 3:2, 2:3, 21:9Supports relax/fast speed
z-imageZ-Image1:1, 4:3, 3:4, 16:9, 9:16Alibaba Tongyi Lab's 6B-parameter efficient diffusion transformer (S3-DiT), supports relax/fast, seed
nano-banana-pro-liteNano Banana Pro Eco1:1, 16:9, 9:16, 4:3, 3:41K/2K/4K, 70% off
nano-bananaNano BananaBasic Gemini generation
gpt-image-1.5GPT Image 1.51:1, 2:3, 3:2Supports medium/high quality, 30% off
seedream-4.0Seedream 4.01:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 5:6, 6:5, 2:11K/2K/4K
nano-banana-proNano Banana Pro1:1, 16:9, 9:16, 4:3, 3:41K/2K/4K, supports seed & negative prompt
seedream-4.5Seedream 4.51:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 5:6, 6:5, 2:1ByteDance flagship, cinematic aesthetics, 2K/4K
gpt-image-4oGPT Image 4o1:1, 2:3, 3:2, 1024×1024, 1024×1536, 1536×1024OpenAI latest, 70% off
qwen-image-edit-plusQwen Image Edit Plus1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9, 21:9Image editing only
qwen-image-maxQwen Image Max16:9, 4:3, 1:1, 3:4, 9:16Text-to-image only
qwen-image-edit-maxQwen Image Edit Max1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9, 21:9Image editing only
qwen-image-plusQwen Image Plus16:9, 4:3, 1:1, 3:4, 9:16Text-to-image only
mj-v7Midjourney V71:1, 9:16, 2:3, 3:4, 5:6, 6:5, 4:3, 3:2, 16:9, 2:1Top artistic quality, supports relax/fast/turbo, stylization, weirdness, variety
wan2.6-imageWan 2.6 Image1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9, 21:9Alibaba's diffusion model, supports editing

Model Introductions

Seedream (ByteDance) — Flagship series with cinematic aesthetics and realistic textures. Unified architecture for both generation and editing. Native 4K support (4096x4096).

  • seedream-5.0 — Latest generation, 2K/3K output, supports seed for reproducibility.
  • seedream-4.5 — Previous flagship, LM Arena Top 10. 2K/4K output.
  • seedream-4.0 — Proven high quality model, good balance of quality and speed. Default model. 1K/2K/4K.

Midjourney — Industry-leading artistic and creative image generation.

  • mj-v7 — Latest version, top aesthetic quality. Supports speed control (relax/fast/turbo), stylization, weirdness, and variety parameters for fine-grained creative control.

OpenAI GPT Image — Strong instruction following, excellent text rendering in images.

  • gpt-image-4o — Latest OpenAI model, supports medium/high quality.
  • gpt-image-1.5 — Earlier generation, still solid quality.

Alibaba / Qwen / Wan

  • qwen-image-2.0-pro / qwen-image-2.0 — Latest Qwen VL image generation. Text-to-image only, up to 6 samples per request.
  • qwen-image-max / qwen-image-plus — Previous generation Qwen models, text-to-image only.
  • qwen-image-edit-max / qwen-image-edit-plus — Specialized for image editing (img2img only).
  • wan2.7-image-pro / wan2.7-image — Wan 2.7 series, Alibaba's latest diffusion model with editing support.
  • wan2.6-image — Wan 2.6, high-end generation with editing support.
  • z-image — Alibaba Tongyi Lab's open-source 6B-parameter efficient diffusion transformer (S3-DiT). Photorealistic quality with low computational cost.

Flux (Black Forest Labs) — Strong prompt adherence and visual fidelity.

  • flux-kontext-pro — Balanced quality and speed.

Nano Banana — Lightweight models with broad aspect ratio support.

  • nano-banana-2 — Latest generation, supports seed & negative prompt, 1K/2K/4K.
  • nano-banana-2-eco — 80% cost reduction, great for bulk generation.
  • nano-banana-pro — Higher quality variant with seed & negative prompt support.
  • nano-banana-pro-lite — Lighter pro version, 70% off.
  • nano-banana — Base model, basic Gemini-powered generation.

Pixmind Native

  • pixmind-2.0 — Pixmind's proprietary model, supports relax/fast speed modes.

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": "nano-banana-2", "aspectRatio": "16:9"}'

# Or use the helper script
node {baseDir}/image-generate.js --prompt "描述文字" --model nano-banana-2 --aspect-ratio 16:9

Task Status Polling

After generation, poll for results:

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

# Or use the helper script
node {baseDir}/task-status.js --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 nano-banana-2 (high quality) or seedream-4.0 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. For image editing tasks, prefer models that support image2image: nano-banana-2, seedream-5.0, gpt-image-4o, mj-v7, pixmind-2.0
  7. For Midjourney V7, you can also use stylization, weirdness, and variety parameters
  8. Check the model's supported aspect ratios before sending the request — not all models support the same ratios

Related skills

Generate AI videos via Pixmind API (text-to-video and image-to-video)

18 installs

Generate and edit images from text or references using routed AI models, with character consistency and product photography support.

539 installs10 stars

Transform a real product photo into a studio-quality ecommerce image, lifestyle scene, or marketplace-ready hero shot. This AI product photography tool replaces backgrounds, improves lighting, and stages scenes while using the source photo and confirmed product details as the visual anchor. Create clean white-background listings, contextual lifestyle compositions, and premium ad visuals from a single phone snap for Amazon, Taobao, Shopify, and social media. Start from one product photo, combine several references, or refine a selected draft toward a polished listing image.

Modify an image the user already has, by instruction or by mask. Use when the user says "remove the person/wires/watermark", "add a hat", "replace the sofa",...

Generate AI images via GoAI API. Use when the user asks to create, generate, draw, edit, render, or make images, pictures, illustrations, posters, avatars, p...

16 installs