Visual AIDocs

Training Custom Models

Learn how to train custom AI models with your brand style and use them for consistent visual generation

What is a Custom Model?

A custom model allows you to train the AI to generate images in your specific brand style, visual format, or design pattern. By providing example images and descriptions, the AI learns to replicate your unique style for consistent visual generation across all your content.

Step 1: Create a Custom Model

Start by creating a new custom model in your dashboard.

  1. Go to DashboardTrain Model
  2. Click Create New Model button
  3. Enter Model Name (e.g., 'my-brand-style', 'company-social-posts')
  4. Add Description explaining what this model is for
  5. Select Brand Colors (optional but recommended)
  6. Click Create Model

Note: Your model will be created with 'Draft' status and will be ready to receive training pairs.

Step 2: Add Training Pairs

Training pairs are the heart of your custom model. Each pair consists of a text description and a reference image that shows your desired style.

Recommendation: Add at least 5 training pairs for good results. More pairs (10-15) will improve consistency and quality.

What is a Training Pair?

A training pair teaches the AI by example. It consists of two parts:

  • Text Description: A clear description of what the image represents (e.g., 'Product launch banner with blue gradient and centered white text')
  • Reference Image: An actual image showing exactly that style and layout

How to Add Training Pairs

  1. Select your created model from the list
  2. Click Add Training Pair button
  3. Enter Text Description - be specific and detailed
  4. Click Upload Image to select your reference image
  5. Choose Image Type category (infographic, photo, social post, etc.)
  6. Click Add Pair to save
  7. Repeat this process to add 5-10 training pairs

Training Pair Examples

Here are examples of effective training pairs:

Text DescriptionImage TypeWhat AI Learns
Product banner with blue gradient background and centered textBanner/HeaderLayout composition, color scheme, text placement
Social media post with brand colors and minimal designSocial PostMinimalist style, brand color usage, social format
Infographic with icons and data visualization in company styleInfographicIcon style, data presentation, visual hierarchy
Marketing email header with product photo and call-to-actionEmail TemplateEmail format, CTA placement, product photography style

Step 3: Train the Model

Once you have added sufficient training pairs, you can start the training process.

  1. Ensure you have at least 3 training pairs (5-10 recommended)
  2. Click the Start Training button on your model
  3. Wait for the training process to complete
  4. Monitor the progress bar as it trains
  5. Status will change: Draft → Training → Completed

Note: Training typically takes a few minutes. You can continue using the dashboard while training is in progress.

Step 4: Use Your Custom Model

Once training is complete, your custom model is ready to use in multiple ways.

Method 1: Dashboard Interface

  1. Go to DashboardCreate Visual
  2. Scroll to Choose Visual Style section
  3. Your custom model appears with a brain icon (🧠)
  4. Click to select your custom model
  5. Enter your prompt describing what you want
  6. Click Generate to create image in your trained style

Method 2: API Integration

Use your custom model programmatically via API

bash
curl -X POST https://yourapp.com/api/v1/generate \
  -H "Authorization: Bearer your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Create a marketing banner",
    "model": "my-brand-style"
  }'

How It Works Behind the Scenes

Understanding the training and generation process helps you create better models.

1

Training Data Collection

Your training pairs (text + images) are stored and analyzed

2

AI Analysis

The AI analyzes your examples to identify: visual patterns, color schemes, layout styles, content themes, and design elements

3

Style Learning

The system learns your unique visual language and brand identity

4

Generation

When you generate: Your prompt + Learned style = Consistent brand visuals

  • Visual Style: Colors, gradients, textures, and visual effects
  • Layout Patterns: Text placement, composition, and spatial arrangement
  • Design Elements: Icons, shapes, typography style, and graphic elements
  • Content Format: Infographic, banner, post, presentation, or custom format
  • Brand Consistency: Your unique visual identity and brand guidelines

Best Practices for Training

Follow these guidelines to create high-quality custom models:

Quality Training Pairs

  • Use 5-10 high-quality examples minimum
  • Keep consistent style across all examples
  • Use high-resolution images (minimum 1024x1024)
  • Ensure images clearly show your desired style

Descriptive Text

  • Be specific: 'Blue gradient header with white centered text'
  • Not vague: 'Nice design' or 'Good image'
  • Include details about colors, layout, and elements
  • Describe what makes the image unique to your brand

Consistent Examples

  • All training images should share similar visual style
  • Use the same color palette across examples
  • Maintain consistent layout approach
  • Keep the same visual language and design principles

Model Naming

  • Use clear, descriptive names: 'company-social-posts'
  • Not generic: 'model1' or 'test'
  • Include purpose: 'client-name-banners'
  • Make it easy to identify later

Managing Your Models

Learn how to manage, activate, and organize your custom models.

Activate/Deactivate Models

Control which models appear in your workspace

  1. Go to SettingsCustom Models tab
  2. Toggle models on/off using the switch
  3. Inactive models won't appear in playground or API
  4. Useful for testing vs production models

Model Status Types

Draft

Just created, needs training pairs to be added

Training

Currently processing - wait for completion

Completed

Ready to use for image generation

Failed

Training error occurred - contact support if needed

Editing Models

You can add more training pairs to existing models to improve results. Simply select the model and add new pairs, then retrain if needed.

Common Use Cases

Discover how custom models can solve real-world design challenges:

Brand Consistency

Generate all marketing materials in your exact brand style

Maintain visual identity across all content without manual design work

Social Media Management

Create consistent posts across all social platforms

Save time while maintaining professional, on-brand social presence

Product Launches

Maintain visual identity across entire campaign

Quickly generate banners, ads, and promotional materials in consistent style

Team Collaboration

Share brand style with team members and clients

Everyone can generate on-brand visuals without design expertise

Client Work

Create custom styles for different clients

Manage multiple brand identities efficiently in one workspace

Content Marketing

Generate blog headers, infographics, and visual content

Produce high-quality visual content at scale

Tips for Success

Maximize the quality and effectiveness of your custom models:

💡 Start Small, Iterate

Begin with 5 training pairs, test the results, then add more pairs to improve quality

💡 Use High-Resolution Images

Minimum 1024x1024 pixels ensures the AI can learn fine details of your style

💡 Keep Descriptions Detailed

The more specific your text descriptions, the better the AI understands your intent

💡 Test with Simple Prompts First

Start with basic prompts to verify the style is learned correctly before complex requests

💡 Add Variety Within Style

Include different layouts and compositions while maintaining consistent visual style

💡 Document Your Process

Keep notes on what works well for future model training

💡 Regular Updates

Periodically add new training pairs to keep your model current with evolving brand guidelines

Troubleshooting

Common issues and how to resolve them:

Generated images don't match my style

Solutions:

  • Add more training pairs (aim for 10-15)
  • Ensure all training images are consistent in style
  • Make text descriptions more specific and detailed
  • Check that training images clearly show your desired style

Training fails or gets stuck

Solutions:

  • Ensure you have at least 3 training pairs
  • Check that all images uploaded successfully
  • Try refreshing the page and starting training again
  • Contact support if issue persists

Model not appearing in playground

Solutions:

  • Check that training is completed (status: Completed)
  • Verify model is active in Settings → Custom Models
  • Refresh the page to reload available models
  • Ensure you're in the correct workspace

Inconsistent results

Solutions:

  • Add more training pairs for better consistency
  • Ensure all training examples follow the same style guidelines
  • Be more specific in your generation prompts
  • Retrain the model after adding new pairs

API Integration

Learn how to use your custom models programmatically.

Note: For complete API documentation, see the API Usage Guide.

POSThttps://yourapp.com/api/v1/generate

Generate images using your custom model

ParameterTypeRequiredDescription
promptstringRequiredDescription of what you want to generate
modelstringRequiredYour custom model name (exactly as created)

Example Request

bash
curl -X POST https://yourapp.com/api/v1/generate \
  -H "Authorization: Bearer vsk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Create a product announcement banner",
    "model": "my-brand-style"
  }'

Example Response

JSON
{
  "success": true,
  "imageUrl": "https://storage.url/image.jpg",
  "visualId": 789,
  "prompt": "Create a product announcement banner",
  "style": "custom_my-brand-style",
  "isCustomModel": true,
  "customModelName": "my-brand-style",
  "trainingPairsCount": 8
}

Next Steps