Generate high-quality AI images using Volcengine's Jimeng 4.0 API with text prompts or image inputs.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionjimeng-api-image-genExecute the skills CLI command in your project's root directory to begin installation:
Fetches jimeng-api-image-gen from wvlvik/toy-skills and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate jimeng-api-image-gen. Access via /jimeng-api-image-gen in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
2
total installs
2
this week
1
GitHub stars
0
upvotes
Run in your terminal
2
installs
2
this week
1
stars
Generate high-quality AI images using Volcengine's Jimeng 4.0 API with text prompts or image inputs.
# ~/.zshrc or ~/.zshenv
export VOLC_ACCESSKEY="your_access_key_id"
export VOLC_SECRETKEY="your_secret_access_key"
After image generation succeeds, you MUST display the image directly to the user!
When generation completes, output in the following format:

**Generation Info:**
- Prompt: [User's original prompt]
- Size: [Image dimensions]
- Save Path: [Local file path, if applicable]

**Generation Info:**
- Prompt: Shiba Inu under cherry blossom tree, warm sunlight, healing art style
- Size: 2304 × 1728
- Save Path: /generated_images/[Generated Image] **important**
 to display images directly# Text-to-image
scripts/generate_image.py "A white Siamese cat sitting on a windowsill, sunlight streaming in"
# With specific size
scripts/generate_image.py "Mountain sunset landscape" --size 2K
# Image-to-image editing
scripts/generate_image.py "Change to watercolor style" --images https://example.com/input.jpg
# Save to file
scripts/generate_image.py "Serene lake at sunset" --output /generated_images/lake.png
| Parameter | Value | Description |
|---|---|---|
| Endpoint | https://visual.volcengineapi.com |
API base URL |
| Submit Action | CVSync2AsyncSubmitTask |
Submit async generation task |
| Query Action | CVSync2AsyncGetResult |
Query task result |
| Version | 2022-08-31 |
API version |
| Service | cv |
Service name for signing |
| Region | cn-north-1 |
Region for signing |
| req_key | jimeng_t2i_v40 |
Jimeng AI 4.0 model identifier |
| Preset | Resolution | Pixels |
|---|---|---|
| 1K | 1024×1024 | 1,048,576 |
| 2K | 2048×2048 | 4,194,304 (default) |
| 4K | 4096×4096 | 16,777,216 |
Use --width and --height together:
scripts/generate_image.py "prompt" --width 2560 --height 1440
Recommended aspect ratios:
Constraints:
scripts/generate_image.py PROMPT [OPTIONS]
Arguments:
PROMPT Text prompt for image generation (required, max 800 chars)
Options:
--size SIZE Image size: 1K, 2K, 4K or WxH (default: 2K)
--width WIDTH Exact width (requires --height)
--height HEIGHT Exact height (requires --width)
--images URL [...] Input image URLs for image-to-image (max 10)
--watermark Add "AI Generated" watermark
--scale FLOAT Text influence 0-1 (default: 0.5)
--force-single Force single image output
--output PATH Download image to file
--json Output raw JSON response
Environment Variables:
VOLC_ACCESSKEY Access Key ID (required)
VOLC_SECRETKEY Secret Access Key (required)
JIMENG_API_URL API endpoint (default: https://visual.volcengineapi.com)
JIMENG_API_TIMEOUT Request timeout seconds (default: 120)
JIMENG_POLL_INTERVAL Polling interval seconds (default: 2)
JIMENG_MAX_POLL_ATTEMPTS Max polling attempts (default: 60)
This skill uses Volcengine IAM v4 signature authentication (HMAC-SHA256). The signing process:
content-type;host;x-content-sha256;x-dateAuthorization header to requestReference: HTTP请求示例
| Code | Message | Description |
|---|---|---|
| 10000 | Success | Request successful |
| 50411 | Pre Img Risk Not Pass | Input image failed content check |
| 50511 | Post Img Risk Not Pass | Output image failed content check |
| 50412 | Text Risk Not Pass | Input text failed content check |
| 50413 | Post Text Risk Not Pass | Input text contains sensitive words |
| 50429 | Request Has Reached API Limit | Rate limit exceeded, retry later |
| 50500 | Internal Error | Server error |
| timeout | Request timeout | Increase JIMENG_API_TIMEOUT |
Input Images:
Output:
Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
aradotso/trending-skills
Leonxlnx/taste-skill
jwynia/agent-skills
mindrally/skills
github/awesome-copilot
kostja94/marketing-skills
Solid pick for teams standardizing on skills: jimeng-api-image-gen is focused, and the summary matches what you get after install.
We added jimeng-api-image-gen from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
Solid pick for teams standardizing on skills: jimeng-api-image-gen is focused, and the summary matches what you get after install.
I recommend jimeng-api-image-gen for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
We added jimeng-api-image-gen from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
Keeps context tight: jimeng-api-image-gen is the kind of skill you can hand to a new teammate without a long onboarding doc.
We added jimeng-api-image-gen from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
jimeng-api-image-gen reduced setup friction for our internal harness; good balance of opinion and flexibility.
Solid pick for teams standardizing on skills: jimeng-api-image-gen is focused, and the summary matches what you get after install.
jimeng-api-image-gen has been reliable in day-to-day use. Documentation quality is above average for community skills.
showing 1-10 of 36