Smart Image Banana
Paste the following prompt into your AI chat to install this skill:
Install @ixhlink/ixhlink-skills-image-banana into your AI assistant by following https://skillhub.cn/install/skillhub.md.
About this skill
Problem
- Generic text-to-image APIs can be unstable when the image needs readable in-image text, consistent people or objects across references, or a high-resolution layout.
- This skill targets agent workflows: generate or edit an image first, then retrieve the returned
urlfor downstream processing. - It wraps
Nano Banana/ Gemini image generation with a fixedmodelandimage_generationcapability, reducing trial and error around model names and endpoint differences.
How it works
- Async job: submit
POST /api/v1/llm/invoke, take thetask_id, poll untilstatus = succeeded, then readdata.result.data[].url. - Reference editing: pass reference images through
imagesasurlorb64; state what to preserve and what to change inprompt, such as preserving facial features and outfit while changing the background. - Paid call: if the first request returns
402, complete WeChat Pay; retry with the same JSON body, carryingWeixinPay-RequiredandX-Payment-Id. - Output control: use
sizefor ratios like1:1,16:9, or9:16, or pixel values; specify exact in-image text and position inprompt.
Boundaries and notes
- Not a general illustration API: for ordinary images without special requirements, a more general
image-gencapability may be better. - Payment capability required: if the agent does not have
weixinpay, say paid creation is unavailable and stop. - Async timeout: poll every 2–5 seconds and time out around 3–5 minutes; inspect
error_messageon failure and do not invent upstream errors. - Quality checks: verify in-image text, multi-reference consistency, preserved regions in edits, and aspect-ratio fit.
Use Cases
- Create a poster where the main title, subtitle, and key points are rendered clearly in the image.
- Generate an image from one face reference and one outfit reference while keeping identity and clothing consistent.
- Edit an existing illustration background to a cyberpunk night scene while preserving face, clothing, and composition.
- Invoke an image-generation API from an agent, poll the async task, and return the image URL for display.
Best For
- Visual designers who need precise control over in-image text and layout in marketing posters.
- Operators who combine product photos, model photos, and scene references into consistent promotional images.
- Engineers who integrate a paid image-generation API into agent workflows and handle async results.
- Content operations staff creating e-commerce or social images while preserving person and outfit consistency.
Related Skills
Generate an interactive HTML product detail page from images and copy, with multi-product carousel, inline text editing, design controls, and PDF/JPG/PSD export support.
Enter a material name to get preview and download links for free, commercially usable video assets, with paid platform options, pricing, and search suggestions when results are limited.
Generate and validate JianYing drafts from storyboard JSON with narrated commentary, original-sound preservation, timing checks, and draft inspection.
Restyle a short video into a new visual style while preserving core elements such as characters, actions, and composition, suitable for various creative conversions like anime, illustration, ink wash, etc.