AI: Generate and insert image using DallE
When triggered:
- Prompts you for an image description
- Sends the prompt to DALL-E to generate an image
- Uploads the generated image to your space
- Inserts the image at the cursor with a caption
Requirements
You must have an image model configured. See Image Models for setup.
Example
Running the command and entering "A cozy coffee shop on a rainy day, watercolor style" will:
- Generate an image matching that description
- Upload it as an attachment (e.g.,
dalle-image-123.png) - Insert markdown like:
