upload_reference_image
Upload a local image for use as a reference in image generation. Automatically compresses large files and returns a public URL.
Instructions
Upload a local image for use as a reference in generate_image. Compresses large images (max 2MB, max 2048px) and returns a public URL. Call this when the user wants to use a local file as a reference image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to a local image file (JPEG, PNG, WebP, or GIF). The image will be automatically compressed if needed and uploaded for use as a reference image in generate_image. |