Skip to main content

Overview

Tool identifier image_generate. image_generate generates images from text. For image-to-image editing, see image_edit. Import path: from veadk.tools.builtin_tools.image_generate import image_generate

Environment & prerequisites

Requirements:
  1. Configure the API key for the agent’s reasoning model.
  2. Configure the image-generation model name (MODEL_IMAGE_NAME).
Environment variables:
  • MODEL_AGENT_API_KEY: API key for the agent’s reasoning model
  • MODEL_IMAGE_NAME: image-generation model name
config.yaml keys:
config.yaml

Usage

examples/tools/image_generate/agent.py

Notes

image_generate is the canonical import name. from veadk.tools.builtin_tools.generate_image import image_generate still works, but the generate_image module is deprecated — use image_generate instead.
Last modified on September 19, 2026