Make images for many products at once
create_batchBulk mode: starts image sets for many products in one call (up to 500; the account’s plan sets the limit). Each product is a product page url, public image_urls, upload_ids, or a product_id the account already has, with an optional name, description and facts. It runs in the background: each product is read, planned and, with mode "run", its images start as soon as its plan is written; with mode "review" each product stops at its plan until start_batch. One product failing never stops the others. Nothing starts beyond what is left (the plan’s products per batch and per day, and the credits for mode run): the dry run’s fits says how many products (from the first) can start now. Call with dry_run true first and tell the person the most it can cost and how many fit; if not all fit, offer the first fits products or buying credits (buy_credits); then call without dry_run. Credits are spent per product when its images start (1 credit per 2K image). Returns the batch id; follow it with get_batch. Example: {"mode": "run", "packs": ["amazon", "etsy"], "items": [{"url": "https://shop.example.com/products/mug"}, {"image_urls": ["https://cdn.example.com/apron.jpg"], "name": "Linen apron"}], "dry_run": true}
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"items": "<items>"
},
"name": "create_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "run" (default): make everything; "review": write every plan first, then start_batch | |
| name | No | A name for the batch and the folder its products go in | |
| pack | No | One platform for every product (same as packs with one entry) | |
| items | Yes | ||
| packs | No | The platforms every product gets, one image set each, e.g. ["amazon", "etsy"] (needed unless each item has its own) | |
| style | No | A social type’s style, e.g. "aesthetic" | |
| locale | No | Language of text on the images, e.g. "de" | |
| dry_run | No | Only check the products and return the most it can cost | |
| brand_kit_id | No | A brand kit for every product; null = no brand; omitted = each product’s brand |