imagegen

Installation
SKILL.md

imagegen

Generate images through the Azure OpenAI-compatible image generation API and save the returned base64 image data to local files.

Defaults

  • Endpoint/base URL: AZURE_OPENAI_BASE_URL, or https://maritimeai-resource.openai.azure.com/openai/v1/ if unset.
  • API key: AZURE_OPENAI_API_KEY is required.
  • Model/deployment: AZURE_OPENAI_IMAGE_MODEL, or gpt-image-2 if unset.
  • API version header: AZURE_OPENAI_API_VERSION, or preview if unset.
  • Output directory: ./generated-images/ if the user does not specify a file path.

Never write API keys into files, command examples, logs, or final responses.

Standard Workflow

  1. Collect the prompt. If the prompt is missing, ask for it.
  2. Choose output settings. Default to 1024x1024, high, png, and n=1 unless the user specifies otherwise.
  3. Run the Node CLI from the skills workspace or with an absolute script path:
Related skills
Installs
1
Repository
inforix/skills
First Seen
Apr 26, 2026