WorkRally Image Generation
Paste the following prompt into your AI chat to install this skill:
Please install @tencent-adm/workrally-image according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
When an Agent needs to turn a request into a deliverable image without exposing API keys, manually uploading references, assembling generation parameters, or handling payment callbacks, this skill wraps the WorkRally text-to-image and image-to-image flow into one predictable sequence: confirm intent, compile the prompt, complete payment, and poll the async result.
How It Works
- Intent detection: only image creation requests, such as posters, illustrations, avatars, or style edits; video intent belongs to
workrally-video. - Prompt compilation: before payment, preserve subject, count, copy, aspect, and prohibitions, then rewrite the request into a production brief instead of passing user wording verbatim.
- Reference input: supports local images converted to
data URIand WorkRallyresult_urlshort links; arbitrary external URLs or local paths are not accepted. - Payment and delivery: after
invokereturns402andWeixinPay-Required, hand the value to WeChat AI payment; then callcontentwith the samepayment_idand handlegenerating,delivered,refunded, and other statuses. - Result handoff: on success, show
result_url, state that the image is AI-generated, and download it locally when possible.
Boundaries And Notes
- Images use a fixed 1K cloud setting, one image per call, and callers cannot override
modelorresolution. - If WeChat AI payment capability is missing, stop the flow instead of bypassing payment.
failed/expiredstates cannot reuse the oldpayment_id;generatingcan retry with the samepayment_id.
Use Cases
- Generate a vertical campaign poster while keeping the specified product logo and copy.
- Restyle a local avatar reference into a cel-shaded anime look while preserving facial identity.
- Convert a product photo into an e-commerce white-background image while keeping package text.
- Change only the jacket color to dark green in an illustration without altering composition.
Best For
- E-commerce operations staff who need fast poster, avatar, and product images from campaign copy.
- Designers who edit clothing, style, or background from reference images while keeping the subject intact.
- Developers integrating text-to-image, image-to-image, and WeChat AI payment into Agent apps.
- Independent creators who produce wallpapers, illustrations, and logos for content series.
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.
A local CLI for Dreamina image and video generation, including credit checks, async submission, result queries, and task history review.
Generate and validate JianYing drafts from storyboard JSON with narrated commentary, original-sound preservation, timing checks, and draft inspection.