image-gen
暂无简介
- License 许可
- MIT
- 所属仓库
- microsoft/Huabu
- 最近更新
- 2026-11-14
- Stars
- ★ 183
- Forks
- 25
02 资源文件 3
- 脚本entry.mjs5.3 KB
- 脚本entry.test.ts5.8 KB
- 参考文档service.yaml1.3 KB
03 SKILL.md 正文
Azure OpenAI Image Generation
Use this Service when the user asks you to generate an image through their configured Azure OpenAI image deployment.
entry.mjs is an executable starting point for basic prompt-to-image generation, not a complete provider SDK. With a compatible Node available in your environment, run node entry.mjs --help first to read the runtime options, current configured defaults, and Manifest-defined choices. Then run node entry.mjs --prompt "<prompt>" --quality <value> --output <path>, or use --prompt-file <path> for a file-backed prompt. It obtains the current Manifest and configuration through the Huabu Service SDK; never print or persist the supplied credentials, and send them only to the intended provider.
When the task needs image editing or another provider feature that the entry does not implement, read the Azure OpenAI image generation documentation, modify the local Package copy, and keep configuration retrieval through HUABU_SERVICE_SDK_URL. The daemon does not provide Node; without it, use the authenticated HTTP lease described by the root Space guide and your own HTTP client rather than invoking this JS entry.
The entry writes the generated image to the requested local path. Upload it through the existing Huabu RFS artifact workflow only when the user's task requires durable Space content.
04 同仓库更多 Skills
web-search
暂无简介
Update a user skill
Find an existing user skill and apply the requested change to its SKILL.md.
space
Space mental model (the infinite work surface), tool boundaries, and command reference. The single entry point for any agent operating on a Huabu Space.
Create a user skill
Create a new user skill at setting/skills/<id>/SKILL.md.
web-design-guidelines
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.