---
canonical: 'https://htmlcsstoimage.com/features/batch-images-for-marketing'
title: 'Batch Image API for Marketing Automation | HTML/CSS to Image'
description: 'Generate campaign image sizes, audience variants, and localized assets in one API request while keeping shared content and design settings consistent.'
---

# Generate every campaign image size in one request

Keep shared design settings consistent while changing dimensions, messaging, audiences, or locales for each image in the batch.

## Key capabilities

- Channel-specific dimensions
- Audience and locale variants
- One approval-ready set

## Generate multiple images with one batch API request

Send shared content and rendering settings to `POST https://hcti.io/v1/image/batch` in `default_options`, then add the overrides for each image in `variations`. Each variation supports the same controls as an individual image request.

```json
{
  "default_options": {
    "url": "https://example.com"
  },
  "variations": [
    { "viewport_width": 1200, "viewport_height": 630 },
    { "viewport_width": 630, "viewport_height": 1200 },
    { "color_scheme": "dark" }
  ]
}
```

The batch image API returns every generated image URL together, without requiring your application to coordinate several nearly identical requests. Each variation is a separate image generation for usage purposes, and the maximum number of variations depends on the account.

## MCP Integration

Connect an MCP-compatible client to `https://mcp.hcti.io` with OAuth. The tools use the connected organization's HTML/CSS to Image account, permissions, and plan limits.

- The `get_max_batch_size` tool returns the maximum number of images the account can include in one batch.
- The `create_batch_images` tool accepts shared defaults and per-image overrides, then returns the generated image results together.

[Read the full MCP docs](https://docs.htmlcsstoimage.com/integrations/mcp/).

## Generate campaign assets without rebuilding each version

### Social and display sizes

Generate portrait, landscape, square, and banner images from one source.

### Segment-specific campaigns

Change messaging or content by audience while preserving the same design settings.

### Localized campaign images

Produce language and regional variants together in one batch response.

### Campaign approval sets

Deliver every required version together for review before publishing.

## Get started

REST API requests require an HTML/CSS to Image account and should be authenticated from trusted application code. Check the API docs and pricing for current setup instructions, limits, and feature availability.

- [View the full feature page](https://htmlcsstoimage.com/features/batch-images-for-marketing)
- [Browse all features](https://htmlcsstoimage.com/features.md)
- [Start free](https://htmlcsstoimage.com/join)
- [View pricing](https://htmlcsstoimage.com/pricing.md)
- [Read the batch API docs](https://docs.htmlcsstoimage.com/getting-started/using-the-api/#batch-image-creation)
- [Read the MCP docs](https://docs.htmlcsstoimage.com/integrations/mcp/)
