media
Abyssale CLI for CI
Use the Abyssale CLI for CI with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 6 read 1 write Bearer token auth
Abyssale CLI for CI
Run integration calls from CI jobs with JSON output, explicit credentials, and predictable exit status.
Use this shape when a pipeline needs to read or update an external service. The Abyssale CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Abyssale CLI for CI
kosmokrator integrations:configure abyssale --set access_token="$ABYSSALE_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call abyssale.abyssale_list_generations '{"page":1,"limit":1,"status":"example_status"}' --json Discovery Before Execution
Agents and scripts can inspect Abyssale docs and schemas before choosing a function.
kosmo integrations:docs abyssale --json
kosmo integrations:docs abyssale.abyssale_list_generations --json
kosmo integrations:schema abyssale.abyssale_list_generations --json
kosmo integrations:search "Abyssale" --json
kosmo integrations:list --json Useful Abyssale CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
abyssale.abyssale_list_generations | Read | page, limit, status | List image generation jobs from Abyssale. Returns a paginated list of generations, optionally filtered by status (e.g., "finished", "processing", "failed"). |
abyssale.abyssale_get_generation | Read | id | Get details of a specific image generation from Abyssale, including its status, output URLs, and applied modifications. |
abyssale.abyssale_create_generation | Write | template_id, format_ids, modifications | Generate images from an Abyssale template. Specify the template, one or more output format IDs, and element modifications (text, images, colors) to customize the output. |
abyssale.abyssale_list_templates | Read | page, limit | List available design templates from Abyssale. Returns a paginated list of templates with their IDs and names. |
abyssale.abyssale_get_template | Read | id | Get details of a specific Abyssale template, including its available formats, elements, and layers that can be modified. |
abyssale.abyssale_list_formats | Read | page, limit | List available output formats from Abyssale. Formats define the size and dimensions of generated images (e.g., 1200x628 Facebook post, 1080x1080 Instagram square). |
abyssale.abyssale_get_current_user | Read | none | Get the profile of the currently authenticated Abyssale user. Useful for verifying API credentials and retrieving account information. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.