/install free-quota-image-skill
Free Quota Image Skill
\r
Overview\r
\r Use this skill to run a provider-agnostic text-to-image pipeline with free-quota-first routing, token rotation, and prompt enhancement. \r
Workflow\r
\r
- Load config from
{baseDir}/assets/config.example.yamlor user-provided config. - Resolve provider order (
--provider autofollowsrouting.provider_order). - Resolve model candidates per provider (
requested -> z-image-turbo -> provider default).\r - Prepare prompt for each attempt:\r
- optionally auto-translate for target models\r
- optionally optimize prompt with provider text model\r
- Execute generation request.\r
- On quota/auth failures, rotate token; if exhausted, move to next provider.\r
- Repeat the generation flow when
--count > 1, and rotate provider/token start position per image to spread load. - Return stable JSON output fields or direct URL output. \r
Commands\r
\r Install dependencies:
python -m pip install -r {baseDir}/scripts/requirements.txt
\r Run generation:\r \r
python {baseDir}/scripts/run_text2img.py --prompt "cinematic rainy tokyo alley" --json
\r Run with explicit provider/model:\r \r
python {baseDir}/scripts/run_text2img.py --prompt "a fox astronaut" --provider gitee --model flux-2 --json
\r Save image locally:\r \r
python {baseDir}/scripts/run_text2img.py --prompt "retro sci-fi city" --output ./out.png
Generate multiple images in one run:
python {baseDir}/scripts/run_text2img.py --prompt "anime passport portrait" --count 4 --json
\r
CLI contract\r
\r
Use {baseDir}/scripts/run_text2img.py with the fixed contract:
\r
--prompt(required)\r--provider(auto|huggingface|gitee|modelscope|a4f|openai_compatible, defaultauto)--model(defaultz-image-turbo)\r--aspect-ratio(default1:1)\r--seed(optional int)\r--steps(optional int)\r--guidance-scale(optional float)\r--enable-hd(flag)\r--optimize-prompt/--no-optimize-prompt(default on)\r--auto-translate/--no-auto-translate(default off)\r--config(default{baseDir}/assets/config.example.yaml)--output(optional output file path)--count(number of images in one run, default1)--json(structured output) \r
Output contract\r
\r
When --json is used, output these fields on success:\r
\r
id\rurl\rprovider\rmodel\rprompt_original\rprompt_final\rseed\rsteps\rguidance_scale\raspect_ratio\rfallback_chain\relapsed_ms\r \r On failure, output structured error fields: \rerror_type\rerror\rfallback_chain
When --count > 1, JSON output contains:
countimages(array of standard success payloads)elapsed_ms\r
References\r
\r Read only what is needed:\r \r
- Provider API wiring:
references/provider-endpoints.md - Model coverage and fallback:
references/model-matrix.md - Token rotation and date rules:
references/token-rotation-policy.md - Prompt optimization pipeline:
references/prompt-optimization-policy.md - OpenClaw setup details:
references/openclaw-integration.md\r
Scope boundaries\r
\r Keep this skill focused on text-to-image core only.\r \r Do not add image editing, video generation, or cloud storage workflows in this skill.\r
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install free-quota-image-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/free-quota-image-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
free quota text to image 是什么?
Generate images from text with a free-quota-first multi-provider workflow. Use this skill when a user asks for text-to-image generation that needs provider r... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 401 次。
如何安装 free quota text to image?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install free-quota-image-skill」即可一键安装,无需额外配置。
free quota text to image 是免费的吗?
是的,free quota text to image 完全免费(开源免费),可自由下载、安装和使用。
free quota text to image 支持哪些平台?
free quota text to image 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 free quota text to image?
由 ChiayenGu(@chiayengu)开发并维护,当前版本 v1.0.0。