Jimeng Text-to-Image
Paste the following prompt into your AI chat to install this skill:
Please install @user_f95f21b8/dlazy-jimeng-t2i according to https://skillhub.cn/install/skillhub.md.
About this skill
What It Solves
When you need text-to-image generation from a prompt, but do not want to assemble HTTP calls, handle authentication, upload assets, or poll async jobs manually, jimeng t2i gives an engineer-oriented CLI entry point. It reduces image generation to a repeatable flow: provide a prompt and parameters, then receive an output URL or an async task state. That makes it easier to embed in scripts or agent pipelines.
How It Works
The skill is a thin client over the hosted dLazy API, with Jimeng as the image model. The usual flow is:
- Configure a dLazy API Key; it can be stored locally or supplied per invocation.
- Run dlazy jimeng-t2i and send the prompt and generation parameters to api.dlazy.com.
- If local file paths are supplied, the CLI uploads them to files.dlazy.com so the model can read them.
- Synchronous calls return image URLs; with --no-wait, the response includes generateId and status, which can be polled until completion.
It also supports pipe-style references, allowing values from upstream outputs to be passed into later steps.
Boundaries and Notes
This skill depends on a cloud SaaS service and does not run local inference. A valid dLazy API Key is required, and you should account for balance, organization permissions, and service terms. Errors may be caused by unsafe prompts, missing parameters, unreadable files, service failures, or async execution failures. Generated assets and uploads flow through dLazy endpoints and media storage, so sensitive content should follow the platform's compliance requirements.
Use Cases
- Generate first visual drafts from product copy in a script by calling `dlazy jimeng-t2i` and returning image URLs.
- Pass prompts and parameters in a pipeline, use `--no-wait` to get a `generateId`, then poll task status.
- Detect `unauthorized` or `insufficient_balance` in an agent task and prompt the user to set an API key or recharge.
- Upload local file paths through the CLI to dLazy media storage before Jimeng reads them for image generation.
Best For
- Product designers who need to turn marketing copy into quick visual first drafts.
- Backend engineers who need to call a text-to-image API from scripts or services.
- Automation engineers who need to poll async jobs and handle balance errors.
- Application developers who need to wire prompts into agent workflows.
Related Skills
Generate an interactive HTML product detail page from images and copy, with multi-product carousel, inline text editing, design controls, and PDF/JPG/PSD export support.
Enter a material name to get preview and download links for free, commercially usable video assets, with paid platform options, pricing, and search suggestions when results are limited.
A local CLI for Dreamina image and video generation, including credit checks, async submission, result queries, and task history review.
An AI-guided workflow for Chinese video dubbing and subtitles that configures iFlytek or edge-tts, splits audio, generates SRT, and composes the final video.