/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
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install free-quota-image-skill - After installation, invoke the skill by name or use
/free-quota-image-skill - Provide required inputs per the skill's parameter spec and get structured output
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 401 downloads so far.
How do I install free quota text to image?
Run "/install free-quota-image-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is free quota text to image free?
Yes, free quota text to image is completely free (open-source). You can download, install and use it at no cost.
Which platforms does free quota text to image support?
free quota text to image is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created free quota text to image?
It is built and maintained by ChiayenGu (@chiayengu); the current version is v1.0.0.