Image Generation & Editing
Create stunning images and edit existing ones using AI-powered tools. Bike4Mind integrates multiple image generation providers to give you flexibility and creative control.
Generating Images
How to Generate
Using the Model Picker:
- Click the model picker in the chat input area
- Select Image Models from the dropdown filter
- Choose an image model (e.g., FLUX Pro 1.1, GPT-Image-1)
- Type a description of the image you want
- Press Enter to generate
Once the model generates your image, you can view, download, or edit the result.
Available Models
OpenAI (DALL-E / GPT-Image)
- GPT-Image-1: Latest OpenAI image generation
- Quality options: Standard or HD
- Sizes: 1024x1024, 1024x1536, 1536x1024
Flux (Black Forest Labs)
- FLUX Pro 1.1: Professional quality standard generation
- FLUX Pro Ultra: Premium quality with custom aspect ratios
- FLUX Kontext: Transform existing images based on prompts
- FLUX.2 Max, Pro, Pro (Preview), and Flex: Generate images or transform attached images with up to eight input images in total
- FLUX.2 Klein 9B, Klein 9B (Preview), and Klein 4B: Smaller models with up to four input images in total
- FLUX 3 Image and FLUX 3 Image Klein: Generate images or transform attached images with up to ten input images in total
To use FLUX.2 or FLUX 3 references, attach images to your current message, select one of those models, and describe the result. The first attached image and every additional reference count toward the model's total input limit. These transformations use image generation; masked editing uses the separate image editing model. FLUX.2 Klein and FLUX 3 models do not offer prompt upsampling, and FLUX 3 Image does not take a seed or an output format, so those settings have no effect on it.
Generation Settings
| Setting | Description |
|---|---|
| Quality | Standard or HD (affects detail and credits) |
| Size/Aspect Ratio | Choose dimensions for your image |
| Number of Images | Generate 1-4 images per request |
| Safety Level | Content moderation sensitivity (Flux models) |
Editing Images
Inpainting (Edit Parts of an Image)
Edit specific areas of an existing image while keeping the rest intact:
- Click Edit on any generated image
- Use the brush tool to paint over areas you want to change
- Describe what you want in those areas
- Click Generate to apply the edit
Image-to-Image Transformation
Transform an entire image based on a new prompt:
- Upload or select an existing image
- Describe how you want it transformed
- The AI will create a new version based on your description
Masking Tools
- Brush size: Adjust from 1-100 pixels
- Undo/Redo: Fix mistakes easily
- Clear mask: Start over if needed
- Preview: See your mask before generating
Working with Generated Images
Image Actions
Every generated image includes these options:
| Action | Description |
|---|---|
| Download | Save to your device |
| Copy | Copy to clipboard |
| Edit | Open in the image editor |
| Zoom | View at full resolution |
| Gallery | Browse multiple images |
Image Gallery
When multiple images are generated:
- Use arrow keys or buttons to navigate
- Click thumbnails for quick selection
- Download individual or all images
Tips for Better Results
Writing Effective Prompts
- Be specific: "A golden retriever playing in autumn leaves at sunset" works better than "a dog"
- Include style: Mention artistic styles like "watercolor," "photorealistic," or "digital art"
- Describe composition: Specify "close-up," "wide shot," or "from above"
- Add atmosphere: Include lighting, mood, and environment details
Common Prompt Elements
- Subject: What's the main focus?
- Style: Photorealistic, cartoon, oil painting, etc.
- Lighting: Dramatic, soft, golden hour, studio
- Mood: Peaceful, energetic, mysterious
- Details: Colors, textures, specific features
Credit Usage
Image generation uses credits based on:
- Model: Different models have different costs
- Quality: HD images cost more than standard
- Size: Larger images use more credits
- Quantity: Each image in a batch counts separately
The Image Generation row in Tools and the image model picker show the selected model and an estimated credits-per-image at your saved settings before you send. Free self-hosted models show as Free.
FLUX.2 uses a flat credit charge per generated image at the model's first-megapixel rate. Larger outputs and reference images do not increase that charge. This is a product price, rather than a quote of the provider's full megapixel cost.
FLUX 3 also uses a flat credit charge per generated image, set at the price of the provider tier that covers the largest size you can pick. Smaller sizes do not reduce that charge.
Check your credit balance in Profile > Credit Analytics.
Troubleshooting
Image Not Generating
- Make sure you have an image model selected (use the model picker and filter by Image Models)
- Check you have sufficient credits
- Verify you have API keys configured for the image provider (OpenAI or Black Forest Labs)
- Try a simpler prompt first
Too Many FLUX.2 or FLUX 3 Inputs
Count the primary image and additional references together: FLUX.2 Max, Pro, and Flex accept eight inputs; FLUX.2 Klein accepts four; FLUX 3 Image and FLUX 3 Image Klein accept ten. A continued conversation may carry forward its previous image as the primary. Remove references or start a fresh request if the generation reports that the total is too high.
Poor Quality Results
- Add more detail to your prompt
- Try a different model
- Use HD quality setting
- Specify the style you want
Edit Not Working as Expected
- Make sure your mask covers the right areas
- Be specific about what should appear in masked areas
- Try a smaller edit area first
Related Features
- Notebooks - Where images are generated
- Artifacts - Save images as artifacts
- Knowledge Management - Organize generated images
FLUX 3 region edits through the API
POST /api/v1/image-edits supports up to eight regions on flux-3-image and flux-3-image-klein. Each region has its own instruction and a normalized bounding box in vertical-first order: [y_min, x_min, y_max, x_max].
For example, this request targets the top part of an existing image:
{
"model": "flux-3-image-klein",
"sessionId": "<notebook-id>",
"image": "https://example.com/source.png",
"fabFileIds": [],
"prompt": "Replace the selected sky with a starry night",
"edit_regions": [{ "prompt": "A clear night sky filled with stars", "bbox": [0, 0, 0.4, 1] }]
}
Use a source image URL the service can fetch and your notebook's ID. These models take no mask: omit fabFileIds or send an empty array. Up to nine referenceImageFabFileIds may accompany the source. Without edit_regions, the same models support ordinary prompt-based editing.
Coordinates must be between 0 and 1, with each minimum below its maximum. They are rounded to the provider's 0–1000 grid; a box that collapses on that grid is rejected. Invalid boxes or more than eight regions return 422. Regions supplied to another model, or a mask supplied to FLUX 3, return 400. The response is a queued quest; poll it until it completes to retrieve the edited image.
Region selection is currently an API capability. The chat's paint-mask editor continues to use its existing editing models.