imagegen
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, orhttps://maritimeai-resource.openai.azure.com/openai/v1/if unset. - API key:
AZURE_OPENAI_API_KEYis required. - Model/deployment:
AZURE_OPENAI_IMAGE_MODEL, orgpt-image-2if unset. - API version header:
AZURE_OPENAI_API_VERSION, orpreviewif 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
- Collect the prompt. If the prompt is missing, ask for it.
- Choose output settings. Default to
1024x1024,high,png, andn=1unless the user specifies otherwise. - Run the Node CLI from the skills workspace or with an absolute script path:
More from inforix/skills
notion-to-weixin
Fetch a Notion page by title, export to Markdown, convert Markdown to HTML with a user-provided CSS file, and create a Weixin draft via node-wxcli. Use when asked to publish Notion content into Weixin draftbox, or when moving Notion pages into Weixin draft as HTML.
26obsidian-to-weixin
Find an Obsidian note by title/path with obsidian-cli, keep note content as Markdown, upload note images to Weixin, and create a Weixin draft via node-wxcli from Markdown stdin. Use when publishing Obsidian notes into Weixin draftbox.
14shmtu-word-formatter
把文章按“上海海事大学党政公文格式”刷成 Word(.docx),或对已有 .docx 进行统一排版后保存。凡是用户提到“刷格式”“按公文格式排版”“生成 Word”“把这篇文章整理成正式公文格式”“这个 docx 帮我统一格式”时都应触发本技能。
4electronic-trusted-certificate
Use this skill whenever the user mentions 电子可信证明,成绩单,在读证明,绩点证明 electronic trusted certificates, student proof documents, enrollment or study-status certificates, transcript or degree verification, verification codes, or asks to use the SHMTU MCP server over HTTP. This skill probes the endpoint, initializes the MCP session, lists tools, and calls the right tool with bearer-token authentication without writing secrets into repo files.
1