Actions9
- Audio Actions
- Document Actions
- Image Actions
- Text Actions
- Video Actions
Image → Edit Image
AI-generatedSummary
Edit one or more input images by sending them with an instruction prompt to a selected Google Vertex AI image editing model, and receive the edited images as binary output.
Inputs
- Project ID (required) — The Google Cloud Platform project ID.
- Model (required) — The ID of the Google Vertex AI image editing model to use, selectable from a searchable list or entered manually.
- Prompt — An instruction describing the desired edits to apply to the input images.
- Images (required) — One or more binary fields containing the input images to be edited. These must be supplied as binary data fields in the workflow input.
- Options — Additional options including 'Put Output in Field' specifying the output binary field name for the edited images (default 'edited').
Output shape
a list of items each containing a single binary file field with the edited image returned in the specified output field name
The output items correspond one-to-one with the input images provided. The response is from the Vertex AI API's generateContent method with image response modality. Throws an error if the response format is invalid or no image data is returned.