Use $remote-imagegen in Codex to generate or edit images through your configured OpenAI-compatible endpoint.
Tip: For more reliable triggering, mention
$remote-imagegen,OpenAI-compatible endpoint,custom base_url, orself-hosted providerdirectly in your prompt.
git clone https://github.com/stevenjinlong/remote-imagegen.git
cd remote-imagegen
python3 scripts/install_local.py --mode symlinkIf you prefer a copied install instead of a symlink:
python3 scripts/install_local.py --mode copyRestart Codex after installation.
Ask Codex with the skill name explicitly:
Use $remote-imagegen to generate a cute kitten portrait through my configured OpenAI-compatible endpoint.
Use $remote-imagegen to edit this image through my custom base_url and keep the same character design.
Use $remote-imagegen to generate 4 product shots through my self-hosted image endpoint.
If your Codex setup already points to a custom OpenAI-compatible base_url, the skill will send image generation to that provider instead of the built-in image path.
