docs/usage/getting-started/image-generation.mdx
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.
Click Drawing on the LobeHub main interface to open the image generation page.
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:
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.
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.
Select an aspect ratio based on your intended use:
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.
Once generated, images appear on the drawing page. You can:
All generated images are automatically saved to your Resource Library.
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>