Catalogue / batch
batch
MITSignedRun many shuut generations or edits at once - several images, videos, audio clips, cut-outs or product shots in one call - and collect all results. Use when the user asks for variations, a set of ads, many clips or bulk work.--- name: batch description: Run many shuut generations or edits at once - several images, videos, audio clips, cut-outs or product shots in one call - and collect all results. Use when the user asks for variations, a set of ads, many clips or bulk work. ---
Many at once
- Pick the batch tool:
generate_image_batch,generate_video_batchorgenerate_audio_batchfor those three, orcreate_batchwithtoolset to any other paid tool (for example remove_background or product_shot_create on many photos). Each takesitems(1-8); each item takes the same fields as the single tool, withoutidempotency_key,dry_runandmax_spend_credits. - Call it with
itemsand anidempotency_key: it makes the items and charges each one at once. If any item is invalid, nothing is created and the error namesitems[i]. - Only when the user asks for the price first or sets a budget: call it with
dry_run: truefirst (the result hastotal_cost_credits,balance_credits,sufficient_balanceand a quote per item; nothing is charged), then call it again withoutdry_run, with the sameidempotency_keyand thattotal_cost_creditsasmax_spend_credits.max_spend_creditscaps what the batch charges in total: if the quoted total is above it, nothing new is created and the call fails with max_spend_exceeded. - Each created item has its own
job_id. Wait for all of them in one call withjobs_waitandjob_ids(up to 10;until"any" returns as soon as one more ends). It returnsjobs,done_count,pending_idsandall_donewithout output URLs; collect the outputs withjobs_resultfor each job.
Example arguments for create_batch:
{ "tool": "remove_background", "items": [{ "image": "<photo1_file_id>" }, { "image": "<photo2_file_id>" }], "idempotency_key": "cutouts-1" }Partial results
- The result counts
createdandfailed. An item that was not created was not charged; itserrorsays why. - Items over the account's concurrent job limit (see
balance:max_concurrent_jobs,active_jobs) fail and are listed inretry_indices; call again later with the sameidempotency_key. - An item also fails on its own with quote_changed if its price went up between the quote and creation.
- Calling again with the same
idempotency_keyand the sameitemsfirst returns the items already made (no new charge) and only creates the rest. If no item could be created, the call fails, nothing was charged, anditemsholds each error. - An item that failed for another reason is not made again by the same
idempotency_key. To try those items again, send only them (new_key_indiceslists them) as a new call with a newidempotency_key: the other items are already made, and a new key for the whole batch makes and charges them again. If the user asked to see prices or set a budget, price that call withdry_run: truefirst and pass itstotal_cost_creditsasmax_spend_credits.
| File | Size | SHA-256 |
|---|---|---|
| SKILL.md | 3.0 kB | 7692b31a370b |
| SKILVAULT_SOURCE.json | 1.1 kB | ae3d86db99a5 |
| THIRD_PARTY_NOTICES.md | 2.1 kB | 1d9baab40db2 |
Published verbatim from the pinned commit. Nothing is rewritten.
| Version | Pinned commit | Signed | |
|---|---|---|---|
| 0.1.0 Current | 468c6e85ca8d | 29 Nov 2026 |
Locking a skill to one version needs Pro.