ProtectedInternalGenerates or edits image(s) using AI image generation models.
When SourceImage is provided, performs image-to-image editing (style transfer, transformation). When SourceImage is not provided, performs text-to-image generation.
The action parameters containing:
Generated or edited image(s) as base64 or URLs
Executes the action with the provided parameters.
The action execution parameters including context
Promise resolving to the action result
Action that generates images using AI image generation models (DALL-E, Gemini, etc.)
Example