# Batch Add Text to Images

**Use case:** 

Give every photo in a batch its own headline in one run. Text lands inside the platform safe zone; finished PNGs come back with a direct download URL.

## Input

```json
{
  "imageUrl": "https://upload.wikimedia.org/wikipedia/commons/3/3a/Cat03.jpg",
  "text": "SUMMER SALE\n50% OFF",
  "rows": [
    {
      "imageUrl": "https://picsum.photos/id/1015/1600/1200.jpg",
      "text": "SUMMER SALE\n50% OFF"
    },
    {
      "imageUrl": "https://picsum.photos/id/292/1600/1200.jpg",
      "text": "NEW ARRIVALS",
      "placement": "top"
    },
    {
      "imageUrl": "https://picsum.photos/id/431/1600/1200.jpg",
      "text": "FREE SHIPPING\nTHIS WEEK"
    },
    {
      "imageUrl": "https://picsum.photos/id/1080/1600/1200.jpg",
      "text": "LAST CHANCE",
      "textStyle": "outline"
    }
  ],
  "preset": "instagram-square-1x1",
  "outputMode": "preset",
  "fitMode": "cover",
  "padColor": "#ffffff",
  "placement": "bottom",
  "textStyle": "band",
  "font": "Anton",
  "customFont": "Space Grotesk",
  "textColor": "#ffffff",
  "accentColor": "#111111",
  "textCase": "upper",
  "maxTextHeightPct": 30,
  "marginPct": 5,
  "maxOutputEdgePx": 2048
}
```

## Output

```json
{
  "status": {
    "label": "✅ Status",
    "format": "string"
  },
  "imageUrl": {
    "label": "🔗 Source Image URL",
    "format": "string"
  },
  "text": {
    "label": "✍️ Headline Text",
    "format": "string"
  },
  "outputUrl": {
    "label": "🖼️ Output Image",
    "format": "string"
  },
  "outputWidth": {
    "label": "📏 Output Width (px)",
    "format": "integer"
  },
  "outputHeight": {
    "label": "📏 Output Height (px)",
    "format": "integer"
  },
  "errorCode": {
    "label": "⚠️ Error Code",
    "format": "string"
  },
  "error": {
    "label": "⚠️ Error Message",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Bulk Text on Image Generator](https://apify.com/sian.agency/bulk-text-on-image-generator.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/sian.agency/bulk-text-on-image-generator.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
This Task's input is already configured above — use it as-is rather than inventing a new one.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/sian.agency/bulk-text-on-image-generator.md

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).
