Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
zimage-skill - Skill - OpenSmartRoute
Skillv1.0.0
zimage-skill
Generate images using ModelScope Z-Image-Turbo API. Use when user asks to generate, create, or make images, pictures, or illustrations.
Imported from yizhiyanhua-ai/zimage-skill (SKILL.md). Install upstream with npx skills add yizhiyanhua-ai/zimage-skill. Copyright stays with the author.
Z-Image Generation
Generate images using ModelScope's Tongyi-MAI/Z-Image-Turbo model.
Optional: Set MODELSCOPE_API_KEY to use your own API key.
Examples
python3 ~/.claude/skills/zimage-skill/generate.py "A golden cat" cat.jpgpython3 ~/.claude/skills/zimage-skill/generate.py "Sunset over mountains"
Notes
Default output: result_image.jpg
Timeout: 120 seconds max
Supports Chinese and English prompts
Installed into a catalogue, chosen by a router
Install zimage-skill and it becomes one more candidate the router can pick - when it fits.
A listing is a routing target with a manifest: what it does, which domains it covers, what it costs and who publishes it. Once installed it sits beside your own models and tools, is scored like any other candidate for each request, and shows up in the trace when it wins. Ratings come from workspaces that installed it, one per account.
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slot
curl -s -X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.