Batch-generate multiple items
Starts multiple generation jobs in one call (up to the per-request cap). Returns 202 with an array of data.jobs[], each with its own job_id. Cost is summed across all items. Returns 402 if credits are insufficient for the whole batch.
Request
- Base URL: https://api.masko.ai
- URL: https://api.masko.ai/v1/mascots/{id}/generate-batch
- Auth: HTTP bearer
Path parameters
Headers
Account-scoped key (1 to 255 characters, ideally a UUID). Retries must preserve the credential workspace, effective API version, URL, content type and exact body bytes, including multipart boundaries; different inputs return 409 idempotency_key_reused. Completed responses, including 500 errors, replay for 24 hours after completion with current resource access checked again. Running or unconfirmed executions return 409 idempotency_request_in_progress and do not expire automatically. A receipt persistence failure returns 503 idempotency_persistence_failed: retry only with the same key and inspect the operation outcome before starting a new request.
Request body
Response
Batch generation jobs started
Changes
No recorded changes to this operation across all 1 revision of this API.