aliyun-zimage-turbo
Z-Image Turbo enables fast text-to-image generation through Alibaba Cloud's DashScope multimodal API. Control output dimensions, randomization seed, and optional prompt enhancement while managing costs based on your feature selection.
Z-Image Turbo generates images from text prompts using Alibaba Cloud's DashScope API.
AI-generated summary based on this skill's SKILL.md
Install
cinience/alicloud-skills/aliyun-zimage-turbo · repository language: Python
git clone https://github.com/cinience/alicloud-skills
cp -r alicloud-skills/skills/ai/image/aliyun-zimage-turbo ~/.claude/skills/aliyun-zimage-turbonpx skillfed install cinience/alicloud-skills/aliyun-zimage-turboFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What is aliyun-zimage-turbo and how does it generate images?
aliyun-zimage-turbo enables fast text-to-image generation through Alibaba Cloud's DashScope multimodal API. It converts your text prompts into images using Alibaba's Z-Image Turbo model, allowing you to control output dimensions, randomization seed, and optional prompt enhancement while managing costs based on your feature selection.
How do I configure and authenticate with DashScope API for image generation?
To use aliyun-zimage-turbo, you need to set up authentication with the DashScope API using your Alibaba Cloud credentials. The skill handles API key authentication and regional endpoint configuration automatically, allowing you to start generating images once your DashScope account is properly configured with valid credentials.
What image parameters can I control with z-image turbo?
aliyun-zimage-turbo lets you control several key parameters: output image size (supporting dimensions like 1024), seed values for reproducible randomization, and prompt extension features. These controls allow you to fine-tune image generation to match your specific requirements and maintain consistency across multiple generations.
How can I integrate Z-Image Turbo into workflows for fast AI image creation?
aliyun-zimage-turbo integrates seamlessly into your workflows through the DashScope API, enabling rapid text-to-image synthesis. You can incorporate it into automation pipelines, batch processing systems, or real-time applications that require fast AI-powered image generation from text prompts.
What are the cost implications of using the prompt extend feature?
aliyun-zimage-turbo's prompt extend feature has specific billing implications. Costs vary based on whether you enable this optional enhancement. Review your DashScope billing settings to understand the pricing structure for prompt extension and manage your expenses accordingly.
What does the MIT license mean for aliyun-zimage-turbo?
aliyun-zimage-turbo is released under the MIT license, which permits free use, modification, and distribution for both commercial and private purposes, provided you include the original license notice in any copies or substantial portions of the software.
SKILL.md
rendered from the published skill — quoted content, verbatim
Category: provider
Model Studio Z-Image Turbo
Use Z-Image Turbo for fast text-to-image generation via the DashScope multimodal-generation API.
Critical model name
Use ONLY this exact model string:
- z-image-turbo
Prerequisites
- Set
DASHSCOPE_API_KEYin your environment, or adddashscope_api_keyto~/.alibabacloud/credentials(env takes precedence). - Choose region endpoint (Beijing or Singapore). If unsure, pick the most reasonable region or ask the user.
Normalized interface (image.generate)
Request
prompt(string, required)size(string, optional) e.g.1024*1024seed(int, optional)prompt_extend(bool, optional; default false)base_url(string, optional) override API endpoint
Response
image_url(string)width(int)height(int)prompt(string)-
rewritten_prompt(string, optional)
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 5 files
skills/ai/image/aliyun-zimage-turbo/SKILL.md
skills/ai/image/aliyun-zimage-turbo/agents/openai.yaml
skills/ai/image/aliyun-zimage-turbo/references/api_reference.md
skills/ai/image/aliyun-zimage-turbo/references/sources.md
skills/ai/image/aliyun-zimage-turbo/scripts/generate_image.py