Introduction¶
When writing documents or designing in environments like Cursor and Claude Code, you often need to “generate an image from a paragraph of text” or “modify the style and add details to a reference image.” Connecting to the Volcano Engine Visual Intelligence Platform’s asynchronous tasks, polling for results, and downloading images yourself involves many steps and is prone to pitfalls with AK/SK and paths. Jimeng AI Image 4.6 wraps the Jimeng AI image generation 4.6 into a Skill: triggered by natural language in conversations, with underlying unified scripts handling submission and polling.
What This Is¶
Jimeng AI Image 4.6 (coordinate @user_393c9577/jimeng-image-gen-46) is a SkillHub community Skill, categorized under design-media, currently at version 1.0.1, maintained by publisher user_393c9577. It generates images through the Volcano Engine Visual Intelligence Platform, supporting text-to-image (text2img) and image-to-image (img2img), using asynchronous submission and polling to retrieve results. The SkillHub page marks requires_api_key=true, so you need to configure Volcano Engine access keys before use.
Core Features¶
The following capabilities are documented in the Skill’s SKILL.md.
- Text-to-Image (text2img): Generate images from prompts, with options for size presets or custom
WxH,--scale(text influence 1–100), and more. - Image-to-Image (img2img): Generate variants based on a reference image URL and prompt, suitable for style transfer and restoration tasks.
- Tasks and Results: Beyond automatic polling, provides
resultquery,downloadto save locally, andstatuscheck configurations. - Async Mode:
--asynconly submits the task and returns atask_id, useful for batch operations or custom polling control. - Agent Conversation: Official trigger words include “generate image,” “text2img,” “img2img,” “Jimeng,” “jimeng,” “illustration,” “picture,” etc. You can describe your needs directly in chat, and the Agent will call the scripts.
The default model identifier is jimeng_seedream46_cvtob; if 4.6 is unavailable, you can fall back to Jimeng AI 4.0 by setting the environment variable JIMENG_REQ_KEY=jimeng_t2i_v40.
Installation and Activation¶
Installing the Skill¶
The SkillHub page recommends installing this Skill according to the SkillHub installation documentation. First, check if the skillhub CLI is already available:
command -v skillhub && skillhub --version
If not installed, you can run the full installation (the recommended method in the documentation):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
When installing the Skill, you must use --dir to point to the current Agent’s skills directory. Otherwise, it defaults to ./skills/ and may not be recognized. Example:
skillhub install @user_393c9577/jimeng-image-gen-46 --dir ~/.cursor/skills/
Common paths for different clients (from the installation documentation): Cursor uses ~/.cursor/skills/; Claude Code uses ~/.claude/skills/; Codex uses ~/.codex/skills/ or .agents/skills/ within the project. Simply choose the directory that matches your actual environment.
You can also send the prompt to the AI: “Please install @user_393c9577/jimeng-image-gen-46 according to https://skillhub.cn/install/skillhub.md.”
Configuring Volcano Engine Keys¶
Set environment variables before use (do not paste plaintext keys in conversations):
export VOLC_ACCESS_KEY=your-ak-here
export VOLC_SECRET_KEY=your-sk-here
AK/SK retrieval: Volcano Engine Key Management. Enable relevant capabilities: Visual Intelligence Service Entry.
Optional environment variables include: JIMENG_REQ_KEY (model version), JIMENG_POLL_MAX / JIMENG_POLL_MS (polling), JIMENG_RETRY_MAX / JIMENG_RETRY_MS (retry and backoff). Default values are documented in the Skill’s SKILL.md.
Typical Usage¶
The core entry point is the Node script in the Skill directory. You need to run it from that directory or use an absolute path:
node scripts/jimeng.mjs <command> [options]
Text-to-Image¶
After submission, the script automatically polls (the documentation states that a single image typically takes about 10–60 seconds, and 2k/4k may take longer):
node scripts/jimeng.mjs text2img -p "Cyberpunk city nightscape, neon lights"
node scripts/jimeng.mjs text2img \
-p "A cat in a suit drinking coffee in a café, Ghibli style" \
-s "16:9" \
--scale 60
Size presets include 1:1, 3:4, 4:3, 9:16, 16:9, 2:3, 3:2, 21:9, 1k, 2k, 4k, and custom ratios like 2560x1440 are also supported.
Image-to-Image¶
The reference image must be a publicly accessible URL (local files need to be uploaded to object storage or an image hosting service first):
node scripts/jimeng.mjs img2img \
-p "Add Van Gogh's Starry Night style, oil painting texture" \
-i "https://example.com/my-photo.jpg" \
--scale 70
Using in Conversation¶
The official example flow: the user says “Help me generate a cyberpunk-style cat image, 16:9 size,” and the Agent runs text2img, waits for polling, and returns the image link. For image-to-image, you need to obtain an image URL first, then run img2img. For more detailed APIs and error codes, see references/api_reference.md in the Skill package; for troubleshooting, see FAQ.md.
The Skill also mentions compatibility with cloud-upload-backup (cloud upload), documentation Skills (illustrations), canvas-design (secondary design), etc. Specific details should follow the documentation of each respective Skill.
Use Cases and Notes¶
Suitable for: Quickly generating illustrations from text; creating style or detail variants from reference images; batch image generation in Agent workflows; chaining with other Skills for “writing + illustration.”
Notes:
- Depends on a Volcano Engine account with sufficient balance. You need to monitor costs through the console.
- The script retries on network fluctuations according to configuration, but authentication or parameter errors will not trigger retries.
- Image-to-image requires a publicly accessible image URL; local paths cannot be used directly as the
-iparameter. - SkillHub statistics (based on page scraping): rating 100000, downloads 974, tags include
requires_api_key=true.
Conclusion¶
Jimeng AI Image 4.6 wraps Jimeng 4.6’s text2img / img2img and asynchronous polling into an Agent-readable Skill, reducing the cost of manual integration. For installation and details, see SkillHub:
- Skill page: https://www.skillhub.cn/skills/user_393c9577/jimeng-image-gen-46
- API entry: https://api.skillhub.cn/user_393c9577/jimeng-image-gen-46