Task Router Skill
Task Router
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 routing (Hugging Face, Gitee, ModelScope, A4F, OpenAI-compatible private endpoints), token pooling with automatic rotation on quota/auth failures, public API fallback for Hugging Face, prompt optimization, model fallback, batch generation in one command, and structured generation outputs.
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install chiayengu/free-quota-image-skillUse this skill to run a provider-agnostic text-to-image pipeline with free-quota-first routing, token rotation, and prompt enhancement.
{baseDir}/assets/config.example.yaml or user-provided config.--provider auto follows routing.provider_order).requested -> z-image-turbo -> provider default).--count > 1, and rotate provider/token start position per image to spread load.Install dependencies:
python -m pip install -r {baseDir}/scripts/requirements.txt
Run generation:
python {baseDir}/scripts/run_text2img.py --prompt "cinematic rainy tokyo alley" --json
Run with explicit provider/model:
python {baseDir}/scripts/run_text2img.py --prompt "a fox astronaut" --provider gitee --model flux-2 --json
Save image locally:
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
Use {baseDir}/scripts/run_text2img.py with the fixed contract:
--prompt (required)--provider (auto|huggingface|gitee|modelscope|a4f|openai_compatible, default auto)--model (default z-image-turbo)--aspect-ratio (default 1:1)--seed (optional int)--steps (optional int)--guidance-scale (optional float)--enable-hd (flag)--optimize-prompt / --no-optimize-prompt (default on)...Task Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.