← 返回 Skills 市场
neogeosnk

Google vertex image generator

作者 0YU · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ pending
36
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install vertex-image-adc
功能描述
Generate images via Google Cloud Vertex AI generateContent using Application Default Credentials (ADC).
使用说明 (SKILL.md)

Google Cloud Vertex AI Image Generator (ADC)

This skill utilizes the Google Cloud SDK (gcloud) and application credentials to call the Google Cloud Vertex AI generateContent API, generating images directly using model predictions.

Workflow

  1. Configure required environment variables or parameters:
    • GOOGLE_CLOUD_PROJECT: Your Google Cloud Project ID.
    • GOOGLE_CLOUD_LOCATION (Optional): Location/region (defaults to global).
    • GOOGLE_CLOUD_MODEL (Optional): Model name (defaults to gemini-3.1-flash-image-preview).
  2. Construct/save prompt to a local text file.
  3. Call the generation script.

Commands

Generate Image (Default ADC)

python3 {baseDir}/scripts/image_harness.py --prompt-file \x3Cprompt_path> --out \x3Coutput_path>

Advanced Usage

  • Specify custom project, location, and model:
python3 {baseDir}/scripts/image_harness.py --prompt-file \x3Cprompt_path> --out \x3Coutput_path> --project \x3Cproject_id> --location \x3Clocation> --model \x3Cmodel>
  • Use user-auth token instead of ADC:
python3 {baseDir}/scripts/image_harness.py --prompt-file \x3Cprompt_path> --out \x3Coutput_path> --auth-mode user-token

Setup & Requirements

  • Google Cloud SDK (gcloud CLI) installed and available in $PATH.
  • Active authentication token:
    • Default ADC mode: gcloud auth application-default login
    • User-token mode: gcloud auth login
  • The system must have curl installed to issue the API request.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install vertex-image-adc
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /vertex-image-adc 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of vertex-image-adc. - Generate images using Google Cloud Vertex AI's generateContent API with Application Default Credentials. - Supports configuring project, location, and model via environment variables or command-line options. - Includes both default ADC and user-auth modes for authentication. - Requires Google Cloud SDK (gcloud) and curl installed. - Provides command-line workflow and example usage for image generation.
元数据
Slug vertex-image-adc
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Google vertex image generator 是什么?

Generate images via Google Cloud Vertex AI generateContent using Application Default Credentials (ADC). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 36 次。

如何安装 Google vertex image generator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install vertex-image-adc」即可一键安装,无需额外配置。

Google vertex image generator 是免费的吗?

是的,Google vertex image generator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Google vertex image generator 支持哪些平台?

Google vertex image generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Google vertex image generator?

由 0YU(@neogeosnk)开发并维护,当前版本 v1.0.0。

💬 留言讨论