[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75HS1KJQAF5SFT8X70Z7BF0":3,"skill-same:01M75HS1KJQAF5SFT8X70Z7BF0":58},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":41,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M75HS1KJQAF5SFT8X70Z7BF0","imaginepro-api",null,"Generate AI images via ImaginePro API (Midjourney, Flux, Nano Banana, Lumi Girl, video)","javimosch\u002Fopen-claw-skills","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M75B8NCTAJG9WH5YNZH7C3D8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fiamzifei\u002Fimaginepro-api\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: imaginepro-api\ndescription: Generate AI images via ImaginePro API (Midjourney, Flux, Nano Banana, Lumi Girl, video)\nversion: 1.0.0\nmetadata:\n  openclaw:\n    requires:\n      env:\n        - IMAGINEPRO_API_KEY\n      bins:\n        - python3\n        - curl\n    primaryEnv: IMAGINEPRO_API_KEY\n    homepage: https:\u002F\u002Fplatform.imaginepro.ai\u002Fai-agent-skill\n    emoji: \"\\U0001F3A8\"\n---\n\n# ImaginePro AI Image Generation API\n\nGenerate 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.\n\n## Quick Start\n\n```bash\n# Set your API key (get one at https:\u002F\u002Fplatform.imaginepro.ai\u002Fdashboard\u002Fsetup)\nexport IMAGINEPRO_API_KEY=\"your-api-key-here\"\n\n# Generate an image with Flux (fastest)\npython3 imaginepro_api.py wait --prompt \"a cyberpunk cityscape at sunset\" --model flux\n\n# Generate with Midjourney\npython3 imaginepro_api.py wait --prompt \"portrait of a warrior queen, cinematic lighting --ar 2:3\"\n\n# List available models and costs\npython3 imaginepro_api.py models\n```\n\n## Authentication\n\nAll requests require a Bearer token obtained from the ImaginePro Platform dashboard:\n\n1. Sign up at https:\u002F\u002Fplatform.imaginepro.ai\n2. Purchase credits from https:\u002F\u002Fplatform.imaginepro.ai\u002Fpricing\n3. Get your API key at https:\u002F\u002Fplatform.imaginepro.ai\u002Fdashboard\u002Fsetup\n4. Set the environment variable: `export IMAGINEPRO_API_KEY=\"your-key\"`\n\n**Base URL:** `https:\u002F\u002Fapi.imaginepro.ai\u002Fapi\u002Fv1`\n\n**Header:** `Authorization: Bearer \u003CIMAGINEPRO_API_KEY>`\n\n## Available Models\n\n| Model | Endpoint | Credits | Best For |\n|-------|----------|---------|----------|\n| Midjourney (alpha v6) | `\u002Fmidjourney\u002Fimagine` | 10 (fast) \u002F 5 (relax) | Artistic, photorealistic images |\n| Flux | `\u002Fflux\u002Fimagine` | 6 | Fast general-purpose generation |\n| Nano Banana | `\u002Funiversal\u002Fimagine` | 6 | Reference image + text (try-on, mockup, staging) |\n| Lumi Girl | `\u002Funiversal\u002Fzimage` | 6 | Character portraits, anime, stylized |\n| MJ Video | `\u002Fvideo\u002Fmj\u002Fgenerate` | 10 | Video generation from start\u002Fend frames |\n\n## API Reference\n\n### Image Generation\n\n#### POST `\u002Fmidjourney\u002Fimagine` — Midjourney Generation\n\nThe flagship model. Supports Midjourney parameters in the prompt string (e.g., `--ar 16:9`, `--style raw`, `--relax`).\n\n**Request:**\n```json\n{\n  \"prompt\": \"a majestic eagle soaring over mountains --ar 16:9\",\n  \"ref\": \"optional-tracking-id\",\n  \"webhookOverride\": \"https:\u002F\u002Fyour-server.com\u002Fwebhook\"\n}\n```\n\n- Append `--relax` to the prompt for relax mode (5 credits instead of 10, slower).\n- Supports all standard Midjourney prompt parameters: `--ar`, `--style`, `--chaos`, `--no`, `--seed`, `--q`, etc.\n\n**Response:**\n```json\n{\n  \"success\": true,\n  \"messageId\": \"uuid-of-the-generation-task\",\n  \"createdAt\": \"2026-01-15T12:00:00+00:00\"\n}\n```\n\n**Credits:** 10 (fast mode) \u002F 5 (relax mode)\n\n---\n\n#### POST `\u002Fflux\u002Fimagine` — Flux Generation\n\nFast, high-quality generation. Supports batch generation.\n\n**Request:**\n```json\n{\n  \"prompt\": \"a cozy cabin in the woods, watercolor style\",\n  \"n\": 1,\n  \"ref\": \"optional-tracking-id\",\n  \"webhookOverride\": \"https:\u002F\u002Fyour-server.com\u002Fwebhook\"\n}\n```\n\n- `n` (optional, default 1): Number of images to generate (credits multiply by n).\n\n**Response:**\n```json\n{\n  \"success\": true,\n  \"messageId\": \"uuid-of-the-generation-task\",\n  \"createdAt\": \"2026-01-15T12:00:00+00:00\"\n}\n```\n\n**Credits:** 6 per image\n\n---\n\n#### POST `\u002Funiversal\u002Fimagine` — Nano Banana (Reference Image Generation)\n\nMulti-modal generation using text + reference images. Ideal for virtual try-on, product mockups, interior staging, and style transfer.\n\n**Request:**\n```json\n{\n  \"contents\": [\n    { \"type\": \"text\", \"text\": \"Image creation: woman wearing this dress in a garden\" },\n    { \"type\": \"image\", \"url\": \"https:\u002F\u002Fexample.com\u002Fdress.jpg\" }\n  ],\n  \"model\": \"nano-banana-2\",\n  \"ref\": \"optional-tracking-id\",\n  \"webhookOverride\": \"https:\u002F\u002Fyour-server.com\u002Fwebhook\"\n}\n```\n\n- `contents`: Array of content items. First item should be `type: \"text\"` with the prompt prefixed by `\"Image creation: \"`. Subsequent items can be `type: \"image\"` with a `url` field for reference images.\n- `model`: Must be `\"nano-banana-2\"`.\n- Supports multiple reference images (e.g., a person photo + a garment photo for virtual try-on).\n\n**Response:**\n```json\n{\n  \"success\": true,\n  \"messageId\": \"uuid-of-the-generation-task\",\n  \"createdAt\": \"2026-01-15T12:00:00+00:00\"\n}\n```\n\n**Credits:** 6\n\n---\n\n#### POST `\u002Funiversal\u002Fzimage` — Lumi Girl\n\nSpecialized model for character portraits and stylized images. Supports aspect ratio via `--ar` in the prompt.\n\n**Request:**\n```json\n{\n  \"prompt\": \"anime girl with silver hair in a moonlit forest --ar 3:4\",\n  \"steps\": 4,\n  \"width\": 768,\n  \"height\": 1024,\n  \"ref\": \"optional-tracking-id\",\n  \"webhookOverride\": \"https:\u002F\u002Fyour-server.com\u002Fwebhook\"\n}\n```\n\n- `steps`: Always 4 (fixed).\n- `width` \u002F `height`: Max 1024 per dimension, must be divisible by 8. If `--ar W:H` is in the prompt, dimensions are auto-calculated from the ratio (max dimension = 1024).\n- Default: 1024x1024 if no aspect ratio specified.\n\n**Response:**\n```json\n{\n  \"success\": true,\n  \"messageId\": \"uuid-of-the-generation-task\",\n  \"createdAt\": \"2026-01-15T12:00:00+00:00\"\n}\n```\n\n**Credits:** 6\n\n---\n\n#### POST `\u002Fvideo\u002Fmj\u002Fgenerate` — MJ Video\n\nGenerate a video from start and end frame images.\n\n**Request:**\n```json\n{\n  \"prompt\": \"smooth camera pan with cinematic motion\",\n  \"startFrameUrl\": \"https:\u002F\u002Fexample.com\u002Fstart.jpg\",\n  \"endFrameUrl\": \"https:\u002F\u002Fexample.com\u002Fend.jpg\",\n  \"timeout\": 900,\n  \"ref\": \"optional-tracking-id\",\n  \"webhookOverride\": \"https:\u002F\u002Fyour-server.com\u002Fwebhook\"\n}\n```\n\n- `startFrameUrl` (required): URL of the starting frame image.\n- `endFrameUrl` (required): URL of the ending frame image.\n- `prompt` (optional, default \"smooth motion transition\"): Motion description.\n- `timeout` (optional, default 900): Max processing time in seconds.\n\n**Response:**\n```json\n{\n  \"success\": true,\n  \"messageId\": \"uuid-of-the-generation-task\",\n  \"createdAt\": \"2026-01-15T12:00:00+00:00\"\n}\n```\n\n**Credits:** 10\n\n---\n\n### Post-Processing\n\n#### POST `\u002Fmidjourney\u002Fbutton` — Midjourney Upscale \u002F Variant\n\nUpscale or create variants of Midjourney-generated images.\n\n**Request:**\n```json\n{\n  \"messageId\": \"original-task-message-id\",\n  \"button\": \"U1\",\n  \"ref\": \"optional-tracking-id\",\n  \"webhookOverride\": \"https:\u002F\u002Fyour-server.com\u002Fwebhook\"\n}\n```\n\n- `messageId`: The `messageId` (task ID) from the original Midjourney generation.\n- `button`: Action to perform. `U1`-`U4` for upscaling quadrants, `V1`-`V4` for variants.\n\n**Response:**\n```json\n{\n  \"success\": true,\n  \"messageId\": \"uuid-of-the-upscale-task\",\n  \"createdAt\": \"2026-01-15T12:00:00+00:00\"\n}\n```\n\n**Credits:** 5\n\n---\n\n#### POST `\u002Fflux\u002Fupscale` — Flux Upscale\n\nUpscale any image (not limited to Flux-generated).\n\n**Request:**\n```json\n{\n  \"image\": \"https:\u002F\u002Fexample.com\u002Fimage.jpg\",\n  \"scale\": 2,\n  \"ref\": \"optional-tracking-id\",\n  \"webhookOverride\": \"https:\u002F\u002Fyour-server.com\u002Fwebhook\"\n}\n```\n\n- `image` (required): URL of the image to upscale.\n- `scale` (required): Upscale factor, must be between 2 and 4 (inclusive).\n\n**Response:**\n```json\n{\n  \"success\": true,\n  \"messageId\": \"uuid-of-the-upscale-task\",\n  \"createdAt\": \"2026-01-15T12:00:00+00:00\"\n}\n```\n\n**Credits:** 2\n\n---\n\n#### POST `\u002Ftools\u002Fremove-bg` — Background Removal\n\nRemove the background from an image.\n\n**Request:**\n```json\n{\n  \"image\": \"https:\u002F\u002Fexample.com\u002Fphoto.jpg\",\n  \"ref\": \"optional-tracking-id\",\n  \"webhookOverride\": \"https:\u002F\u002Fyour-server.com\u002Fwebhook\"\n}\n```\n\n**Response:**\n```json\n{\n  \"success\": true,\n  \"messageId\": \"uuid-of-the-removebg-task\",\n  \"createdAt\": \"2026-01-15T12:00:00+00:00\"\n}\n```\n\n**Credits:** 5\n\n---\n\n#### POST `\u002Ftools\u002Fprompt-extend` — Prompt Enhancement (Free)\n\nExpand a short prompt into a detailed, high-quality prompt.\n\n**Request:**\n```json\n{\n  \"prompt\": \"a sunset\"\n}\n```\n\n**Response:**\n```json\n{\n  \"prompt\": \"a breathtaking sunset over the Pacific Ocean, golden hour light casting warm amber and coral tones across scattered cumulus clouds, silhouetted palm trees in the foreground...\"\n}\n```\n\n**Credits:** Free\n\n---\n\n### Status & History\n\n#### GET `\u002Fmidjourney\u002Fmessage\u002F{messageId}` — Check Generation Status\n\nPoll this endpoint to check the progress of any generation task (works for all models, not just Midjourney).\n\n**Response (in progress):**\n```json\n{\n  \"prompt\": \"a simple red circle on white background\",\n  \"status\": \"PROCESSING\",\n  \"progress\": 0,\n  \"messageId\": \"2346e0bc-c3c3-48ea-adec-3a21609fd288\",\n  \"createdAt\": \"2026-02-22T07:43:37+00:00\",\n  \"updatedAt\": \"2026-02-22T07:43:37+00:00\"\n}\n```\n\n**Response (completed):**\n```json\n{\n  \"prompt\": \"a simple red circle on white background\",\n  \"status\": \"DONE\",\n  \"images\": [\"https:\u002F\u002Fcdn-new.imaginepro.ai\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcdn\u002F2346e0bc-c3c3-48ea-adec-3a21609fd288.png\"],\n  \"uri\": \"https:\u002F\u002Fcdn-new.imaginepro.ai\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcdn\u002F2346e0bc-c3c3-48ea-adec-3a21609fd288.png\",\n  \"progress\": 100,\n  \"messageId\": \"2346e0bc-c3c3-48ea-adec-3a21609fd288\",\n  \"createdAt\": \"2026-02-22T07:43:37+00:00\",\n  \"updatedAt\": \"2026-02-22T07:43:49+00:00\"\n}\n```\n\n**Response (failed):**\n```json\n{\n  \"status\": \"FAIL\",\n  \"error\": \"Description of what went wrong\"\n}\n```\n\n**Statuses:** `SUBMITTED` → `PROCESSING` → `DONE` | `FAIL`\n\n**Credits:** Free (polling is free)\n\n---\n\n## Async Workflow\n\nAll generation endpoints are **asynchronous**. The workflow is:\n\n1. **Submit** a generation request → receive a `messageId`\n2. **Poll** `GET \u002Fmidjourney\u002Fmessage\u002F{messageId}` every 3-5 seconds\n3. Wait for `status` to be `DONE` (images ready) or `FAIL` (error)\n4. **Download** the result from the `uri` or `images` array\n\nThe helper script's `wait` command automates this entire flow.\n\n## Credit Cost Summary\n\n| Operation | Credits |\n|-----------|---------|\n| Midjourney Imagine (fast) | 10 |\n| Midjourney Imagine (relax) | 5 |\n| Midjourney Upscale\u002FVariant | 5 |\n| Flux Imagine | 6 per image |\n| Flux Upscale | 2 |\n| Nano Banana Imagine | 6 |\n| Lumi Girl Imagine | 6 |\n| MJ Video | 10 |\n| Background Removal | 5 |\n| Prompt Enhancement | Free |\n| Status Polling | Free |\n\n## Python Helper Script\n\nThe included `imaginepro_api.py` is a zero-dependency Python script (stdlib only) that wraps all API calls.\n\n### Commands\n\n```bash\n# Generate an image (async — returns messageId immediately)\npython3 imaginepro_api.py imagine --prompt \"a sunset over mountains\" --model flux\n\n# Generate and wait for result (blocking — polls until done)\npython3 imaginepro_api.py wait --prompt \"a sunset over mountains\" --model flux\n\n# Check status of a generation\npython3 imaginepro_api.py status --id \u003CmessageId>\n\n# Upscale (Midjourney)\npython3 imaginepro_api.py upscale --id \u003CmessageId> --button U1\n\n# Upscale (Flux)\npython3 imaginepro_api.py upscale --image \"https:\u002F\u002Fexample.com\u002Fimg.jpg\" --scale 2\n\n# Remove background\npython3 imaginepro_api.py removebg --image \"https:\u002F\u002Fexample.com\u002Fphoto.jpg\"\n\n# Enhance a prompt\npython3 imaginepro_api.py enhance --prompt \"a cat\"\n\n# List available models\npython3 imaginepro_api.py models\n```\n\n### Flags\n\n- `--json` — Output raw JSON (default is human-readable)\n- `--timeout \u003Cseconds>` — Max wait time for `wait` command (default: 300)\n- `--interval \u003Cseconds>` — Polling interval for `wait` command (default: 5)\n\n## curl Examples\n\n```bash\n# Generate with Flux\ncurl -X POST https:\u002F\u002Fapi.imaginepro.ai\u002Fapi\u002Fv1\u002Fflux\u002Fimagine \\\n  -H \"Authorization: Bearer $IMAGINEPRO_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"prompt\": \"a cyberpunk cityscape at sunset\"}'\n\n# Check status\ncurl https:\u002F\u002Fapi.imaginepro.ai\u002Fapi\u002Fv1\u002Fmidjourney\u002Fmessage\u002F\u003CmessageId> \\\n  -H \"Authorization: Bearer $IMAGINEPRO_API_KEY\"\n\n# Enhance a prompt (free)\ncurl -X POST https:\u002F\u002Fapi.imaginepro.ai\u002Fapi\u002Fv1\u002Ftools\u002Fprompt-extend \\\n  -H \"Authorization: Bearer $IMAGINEPRO_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"prompt\": \"a cat\"}'\n```\n\n## Error Handling\n\nAPI errors return JSON with `message`, `error`, and `statusCode`:\n\n```json\n{\n  \"message\": \"Prompt is required.\",\n  \"error\": \"Bad Request\",\n  \"statusCode\": 400\n}\n```\n\nCommon error codes:\n- `400` — Missing required parameter or invalid value\n- `401` — Invalid or missing API key \u002F insufficient credits\n- `404` — Message not found\n- `500` — Internal server error (retry after a short delay)\n\n## Tips for AI Agents\n\n1. **Always use the `wait` command** for simple generation tasks — it handles the submit + poll loop automatically.\n2. **Check credits on the dashboard** at https:\u002F\u002Fplatform.imaginepro.ai\u002Fdashboard before large batches to avoid failures mid-way through. There is no API endpoint for checking credits.\n3. **Use `enhance` on short prompts** before generating — it's free and dramatically improves quality.\n4. **Midjourney supports prompt parameters** like `--ar 16:9 --style raw --chaos 20` directly in the prompt string.\n5. **For Nano Banana (virtual try-on, mockups)**, always provide reference image URLs in the `contents` array.\n6. **Poll interval:** 5 seconds is recommended. Don't poll faster than 3 seconds.\n7. **Timeouts:** Midjourney can take 30-120s. Video generation can take up to 15 minutes. Set timeouts accordingly.\n","# ImaginePro AI Image Generation API\n\nGenerate 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.\n\n## Quick Start\n\n```bash\n# Set your API key (get one at https:\u002F\u002Fplatform.imaginepro.ai\u002Fdashboard\u002Fsetup)\nexport IMAGINEPRO_API_KEY=\"your-api-key-here\"\n\n# Generate an image with Flux (fastest)\npython3 imaginepro_api.py wait --prompt \"a cyberpunk cityscape at sunset\" --model flux\n\n# Generate with Midjourney\npython3 imaginepro_api.py wait --prompt \"portrait of a warrior queen, cinematic lighting --ar 2:3\"\n\n# List available models and costs\npython3 imaginepro_api.py models\n```\n\n## Authentication\n\nAll requests require a Bearer token obtained from the ImaginePro Platform dashboard:\n\n1. Sign up at https:\u002F\u002Fplatform.imaginepro.ai\n2. Purchase credits from https:\u002F\u002Fplatform.imaginepro.ai\u002Fpricing\n3. Get your API key at https:\u002F\u002Fplatform.imaginepro.ai\u002Fdashboard\u002Fsetup\n4. Set the environment variable: `export IMAGINEPRO_API_KEY=\"your-key\"`\n\n**Base URL:** `https:\u002F\u002Fapi.imaginepro.ai\u002Fapi\u002Fv1`\n\n**Header:** `Authorization: Bearer \u003CIMAGINEPRO_API_KEY>`\n\n## Available Models\n\n| Model | Endpoint | Credits | Best For |\n|-------|----------|---------|----------|\n| Midjourney (alpha v6) | `\u002Fmidjourney\u002Fimagine` | 10 (fast) \u002F 5 (relax) | Artistic, photorealistic images |\n| Flux | `\u002Fflux\u002Fimagine` | 6 | Fast general-purpose generation |\n| Nano Banana | `\u002Funiversal\u002Fimagine` | 6 | Reference image + text (try-on, mockup, staging) |\n| Lumi Girl | `\u002Funiversal\u002Fzimage` | 6 | Character portraits, anime, stylized |\n| MJ Video | `\u002Fvideo\u002Fmj\u002Fgenerate` | 10 | Video generation from start\u002Fend frames |\n\n## API Reference\n\n### Image Generation\n\n#### POST `\u002Fmidjourney\u002Fimagine` — Midjourney Generation\n\nThe flagship model. Supports Midjourney parameters in the prompt string (e.g., `--ar 16:9`, `--style raw`, `--relax`).\n\n**Request:**\n```json\n{\n  \"prompt\": \"a majestic eagle soaring over mountains --ar 16:9\",\n  \"ref\": \"optional-tracking-id\",\n  \"webhookOverride\": \"https:\u002F\u002Fyour-server.com\u002Fwebhook\"\n}\n```\n\n- Append `--relax` to the prompt for relax mode (5 credits instead of 10, slower).\n- Supports all standard Midjourney prompt parameters: `--ar`, `--style`, `--chaos`, `--no`, `--seed`, `--q`, etc.\n\n**Response:**\n```json\n{\n  \"success\": true,\n  \"messageId\": \"uuid-of-the-generation-task\",\n  \"createdAt\": \"2026-01-15T12:00:00+00:00\"\n}\n```\n\n**Credits:** 10 (fast mode) \u002F 5 (relax mode)\n\n---\n\n#### POST `\u002Fflux\u002Fimagine` — Flux Generation\n\nFast, high-quality generation. Supports batch generation.\n\n**Request:**\n```json\n{\n  \"prompt\": \"a cozy cabin in the woods, watercolor style\",\n  \"n\": 1,\n  \"ref\": \"optional-tracking-id\",\n  \"webhookOverride\": \"https:\u002F\u002Fyour-server.com\u002Fwebhook\"\n}\n```\n\n- `n` (optional, default 1): Number of images to generate (credits multiply by n).\n\n**Response:**\n```json\n{\n  \"success\": true,\n  \"messageId\": \"uuid-of-the-generation-task\",\n  \"createdAt\": \"2026-01-15T12:00:00+00:00\"\n}\n```\n\n**Credits:** 6 per image\n\n---\n\n#### POST `\u002Funiversal\u002Fimagine` — Nano Banana (Reference Image Generation)\n\nMulti-modal generation using text + reference images. Ideal for virtual try-on, product mockups, interior staging, and style transfer.\n\n**Request:**\n```json\n{\n  \"contents\": [\n    { \"type\": \"text\", \"text\": \"Image creation: woman wearing this dress in a garden\" },\n    { \"type\": \"image\", \"url\": \"https:\u002F\u002Fexample.com\u002Fdress.jpg\" }\n  ],\n  \"model\": \"nano-banana-2\",\n  \"ref\": \"optional-tracking-id\",\n  \"webhookOverride\": \"https:\u002F\u002Fyour-server.com\u002Fwebhook\"\n}\n```\n\n- `contents`: Array of content items. First item should be `type: \"text\"` with the prompt prefixed by `\"Image creation: \"`. Subsequent items can be `type: \"image\"` with a `url` field for reference images.\n- `model`: Must be `\"nano-banana-2\"`.\n- Supports multiple reference images (e.g., a person photo + a garment photo for virtual try-on).\n\n**Response:**\n```json\n{\n  \"success\": true,\n  \"messageId\": \"uuid-of-the-generation-task\",\n  \"createdAt\": \"2026-01-15T12:00:00+00:00\"\n}\n```\n\n**Credits:** 6\n\n---\n\n#### POST `\u002Funiversal\u002Fzimage` — Lumi Girl\n\nSpecialized model for character portraits and stylized images. Supports aspect ratio via `--ar` in the prompt.\n\n**Request:**\n```json\n{\n  \"prompt\": \"anime girl with silver hair in a moonlit forest --ar 3:4\",\n  \"steps\": 4,\n  \"width\": 768,\n  \"height\": 1024,\n  \"ref\": \"optional-tracking-id\",\n  \"webhookOverride\": \"https:\u002F\u002Fyour-server.com\u002Fwebhook\"\n}\n```\n\n- `steps`: Always 4 (fixed).\n- `width` \u002F `height`: Max 1024 per dimension, must be divisible by 8. If `--ar W:H` is in the prompt, dimensions are auto-calculated from the ratio (max dimension = 1024).\n- Default: 1024x1024 if no aspect ratio specified.\n\n**Response:**\n```json\n{\n  \"success\": true,\n  \"messageId\": \"uuid-of-the-generation-task\",\n  \"createdAt\": \"2026-01-15T12:00:00+00:00\"\n}\n```\n\n**Credits:** 6\n\n---\n\n#### POST `\u002Fvideo\u002Fmj\u002Fgenerate` — MJ Video\n\nGenerate a video from start and end frame images.\n\n**Request:**\n```json\n{\n  \"prompt\": \"smooth camera pan with cinematic motion\",\n  \"startFrameUrl\": \"https:\u002F\u002Fexample.com\u002Fstart.jpg\",\n  \"endFrameUrl\": \"https:\u002F\u002Fexample.com\u002Fend.jpg\",\n  \"timeout\": 900,\n  \"ref\": \"optional-tracking-id\",\n  \"webhookOverride\": \"https:\u002F\u002Fyour-server.com\u002Fwebhook\"\n}\n```\n\n- `startFrameUrl` (required): URL of the starting frame image.\n- `endFrameUrl` (required): URL of the ending frame image.\n- `prompt` (optional, default \"smooth motion transition\"): Motion description.\n- `timeout` (optional, default 900): Max processing time in seconds.\n\n**Response:**\n```json\n{\n  \"success\": true,\n  \"messageId\": \"uuid-of-the-generation-task\",\n  \"createdAt\": \"2026-01-15T12:00:00+00:00\"\n}\n```\n\n**Credits:** 10\n\n---\n\n### Post-Processing\n\n#### POST `\u002Fmidjourney\u002Fbutton` — Midjourney Upscale \u002F Variant\n\nUpscale or create variants of Midjourney-generated images.\n\n**Request:**\n```json\n{\n  \"messageId\": \"original-task-message-id\",\n  \"button\": \"U1\",\n  \"ref\": \"optional-tracking-id\",\n  \"webhookOverride\": \"https:\u002F\u002Fyour-server.com\u002Fwebhook\"\n}\n```\n\n- `messageId`: The `messageId` (task ID) from the original Midjourney generation.\n- `button`: Action to perform. `U1`-`U4` for upscaling quadrants, `V1`-`V4` for variants.\n\n**Response:**\n```json\n{\n  \"success\": true,\n  \"messageId\": \"uuid-of-the-upscale-task\",\n  \"createdAt\": \"2026-01-15T12:00:00+00:00\"\n}\n```\n\n**Credits:** 5\n\n---\n\n#### POST `\u002Fflux\u002Fupscale` — Flux Upscale\n\nUpscale any image (not limited to Flux-generated).\n\n**Request:**\n```json\n{\n  \"image\": \"https:\u002F\u002Fexample.com\u002Fimage.jpg\",\n  \"scale\": 2,\n  \"ref\": \"optional-tracking-id\",\n  \"webhookOverride\": \"https:\u002F\u002Fyour-server.com\u002Fwebhook\"\n}\n```\n\n- `image` (required): URL of the image to upscale.\n- `scale` (required): Upscale factor, must be between 2 and 4 (inclusive).\n\n**Response:**\n```json\n{\n  \"success\": true,\n  \"messageId\": \"uuid-of-the-upscale-task\",\n  \"createdAt\": \"2026-01-15T12:00:00+00:00\"\n}\n```\n\n**Credits:** 2\n\n---\n\n#### POST `\u002Ftools\u002Fremove-bg` — Background Removal\n\nRemove the background from an image.\n\n**Request:**\n```json\n{\n  \"image\": \"https:\u002F\u002Fexample.com\u002Fphoto.jpg\",\n  \"ref\": \"optional-tracking-id\",\n  \"webhookOverride\": \"https:\u002F\u002Fyour-server.com\u002Fwebhook\"\n}\n```\n\n**Response:**\n```json\n{\n  \"success\": true,\n  \"messageId\": \"uuid-of-the-removebg-task\",\n  \"createdAt\": \"2026-01-15T12:00:00+00:00\"\n}\n```\n\n**Credits:** 5\n\n---\n\n#### POST `\u002Ftools\u002Fprompt-extend` — Prompt Enhancement (Free)\n\nExpand a short prompt into a detailed, high-quality prompt.\n\n**Request:**\n```json\n{\n  \"prompt\": \"a sunset\"\n}\n```\n\n**Response:**\n```json\n{\n  \"prompt\": \"a breathtaking sunset over the Pacific Ocean, golden hour light casting warm amber and coral tones across scattered cumulus clouds, silhouetted palm trees in the foreground...\"\n}\n```\n\n**Credits:** Free\n\n---\n\n### Status & History\n\n#### GET `\u002Fmidjourney\u002Fmessage\u002F{messageId}` — Check Generation Status\n\nPoll this endpoint to check the progress of any generation task (works for all models, not just Midjourney).\n\n**Response (in progress):**\n```json\n{\n  \"prompt\": \"a simple red circle on white background\",\n  \"status\": \"PROCESSING\",\n  \"progress\": 0,\n  \"messageId\": \"2346e0bc-c3c3-48ea-adec-3a21609fd288\",\n  \"createdAt\": \"2026-02-22T07:43:37+00:00\",\n  \"updatedAt\": \"2026-02-22T07:43:37+00:00\"\n}\n```\n\n**Response (completed):**\n```json\n{\n  \"prompt\": \"a simple red circle on white background\",\n  \"status\": \"DONE\",\n  \"images\": [\"https:\u002F\u002Fcdn-new.imaginepro.ai\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcdn\u002F2346e0bc-c3c3-48ea-adec-3a21609fd288.png\"],\n  \"uri\": \"https:\u002F\u002Fcdn-new.imaginepro.ai\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Fcdn\u002F2346e0bc-c3c3-48ea-adec-3a21609fd288.png\",\n  \"progress\": 100,\n  \"messageId\": \"2346e0bc-c3c3-48ea-adec-3a21609fd288\",\n  \"createdAt\": \"2026-02-22T07:43:37+00:00\",\n  \"updatedAt\": \"2026-02-22T07:43:49+00:00\"\n}\n```\n\n**Response (failed):**\n```json\n{\n  \"status\": \"FAIL\",\n  \"error\": \"Description of what went wrong\"\n}\n```\n\n**Statuses:** `SUBMITTED` → `PROCESSING` → `DONE` | `FAIL`\n\n**Credits:** Free (polling is free)\n\n---\n\n## Async Workflow\n\nAll generation endpoints are **asynchronous**. The workflow is:\n\n1. **Submit** a generation request → receive a `messageId`\n2. **Poll** `GET \u002Fmidjourney\u002Fmessage\u002F{messageId}` every 3-5 seconds\n3. Wait for `status` to be `DONE` (images ready) or `FAIL` (error)\n4. **Download** the result from the `uri` or `images` array\n\nThe helper script's `wait` command automates this entire flow.\n\n## Credit Cost Summary\n\n| Operation | Credits |\n|-----------|---------|\n| Midjourney Imagine (fast) | 10 |\n| Midjourney Imagine (relax) | 5 |\n| Midjourney Upscale\u002FVariant | 5 |\n| Flux Imagine | 6 per image |\n| Flux Upscale | 2 |\n| Nano Banana Imagine | 6 |\n| Lumi Girl Imagine | 6 |\n| MJ Video | 10 |\n| Background Removal | 5 |\n| Prompt Enhancement | Free |\n| Status Polling | Free |\n\n## Python Helper Script\n\nThe included `imaginepro_api.py` is a zero-dependency Python script (stdlib only) that wraps all API calls.\n\n### Commands\n\n```bash\n# Generate an image (async — returns messageId immediately)\npython3 imaginepro_api.py imagine --prompt \"a sunset over mountains\" --model flux\n\n# Generate and wait for result (blocking — polls until done)\npython3 imaginepro_api.py wait --prompt \"a sunset over mountains\" --model flux\n\n# Check status of a generation\npython3 imaginepro_api.py status --id \u003CmessageId>\n\n# Upscale (Midjourney)\npython3 imaginepro_api.py upscale --id \u003CmessageId> --button U1\n\n# Upscale (Flux)\npython3 imaginepro_api.py upscale --image \"https:\u002F\u002Fexample.com\u002Fimg.jpg\" --scale 2\n\n# Remove background\npython3 imaginepro_api.py removebg --image \"https:\u002F\u002Fexample.com\u002Fphoto.jpg\"\n\n# Enhance a prompt\npython3 imaginepro_api.py enhance --prompt \"a cat\"\n\n# List available models\npython3 imaginepro_api.py models\n```\n\n### Flags\n\n- `--json` — Output raw JSON (default is human-readable)\n- `--timeout \u003Cseconds>` — Max wait time for `wait` command (default: 300)\n- `--interval \u003Cseconds>` — Polling interval for `wait` command (default: 5)\n\n## curl Examples\n\n```bash\n# Generate with Flux\ncurl -X POST https:\u002F\u002Fapi.imaginepro.ai\u002Fapi\u002Fv1\u002Fflux\u002Fimagine \\\n  -H \"Authorization: Bearer $IMAGINEPRO_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"prompt\": \"a cyberpunk cityscape at sunset\"}'\n\n# Check status\ncurl https:\u002F\u002Fapi.imaginepro.ai\u002Fapi\u002Fv1\u002Fmidjourney\u002Fmessage\u002F\u003CmessageId> \\\n  -H \"Authorization: Bearer $IMAGINEPRO_API_KEY\"\n\n# Enhance a prompt (free)\ncurl -X POST https:\u002F\u002Fapi.imaginepro.ai\u002Fapi\u002Fv1\u002Ftools\u002Fprompt-extend \\\n  -H \"Authorization: Bearer $IMAGINEPRO_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"prompt\": \"a cat\"}'\n```\n\n## Error Handling\n\nAPI errors return JSON with `message`, `error`, and `statusCode`:\n\n```json\n{\n  \"message\": \"Prompt is required.\",\n  \"error\": \"Bad Request\",\n  \"statusCode\": 400\n}\n```\n\nCommon error codes:\n- `400` — Missing required parameter or invalid value\n- `401` — Invalid or missing API key \u002F insufficient credits\n- `404` — Message not found\n- `500` — Internal server error (retry after a short delay)\n\n## Tips for AI Agents\n\n1. **Always use the `wait` command** for simple generation tasks — it handles the submit + poll loop automatically.\n2. **Check credits on the dashboard** at https:\u002F\u002Fplatform.imaginepro.ai\u002Fdashboard before large batches to avoid failures mid-way through. There is no API endpoint for checking credits.\n3. **Use `enhance` on short prompts** before generating — it's free and dramatically improves quality.\n4. **Midjourney supports prompt parameters** like `--ar 16:9 --style raw --chaos 20` directly in the prompt string.\n5. **For Nano Banana (virtual try-on, mockups)**, always provide reference image URLs in the `contents` array.\n6. **Poll interval:** 5 seconds is recommended. Don't poll faster than 3 seconds.\n7. **Timeouts:** Midjourney can take 30-120s. Video generation can take up to 15 minutes. Set timeouts accordingly.\n",{"name":5,"version":24,"metadata":25,"description":7},"1.0.0",{"openclaw":26},{"emoji":27,"homepage":28,"requires":29,"primaryEnv":31},"🎨","https:\u002F\u002Fplatform.imaginepro.ai\u002Fai-agent-skill",{"env":30,"bins":32},[31],"IMAGINEPRO_API_KEY",[33,34],"python3","curl","main","f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db","skills\u002Fiamzifei\u002Fimaginepro-api",1,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-06-07 03:34:58",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add javimosch\u002Fopen-claw-skills --skill imaginepro-api",{"tool":50,"command":51},"bunx","bunx skills add javimosch\u002Fopen-claw-skills --skill imaginepro-api",{"tool":53,"command":54},"pnpm","pnpm dlx skills add javimosch\u002Fopen-claw-skills --skill imaginepro-api","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fiamzifei\u002Fimaginepro-api\u002FSKILL.md",true,[],[59,67,74,81,88,95],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":66},"01M778GGXG2VQ0YF31W2MKGMQZ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":66},"01M778G7BH8SBJ9FJ6C3G7CB1K","ceaser","Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir\u002FUltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":66},"01M778FYCJQZWFKKX5FYMK3S47","ceaser-send","Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir\u002FUltraHonk zero-knowledge proofs.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser-send\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":66},"01M778FQQNSEYA3HJKZBPQ4M9Z","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":66},"01M778FGVZX7QA2TF9BFMM37FY","moldium","Post and manage content on the Moldium blog platform. Triggered by \"post to Moldium\", \"write a blog post\", \"publish an article\", etc.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyom45\u002Fmoldium\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":66},"01M778F88D8PQ9MQ0KNW2TJ8ZH","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http:\u002F\u002Fweakaccept.top:8000\u002F.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[]]