Task Router Skill
Task Router
Generate AI images via ImaginePro API (Midjourney, Flux, Nano Banana, Lumi Girl, video)
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install iamzifei/imaginepro-apiInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
Generate stunning AI images, videos, and edits using the ImaginePro API. This skill wraps the full ImaginePro backend and supports 5 generation models, image upscaling, background removal, prompt enhancement, and video generation.
# Set your API key (get one at https://platform.imaginepro.ai/dashboard/setup)
export IMAGINEPRO_API_KEY="your-api-key-here"
# Generate an image with Flux (fastest)
python3 imaginepro_api.py wait --prompt "a cyberpunk cityscape at sunset" --model flux
# Generate with Midjourney
python3 imaginepro_api.py wait --prompt "portrait of a warrior queen, cinematic lighting --ar 2:3"
# List available models and costs
python3 imaginepro_api.py models
All requests require a Bearer token obtained from the ImaginePro Platform dashboard:
export IMAGINEPRO_API_KEY="your-key"
Base URL: https://api.imaginepro.ai/api/v1
Header: Authorization: Bearer <IMAGINEPRO_API_KEY>
| Model | Endpoint | Credits | Best For |
|---|---|---|---|
| Midjourney (alpha v6) | /midjourney/imagine |
10 (fast) / 5 (relax) | Artistic, photorealistic images |
| Flux | /flux/imagine |
6 | Fast general-purpose generation |
| Nano Banana | /universal/imagine |
6 | Reference image + text (try-on, mockup, staging) |
| Lumi Girl | /universal/zimage |
6 | Character portraits, anime, stylized |
| MJ Video | /video/mj/generate |
10 | Video generation from start/end frames |
/midjourney/imagine — Midjourney GenerationThe flagship model. Supports Midjourney parameters in the prompt string (e.g., --ar 16:9, --style raw, --relax).
Request:
{
"prompt": "a...
These signals come from indexed source analysis and may lag behind changes. Check the current source files.
# ImaginePro AI Image Generation API
Generate stunning AI images, videos, and edits using the ImaginePro API. This skill wraps the full ImaginePro backend and supports 5 generation models, image upscaling, background removal, prompt enhancement, and video generation.
## Quick Start
```bash
# Set your API key (get one at https://platform.imaginepro.ai/dashboard/setup)
export IMAGINEPRO_API_KEY="your-api-key-here"
# Generate an image with Flux (fastest)
python3 imaginepro_api.py wait --prompt "a cyberpunk cityscape at sunset" --model flux
# Generate with Midjourney
python3 imaginepro_api.py wait --prompt "portrait of a warrior queen, cinematic lighting --ar 2:3"
# List available models and costs
python3 imaginepro_api.py models
```
## Authentication
All requests require a Bearer token obtained from the ImaginePro Platform dashboard:
1. Sign up at https://platform.imaginepro.ai
2. Purchase credits from https://platform.imaginepro.ai/pricing
3. Get your API key at https://platform.imaginepro.ai/dashboard/setup
4. Set the environment variable: `export IMAGINEPRO_API_KEY="your-key"`
**Base URL:** `https://api.imaginepro.ai/api/v1`
**Header:** `Authorization: Bearer <IMAGINEPRO_API_KEY>`
## Available Models
| Model | Endpoint | Credits | Best For |
|-------|----------|---------|----------|
| Midjourney (alpha v6) | `/midjourney/imagine` | 10 (fast) / 5 (relax) | Artistic, photorealistic images |
| Flux | `/flux/imagine` | 6 | Fast general-purpose generation |
| Nano Banana | `/universal/imagine` | 6 | Reference image + text (try-on, mockup, staging) |
| Lumi Girl | `/universal/zimage` | 6 | Character portraits, anime, stylized |
| MJ Video | `/video/mj/generate` | 10 | Video generation from start/end frames |
## API Reference
### Image Generation
#### POST `/midjourney/imagine` — Midjourney Generation
The flagship model. Supports Midjourney parameters in the prompt string (e.g., `--ar 16:9`, `--style raw`, `--relax`).
**Request:**
```json
{
"prompt": "a...Task Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.