imaginepro-api
iamzifei 제작
Coding Agents & IDEs요약
Generate AI images via ImaginePro API (Midjourney, Flux, Nano Banana, Lumi Girl, video)
설명
이 스킬이 하는 일
Wraps the ImaginePro API to generate images and videos using Midjourney, Flux, Nano Banana, and Lumi Girl models. Supports post-processing operations including upscaling, background removal, and prompt enhancement. All generation is asynchronous with built-in polling via a Python helper script.
Consolidates five distinct generation models and post-processing tools under a single API key and Python script, avoiding separate integrations for each provider.
사용 시점
- Generate product mockups with reference images using Nano Banana
- Create character portraits or anime-style art with Lumi Girl
- Upscale and variant Midjourney outputs for final delivery
- Remove backgrounds from product photos for e-commerce
- Generate short videos from two frame images with MJ Video
예시 워크플로
User asks: generate a cinematic portrait of a warrior queen in 2:3 aspect ratio and upscale the best result
- 1
Run
python3 imaginepro_api.py wait --prompt 'portrait of a warrior queen, cinematic lighting --ar 2:3' --model midjourneyto submit and poll until done - 2
Receive the messageId and image URL from the completed response
- 3
Run
python3 imaginepro_api.py upscale --id <messageId> --button U1to upscale the first quadrant - 4
Poll status with
python3 imaginepro_api.py status --id <upscaleMessageId>until DONE - 5
Return the final upscaled image URL to the user
High-resolution upscaled portrait image URL ready for download
요구 사항
- IMAGINEPRO_API_KEY environment variable
- ImaginePro account at platform.imaginepro.ai
- ImaginePro credits (purchased at platform.imaginepro.ai/pricing)
설치
clawhub install iamzifei/imaginepro-apiCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.