← ClaudeAtlas

openrouter-image-generatelisted

Generate images through OpenRouter's dedicated Image API. Use this skill whenever the user wants to create, render, generate, or save images with OpenRouter, including text-to-image, image-to-image/reference images, choosing OpenRouter image models, listing image models, setting resolution/aspect ratio/quality/output format, or passing provider-specific image options. Prefer the bundled Python script so API options are passed explicitly as command-line arguments instead of hand-written ad hoc curl requests.
Yuki001/game-dev-skills · ★ 65 · API & Backend · score 72
Install: claude install-skill Yuki001/game-dev-skills
# OpenRouter Image Generation Use this skill to generate images with OpenRouter's dedicated Image API and save the returned base64 image bytes to files. ## Default workflow 1. Use the OpenRouter API key from the current environment first. If it is missing, rely on the bundled script's automatic lookup of the nearest project `.env` file containing `OPENROUTER_API_KEY`, unless the user explicitly provides another environment variable name or env file path. 2. Pick a model from the user's request. If no model is specified, use `bytedance-seed/seedream-4.5` as a practical default and mention that the user can override it. 3. Use the bundled script at `scripts/openrouter_image_generate.py` rather than constructing requests manually. 4. Save generated images to a user-visible output directory, defaulting to the current working directory if the user did not specify one. 5. When the user or agent requires transparency, prefer a model/endpoint that supports native transparent output and pass `--background transparent` without `--remove-background`. 6. Use `--remove-background` only when the user or agent requires transparency and the selected model/endpoint does not support native transparent backgrounds. Follow the transparent-background workflow below; the flag assumes a chroma-key prompt and always processes final PNG/WebP outputs locally. 7. Do not print API keys. Do not put API keys directly on the command line because shell history may capture them. ## Bundled script Run fr