Appearance
Image Generation
Iris can generate images from text descriptions using OpenAI's GPT Image model. Ask for artwork, illustrations, diagrams, or any visual content.
Features
- Text-to-Image: Generate images from natural language
- Multiple Sizes: Square, landscape, or portrait
- High Quality: Uses GPT Image with high quality settings
- Inline Display: Images appear directly in chat
Setup
Image generation requires an OpenAI API key. Verify your .env includes:
bash
OPENAI_API_KEY=your-openai-keyThat's it - image generation is automatically available.
Usage
Simply ask Iris to create an image:
You: "Create an image of a sunset over mountains"
Iris: [generates and displays image]
"Here's a sunset over mountains. Would you like me to adjust anything?"
Being Specific
The more detail you provide, the better the results:
You: "Generate a watercolor painting of a cozy coffee shop with warm lighting, wooden furniture, plants on the windowsill, and a cat sleeping on a chair"
Style Guidance
Specify artistic styles:
- "Draw a minimalist line art portrait of a woman with flowing hair"
- "Create a pixel art scene of a forest at night with fireflies"
- "Make a photorealistic image of a modern kitchen with marble countertops"
Available Sizes
| Size | Orientation | Use Case |
|---|---|---|
1024x1024 | Square | General purpose, icons, avatars |
1536x1024 | Landscape | Scenes, backgrounds, banners |
1024x1536 | Portrait | Characters, posters, mobile wallpapers |
How It Works
- Request: Iris interprets your request and formulates a detailed prompt
- Generation: The prompt is sent to GPT Image
- Display: The image appears inline in the chat
- Storage: The image is stored as an attachment linked to the conversation
Prompt Enhancement
Iris often enhances your prompts for better results:
You: "Draw a cat"
Becomes: "A photorealistic image of a domestic cat with soft fur, sitting in natural lighting, detailed eyes, high quality"
You can override this by being very specific or asking for exactly what you described.