All Images AI connects to a Nagent workspace with an API key. Once it is connected, agents can call 7 All Images AI actions, such as "Create webhook endpoint", "Get Credits Balance" and "Get Webhook". Nothing is enabled on connect: each action is allowed one at a time, and an action with side effects runs or waits for a person according to the agent's level.
Every operation an agent can call against All Images AI, with input parameters and output schema.
ALL_IMAGES_AI_CHECK_API_KEYValidates the current API key and retrieves associated account information. Returns the email address and optional name associated with the API key. Use this action to verify your API key is valid before making other API calls.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
ALL_IMAGES_AI_CREATE_WEBHOOK_ENDPOINTTool to add a webhook endpoint to an API key. Use when you want to receive print event callbacks at a custom endpoint.
Input parameters
The HTTPS URL to receive webhook callbacks. Endpoint must be idempotent; events may be delivered more than once.
List of event types to subscribe to. Available events: 'test', 'print.created', 'print.active', 'print.failed', 'print.progress', 'print.completed'. Defaults to \['print.failed', 'print.completed'\] if not provided.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
ALL_IMAGES_AI_DELETE_IMAGE_GENERATIONSTool to delete one or more image generation batches by their print IDs. Use when you need to remove image generations that are no longer needed.
Input parameters
List of print IDs to delete. Each ID corresponds to an image generation batch.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
ALL_IMAGES_AI_GET_CREDITSTool to retrieve the current credits balance for your API key. Use this action to check available credits before making API calls that consume credits.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
ALL_IMAGES_AI_GET_WEBHOOKTool to retrieve webhook details by its ID. Use when you need to check the configuration of an existing webhook endpoint, including its URL and subscribed events.
Input parameters
Unique identifier of the webhook to retrieve.
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
ALL_IMAGES_AI_LIST_AUTOMATED_IMAGESTool to list all images generated automatically for bulk use. Use after creating automated-image batches to review and manage them.
Input parameters
Filter batches by a single tag.
Filter batches by generation name (partial match).
Sort order, e.g., 'createdAt:desc' or 'name:asc'.
Maximum number of batches to return (>=1).
Number of batches to skip (>=0).
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
ALL_IMAGES_AI_LIST_DOWNLOADED_IMAGESTool to list images that have been downloaded from All-Images.ai. Use this action to retrieve and filter downloaded images with optional date range filtering and pagination support.
Input parameters
Sort order for results, e.g., 'downloadedAt:desc' or 'downloadedAt:asc'.
Maximum number of images to return (>=1).
Number of images to skip for pagination (>=0).
Filter images downloaded after this date (ISO-8601 format, e.g., '2024-01-01T00:00:00Z').
Filter images downloaded before this date (ISO-8601 format, e.g., '2024-12-31T23:59:59Z').
Output
Data from the action execution
Error if any occurred during the execution of the action
Whether or not the action execution was successful or not
Agents can call 7 All Images AI actions on Nagent, including "Create webhook endpoint", "Get Credits Balance" and "Get Webhook". Create webhook endpoint: Add a webhook endpoint to an API key. Each action is listed on this page with its input parameters and its output.
All Images AI connects with an API key, under your workspace's own connection. Nothing is enabled on connect: each action is allowed one at a time and can be scoped to the agents that need it.
Create webhook endpoint takes 1 required input: url. It also takes 1 optional input: events. It returns data, error and successful.