Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Generate images with Alibaba Cloud Model Studio Z-Image Turbo (z-image-turbo) via DashScope multimodal-generation API. Use when creating text-to-image outputs, controlling size/seed/prompt_extend, or documenting request/response mapping for Z-Image.
Generate images with Alibaba Cloud Model Studio Z-Image Turbo (z-image-turbo) via DashScope multimodal-generation API. Use when creating text-to-image outputs, controlling size/seed/prompt_extend, or documenting request/response mapping for Z-Image.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Use Z-Image Turbo for fast text-to-image generation via the DashScope multimodal-generation API.
Use ONLY this exact model string: z-image-turbo
Set DASHSCOPE_API_KEY in your environment, or add dashscope_api_key to ~/.alibabacloud/credentials (env takes precedence). Choose region endpoint (Beijing or Singapore). If unsure, pick the most reasonable region or ask the user.
prompt (string, required) size (string, optional) e.g. 1024*1024 seed (int, optional) prompt_extend (bool, optional; default false) base_url (string, optional) override API endpoint
image_url (string) width (int) height (int) prompt (string) rewritten_prompt (string, optional) reasoning (string, optional) request_id (string)
curl -sS 'https://dashscope.aliyuncs.com/api/v1/services/aigc/multimodal-generation/generation' \ -H 'Content-Type: application/json' \ -H "Authorization: Bearer $DASHSCOPE_API_KEY" \ -d '{ "model": "z-image-turbo", "input": { "messages": [ { "role": "user", "content": [{"text": "A calm lake at dawn, a lone angler casting a line, cinematic lighting"}] } ] }, "parameters": { "size": "1024*1024", "prompt_extend": false } }'
python skills/ai/image/alicloud-ai-image-zimage-turbo/scripts/generate_image.py \ --request '{"prompt":"a fishing scene at dawn, cinematic, realistic","size":"1024*1024"}' \ --output output/ai-image-zimage-turbo/images/fishing.png \ --print-response
Total pixels must be between 512*512 and 2048*2048. Prefer common sizes like 1024*1024, 1280*720, 1536*864.
prompt_extend=true is billed higher than false. Only enable when you need rewritten prompts.
Default output: output/ai-image-zimage-turbo/images/ Override base dir with OUTPUT_DIR.
mkdir -p output/alicloud-ai-image-zimage-turbo for f in skills/ai/image/alicloud-ai-image-zimage-turbo/scripts/*.py; do python3 -m py_compile "$f" done echo "py_compile_ok" > output/alicloud-ai-image-zimage-turbo/validate.txt Pass criteria: command exits 0 and output/alicloud-ai-image-zimage-turbo/validate.txt is generated.
Save artifacts, command outputs, and API response summaries under output/alicloud-ai-image-zimage-turbo/. Include key parameters (region/resource id/time range) in evidence files for reproducibility.
Confirm user intent, region, identifiers, and whether the operation is read-only or mutating. Run one minimal read-only query first to verify connectivity and permissions. Execute the target operation with explicit parameters and bounded scope. Verify results and save output/evidence files.
references/api_reference.md for request/response schema and regional endpoints. references/sources.md for official docs.
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.