Edit Image By URL

This action edits an existing image by URL with an AI model based on the provided instructions.

Action Settings

Setting Description
Model Enum, required. The Model's resource name. This serves as an ID for the Model to use.
Prompt String, required. The user-provided text to process by the Model.
Aspect Ratio Enum, optional. The aspect ratio of the edited image.
Image Size Enum, optional. The size of the edited image.

Action Parameters

Parameter Description
ImageUrl String, required. The URL of the image to edit.
MimeType Enum, required. The MIME type of the image to edit.

Result

The result contains the following fields: Image_ResponseId, Image_BinaryContent, Image_FinishReason, Image_TotalTokenCount, Image_ModelVersion.