设计与多媒体

Google vertex image generator

试用

Generate images via Google Cloud Vertex AI generateContent using Application Default Credentials (ADC).

它能做什么

Generate images via Google Cloud Vertex AI generateContent using Application Default Credentials (ADC).

技能文档

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.

Security & Privacy Notice

  • Process Execution: This skill invokes subprocess to orchestrate gcloud and curl for secure API interaction.
  • Privilege & Access: It requires access to your environment variables (for authentication context) and local file read/write permissions to handle image prompt files and generate the output assets.
  • Debug Artifacts: For error tracking and development transparency, full API responses may be written to the system-defined temporary directory. These artifacts are local to the machine running the skill.

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  --out 

Advanced Usage

  • Specify custom project, location, and model:
python3 {baseDir}/scripts/image_harness.py --prompt-file  --out  --project  --location  --model 
  • Use user-auth token instead of ADC:
python3 {baseDir}/scripts/image_harness.py --prompt-file  --out  --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.

相关技能

Generate videos via Google Cloud Vertex AI predictLongRunning (Veo) using Application Default Credentials (ADC).

3 次安装

Generate AI images via GoAI API. Use when the user asks to create, generate, draw, edit, render, or make images, pictures, illustrations, posters, avatars, p...

16 次安装

Build and execute skills.video image generation REST requests from OpenAPI specs. Use when user needs to create, debug, or document image generation calls on...

20 次安装

Create or revise document, PDF, web, or review images with the requested format, sharp raster output, and artifact validation.

14 次安装1 星标

Image generation and editing based on Google Gemini native image generation (Nano Banana).

1 次安装

Generate images from text with a free-quota-first multi-provider workflow. Use this skill when a user asks for text-to-image generation that needs provider r...

33 次安装