Skip to main content
Glama

AI3D Studio

Start a batch over Library pictures

start_batch

Run the same model, scene and options once for each of several pictures in the account’s Library — for example image to 3D for twelve product photos. Take the scenes and models from list_models (batches), and each picture’s asset_id from get_job or search_library on a finished image job. Nothing is charged now: each run is charged as it starts and refunded if it fails, but the balance must cover the whole quote, and for a key or connection with a monthly limit the whole quote is held against it until each picture runs (then its real cost counts) or is cancelled, refused or refunded (then nothing does). Returns a batch id at once; follow it with get_batch. Pass idempotency_key on retries so a repeat returns the same batch instead of queueing another.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYesOne entry per picture: a Library image’s asset_id.
modelYes
sceneYes
promptNo
optionsNoOptions every run shares, as for generate; the picture field is filled per item.
project_idNo
idempotency_keyNo
notify_by_emailNo
expected_creditsNoThe quote you showed the person; a different price queues nothing.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
modelYes
sceneYes
countsYes
reusedYesAn earlier call with this idempotency_key started it.
statusYes
balanceYesCredits available when it was accepted.
batch_idYes
created_atYes
item_countYes
settled_atYes
quoted_creditsYesWhat the batch costs if every picture runs.
charged_creditsYesWhat its runs were charged so far.
per_item_creditsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources