2.5k
GitHub Stars
4
Bundled Files
2 months ago
Catalog Refreshed
3 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill openclaw/skills --skill imaginepro-api- _meta.json302 B
- imaginepro_api.py20.5 KB
- SKILL.md12.9 KB
- TELEGRAM_ANNOUNCEMENT.md1.6 KB
Overview
This skill provides a Python wrapper for the ImaginePro image and video generation API, exposing Midjourney-style, Flux, Nano Banana, Lumi Girl and MJ Video models. It includes commands for async generation, polling, upscales, background removal and free prompt enhancement. The helper script is zero-dependency and automates submit → poll → download workflows for fast integration.
How this skill works
The script submits generation requests to ImaginePro endpoints and returns a messageId for asynchronous processing. It polls the status endpoint until DONE or FAIL, then downloads result URIs or image arrays. It also supports post-processing endpoints (upscale, variants, remove-bg) and a free prompt-enhancer to expand short prompts into detailed prompts.
When to use it
- Generate photorealistic or artistic images using Midjourney parameters in the prompt.
- Create fast general-purpose images or batch results with Flux.
- Produce reference-based results (virtual try-on, mockups) with Nano Banana using text + image URLs.
- Generate stylized character portraits with Lumi Girl.
- Create short videos from start/end frames using MJ Video.
Best practices
- Set IMAGINEPRO_API_KEY as an environment variable and verify credits on the dashboard before large batches.
- Use the provided wait command to handle async workflows instead of manual polling.
- Run prompt enhancement on short prompts (free) to improve output quality before generation.
- Respect recommended poll intervals (5s, not faster than 3s) and increase timeouts for video or slow Midjourney generations.
- Provide stable, public URLs for reference images when using Nano Banana and include clear prompts prefixed with "Image creation:" as required.
Example use cases
- Marketing teams batch-generate ad variants: use Flux for speed and upscales for final assets.
- E‑commerce virtual try-on: send garment image + model photo to Nano Banana for product mockups.
- Character design: generate multiple stylized portraits with Lumi Girl and use prompt-enhance to iterate ideas.
- Cinematic motion tests: supply start/end frames to MJ Video to produce short camera pans or transitions.
- Quick concept art: use Midjourney model with aspect ratio and style flags for large-format compositions.
FAQ
Set IMAGINEPRO_API_KEY, pick a model, then run the helper script with wait --prompt "your prompt" --model flux to submit and block until results are ready.
Are generation requests synchronous?
No. All generation endpoints are asynchronous: you get a messageId and must poll the status endpoint until status is DONE or FAIL; the wait command automates this.
Which model should I pick for speed vs quality?
Use Flux for fastest generation and general tasks, Midjourney (alpha v6) for the highest artistic/photoreal quality, and Nano Banana for multi-modal reference-based results.