generate_image_from_text
Generates images from user-provided text prompts using Google's Gemini model, turning written descriptions into visual content.
Instructions
Generate an image based on the given text prompt using Google's Gemini model.
Args: prompt: User's text prompt describing the desired image to generate output_image_path: Optional path to save the generated image. If not provided, uses default path.
Returns: Path to the generated image file using Gemini's image generation capabilities
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| output_image_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |