@dhee_ai/runner-openrouter-image
v0.1.1
Published
OpenRouter image-generation runner for Dhee (the reference dhee-runner-* package).
Keywords
Readme
@dhee_ai/runner-openrouter-image
Apache-2.0, SDK-only Dhee runner for OpenRouter image generation.
This runner imports only @dhee_ai/runner-sdk from Dhee. It does not import
AGPL engine internals.
Configuration
Set these values in the environment of the Dhee process:
OPENROUTER_API_KEY=sk-or-...
OPENROUTER_IMAGE_MODEL=google/gemini-2.5-flash-image
OPENROUTER_HTTP_REFERER=
OPENROUTER_APP_TITLE=DheeThe model can also be set per node with runner.config.model; that value wins
over OPENROUTER_IMAGE_MODEL. Image generation should be treated as a paid API
path unless the selected model clearly documents a free tier.
Example node runner config:
{
"tool": "openrouter.image",
"config": {
"prompt": "A cinematic still of a rain-soaked neon street",
"model": "google/gemini-2.5-flash-image",
"aspectRatio": "16:9",
"size": "1K"
}
}The Dhee walker injects outputPath from the bundle output pattern before the
runner executes.
