mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-27 13:29:15 +07:00
* 🔖 chore(release): release version v2.1.34 [skip ci] * 📝 docs: Polish documents * 📝 docs: Fix typo * 📝 docs: Update start * 📝 docs: Fix style * 📝 docs: Update start * 📝 docs: Update layout * 📝 docs: Fix typo * 📝 docs: Fix typo --------- Co-authored-by: lobehubbot <i@lobehub.com>
118 lines
5.0 KiB
Plaintext
118 lines
5.0 KiB
Plaintext
---
|
||
title: Image Generation
|
||
description: >-
|
||
Create high-quality images from text descriptions using AI models like DALL-E
|
||
3, Flux, and more. Learn how to write effective prompts and choose the right
|
||
model.
|
||
tags:
|
||
- LobeHub
|
||
- Image Generation
|
||
- AI Drawing
|
||
- DALL-E
|
||
- Text to Image
|
||
- Prompt Writing
|
||
---
|
||
|
||
# Image Generation
|
||
|
||
Describe what you want — LobeHub turns text into images. Product prototypes, design inspiration, illustrations, or creative exploration: choose a model, set your parameters, and get high-quality images in seconds. All generated images are automatically saved to your Resource Library.
|
||
|
||
## Get Started
|
||
|
||
Click **Drawing** on the LobeHub main interface to open the image generation page.
|
||
|
||
## Enter a Prompt
|
||
|
||
Describe the image you want in the input box. The more specific your description, the more accurate the result.
|
||
|
||
**Effective prompt structure:**
|
||
|
||
```
|
||
[Subject] [Style/Medium] [Setting/Background] [Lighting] [Mood] [Technical details]
|
||
```
|
||
|
||
Examples:
|
||
|
||
```
|
||
"A futuristic city skyline at sunset, digital art, cyberpunk style, neon lights reflecting on wet streets, cinematic lighting, 4K detail"
|
||
|
||
"A cozy coffee shop interior, watercolor illustration, warm golden light streaming through windows, potted plants on windowsills, soft and inviting atmosphere"
|
||
|
||
"A product photo of a minimalist leather wallet on a clean white background, studio lighting, sharp focus, commercial photography style"
|
||
```
|
||
|
||
**Prompt tips:**
|
||
|
||
- **Be specific about style** — "oil painting", "watercolor", "digital art", "photorealistic", "anime", "vector illustration"
|
||
- **Describe lighting** — "dramatic shadows", "soft diffused light", "golden hour", "studio lighting"
|
||
- **Specify composition** — "portrait view", "wide angle", "close-up", "bird's eye view"
|
||
- **Add quality modifiers** — "high detail", "4K", "sharp focus", "professional quality"
|
||
- **Avoid vagueness** — "beautiful", "nice", "good" add little — describe what you actually want
|
||
|
||
## Choose an AI Model
|
||
|
||
LobeHub offers multiple AI image generation models. Different models have different strengths:
|
||
|
||

|
||
|
||
| Model | Best For |
|
||
| -------------------- | ------------------------------------------------------------- |
|
||
| **DALL-E 3** | Realistic photos, illustrations, following prompts accurately |
|
||
| **Flux** | Artistic styles, creative images, fast generation |
|
||
| **Stable Diffusion** | Highly customizable, community styles and fine-tuned models |
|
||
| **fal.ai models** | Various specialized styles and fast generation |
|
||
|
||
Try different models with the same prompt to see which gives the best results for your use case.
|
||
|
||
## Select Reference Images (Optional)
|
||
|
||
If you have reference images, upload them to guide the generation process. Click the upload button or drag and drop your reference images directly. You can upload multiple reference images.
|
||
|
||

|
||
|
||
Reference images help the model understand your desired style, composition, or color palette.
|
||
|
||
## Choose Image Aspect Ratio
|
||
|
||
Select an aspect ratio based on your intended use:
|
||
|
||
- **1:1** — Social media posts, profile pictures
|
||
- **16:9** — Widescreen, presentations, banners
|
||
- **9:16** — Mobile screens, stories, reels
|
||
- **4:3** — General use, older display formats
|
||
- **3:2** — Photography standard, prints
|
||
|
||
## Set Number of Images
|
||
|
||
Choose how many images to generate in one go. Generating multiple images at once gives you variations to choose from. Start with 2–4 to find the best result.
|
||
|
||
## View and Download Images
|
||
|
||
Once generated, images appear on the drawing page. You can:
|
||
|
||
- Preview any image at full size by clicking it
|
||
- Select favorites and download them
|
||
- Share directly from the image viewer
|
||
|
||
All generated images are automatically saved to your Resource Library.
|
||
|
||

|
||
|
||
## Tips for Better Results
|
||
|
||
**Iterate on prompts** — If the first result isn't quite right, adjust one element at a time rather than rewriting the whole prompt. Add more detail, change the style descriptor, or specify what you don't want.
|
||
|
||
**Use a reference image** — Uploading a reference image with your prompt helps the model match your intended style, color palette, or composition.
|
||
|
||
**Try multiple variations** — Generate 4+ images at once and pick the best one. AI image generation has inherent randomness — some variations will be significantly better than others.
|
||
|
||
**Match model to task** — Use photorealistic models (DALL-E 3, Flux) for product photos and realistic scenes; use style-focused models for artistic illustrations.
|
||
|
||
<Cards>
|
||
<Card href={'/docs/usage/getting-started/resource'} title={'Resource Library'} />
|
||
|
||
<Card href={'/docs/usage/getting-started/vision'} title={'Vision & Image Understanding'} />
|
||
|
||
<Card href={'/docs/usage/providers'} title={'AI Providers'} />
|
||
</Cards>
|