Skip to main content

Batch Operations

VariantLab supports batch operations for efficiently working with large collections.

Batch Generation

Generate multiple base images in a single operation.

Location: Setup page

What it does:

  • Generates 1-5 base images at once
  • Auto-assigns images to empty slots
  • Single Mana deduction for the batch

Cost: Shown on the Generate button before starting (scales with count)

Options:

  • Count - Choose how many images to generate (1-5)
  • Target slots - Auto-assign to empty slots or specify targets

When to use:

  • Starting a new project and want multiple options
  • Filling empty base image slots quickly
  • Comparing different generations from the same prompt

Detect All

Run trait detection for all defined traits at once.

Location: Detection page footer

What it does:

  • Analyzes base image for each trait
  • Creates masks for all traits
  • More efficient than detecting one at a time

Cost: ~1 Mana per 3 traits

When to use:

  • Initial detection for a new project
  • After changing the base image
  • When you have multiple traits to detect

Combine All

Generate all possible layer combinations.

Location: Combine page footer

What it does:

  • Calculates all possible combinations
  • Composites layers in order
  • Creates a new image for each combination

Cost: 1 Mana per 100 combinations

Options:

  • Favorite-only mode - Only use starred layers
  • Limit - Cap the number of combinations
  • Shuffle - Randomize selection (use with limit)

Batch Delete

Delete multiple items at once.

Deleting Combinations

  1. Navigate to Combine page
  2. Select multiple combinations
  3. Click batch delete
  4. Confirm deletion

Deleting Layers

In Variations page, delete all variants of a prompt:

  1. Click the × on the variation prompt
  2. All generated variants are deleted

Deleting Traits

In Detection page:

  1. Click × on a trait name
  2. Confirm cascade deletion
  3. All masks, variations, layers, and combinations for that trait are removed

Export All

Export your entire collection.

Location: Export page footer

What it does:

  • Packages selected items into a ZIP
  • Applies export settings (format, cropping, names)
  • Generates downloadable file

Cost: 1 Mana per 100 files

Includes (configurable):

  • Combinations
  • Layers
  • Masks
  • Base images
  • Metadata

Bulk Favoriting

Quickly favorite multiple items:

In Detection

  • Click star on mask variants to favorite
  • Only favorited masks used for extraction

In Variations

  • Click star on layer variants to favorite
  • Only favorited layers included in combinations

Pipeline Reset

If you change your base image after creating downstream content:

  1. VariantLab detects existing masks/variations
  2. Shows confirmation dialog
  3. Option to delete all and start fresh

This batch-deletes all:

  • Masks
  • Variations
  • Layers
  • Combinations

Progress Tracking

Batch operations show real-time progress:

  • Progress bar or spinner on button
  • Log messages in the activity panel
  • Completion notification

Tips for Batch Operations

  1. Plan before starting - Review settings before batch generation
  2. Test with small batches - Generate a few first to check quality
  3. Use limits - For large collections, work in manageable batches
  4. Check your Mana - Batch operations can consume significant credits
  5. Be patient - Large operations take time

Cost Estimation

Before batch operations, check estimated costs:

OperationCost Formula
Detect All~1 Mana per 3 traits
Combine All1 Mana per 100 combinations
Export All1 Mana per 100 files

The button shows estimated cost before you start.