Media Tools (Free Image Generation)
Free image generation based on SiliconFlow Kolors. The API key is never stored in this skill.
Generate an Image
python3 scripts/generate.py "<prompt>" <output path.png> [size=1024x1024]
- Free, no watermark, rate limited to approximately 2 images per minute.
- If a model id returns "Model disabled", use the same key to list available models via
GET https://api.siliconflow.cn/v1/models.
Key
SILICONFLOW_API_KEY(SiliconFlow, free modelKwai-Kolors/Kolors). How to obtain: Register/Log in at siliconflow.cn → "API Keys" → Create a new key and copy it (Kolors is free).- Reads from environment variable first; otherwise reads from
~/.dsh/secrets/media-tools.envor~/.codex/secrets/media-tools.env(each lineKEY=value, permissions 600). - Never commit the key to a repository, write it into the skill, or paste it into a public file.
Privacy
- Generated assets are only written to the specified output path, never automatically synced to a public directory.
- Do not reproduce sensitive reference images or personal information in generated results without permission.