Forusers who have not activated dreamina CLI / premium membershipand can only useJimeng web regular membercapabilities. This skillonly allowscalling the opencli jimeng subcommand, andforbidscalling dreamina or jimeng-cli-* execution-type skills.
The prompt is produced by jimeng-prompt-text2image ; this skill is only responsible for opencli execution and session management.
opencli jimeng command list
| Subcommand | Function | Key parameters / output |
|---|---|---|
generate <prompt> |
Text-to-image | --model、--wait、--workspace; list status、media_type、media_count、media_urls |
generate-image2image <prompt> |
Image-to-image | required --images(comma-separated paths, up to 10 images) |
history |
Recent works | --limit、--workspace、--type; list history_id、media_type、media_url etc. |
new |
Create workspace | --type; list workspace_id、workspace_url、type |
workspaces |
Workspace list | list workspace_id、name、is_pinned、updated_at |
user_credit |
Credit balance | list balance、vip_credit、gift_credit、purchase_credit |
user_subscription |
Membership info | list cur_vip_level、subscribe_type、end_time etc. |
user_assets |
Asset library tabs | --tab、--wait; list tab、item_count、request_url |
Common options (for each subcommand):-f/--format(table, plain, json, etc.),-v/--verbose. Strategy: Cookie + Browser, domain jimeng.jianying.com。
Prerequisites
- Installed
opencli, andopencli jimeng -hcan list the above four subcommands. - Chrome is logged in to Jimeng, and Browser Bridge is installed (consistent with opencli documentation).
- Before execution, use
opencli jimeng history --limit 1or open Jimeng in a browser to confirm you are not logged out.
Core workflow
1. PROMPT → jimeng-prompt-text2image 定稿并获用户确认
2. GEN → opencli jimeng generate "<prompt>" [--model ...] [--wait ...]
3. CHECK → 解析 status;timeout 时加大 --wait 或 history 对照
4. ORG → 可选 new / workspaces 管理会话
generate usage
opencli jimeng generate "一只在星空下的猫"
opencli jimeng generate "赛博朋克城市夜景" --model high_aes_general_v50 --wait 60
opencli jimeng generate "水墨山水" --format json
| Parameter | Description |
|---|---|
prompt |
Positional parameter, required |
--model |
Default high_aes_general_v50; optional high_aes_general_v42(4.6)、high_aes_general_v40(4.0) |
--wait |
Seconds to wait for image generation, default 40 |
status is success , get the link from media_urls ;timeout , add --wait or check history;failed , prompt to check login, credits (user_credit) or web compliance popup.
Auxiliary commands
opencli jimeng history --limit 10
opencli jimeng new
opencli jimeng workspaces
Division of labor with jimeng-cli-text2image
| User condition | Skill used |
|---|---|
| Only regular membership / no dreamina CLI | This skill(opencli only) |
dreamina CLI installed, can user_credit |
jimeng-cli-text2image |
Agent specifications
- Do not suggest installing
dreaminaor executingdreamina text2image。 - Do not use a shell
while trueinfinite loop; waiting is completed bygenerate --waitwithin the browser. - Do not rewrite the prompt within this skill.
Gotchas
generatefixedly opens thetype=imagetext-to-image page; does not include image-to-image or video parameters.--modelis based onopencli jimeng generate -h; if the web page has not switched models, the actual options on the page shall prevail.- Chinese prompts usually work better.
history'sstatusiscompleted/pending, which is different from thegenerate'ssuccess/timeoutfield; do not mix them up.