Skip to content

MCP tool reference

The MCP server offers 15 tools. Paid tools follow price confirmation: without max_cost they return the price and start nothing.

Tool What it does Hints
get_account Account and spending limit read-only, idempotent
list_models List models read-only, idempotent
get_model Model parameters read-only, idempotent
list_projects List projects read-only, idempotent
list_assets List files read-only, idempotent
get_asset Get a file read-only, idempotent
get_generation Check a generation read-only, idempotent
list_generations List generations read-only, idempotent
create_project Create a project changes data, idempotent
import_media Import a file changes data, idempotent, reaches outside HalationLab.ai
create_upload Upload a local file changes data, idempotent
generate_video Generate a video (paid) changes data, destructive, idempotent, reaches outside HalationLab.ai
generate_image Generate an image (paid) changes data, destructive, idempotent, reaches outside HalationLab.ai
edit_media Edit a video or image (paid) changes data, destructive, idempotent, reaches outside HalationLab.ai
cancel_generation Cancel a generation changes data, destructive, idempotent

Account and spending limit. The token balance, what is left of the spending limit, the default project and permissions. Call it before paid work when unsure what the user can spend.

Hints: read-only, idempotent.

No inputs.

List models. Models by task with their typical price. Prices are in tokens.

Hints: read-only, idempotent.

Input Type Required Description
task string No For example text-to-video, image-to-video, text-to-image, edit-image, extend-video.
output string No video, image or audio.

Model parameters. One model’s parameters (names, types, defaults, allowed values) and price. Use the names in generate tools’ options.

Hints: read-only, idempotent.

Input Type Required Description
model string Yes Model ID, for example seedance-2.5.

List projects. Projects you can use, most recently changed first.

Hints: read-only, idempotent.

Input Type Required Description
status string No active (default) or archived.

List files. Uploaded files and generated outputs, newest first.

Hints: read-only, idempotent.

Input Type Required Description
project string No Project ID (proj_…). Default: the credential’s default project.
type string No video, image or audio.
origin string No upload, generation or derived.
cursor string No next_cursor of the previous page.

Get a file. One file with a download link that expires after an hour, and a preview image.

Hints: read-only, idempotent.

Input Type Required Description
asset string Yes Asset ID (asset_…).

Check a generation. A generation’s status, cost and outputs. Waits up to wait_seconds for it to finish, so call it again rather than polling quickly.

Hints: read-only, idempotent.

Input Type Required Description
generation string Yes Generation ID (gen_…).
wait_seconds integer No Seconds to wait for a final status. Default 25.

List generations. Recent generations, newest first.

Hints: read-only, idempotent.

Input Type Required Description
project string No Project ID (proj_…). Default: the credential’s default project.
status string No Only this status.
cursor string No next_cursor of the previous page.

Create a project. Creates a project, optionally with a brief (product, audience, mood) that generations can use.

Hints: changes data, idempotent.

Input Type Required Description
name string Yes Project name.
product string No What the product is.
audience string No Who it is for.
mood string No Tone and feel.

Import a file. Adds an image, video or audio file from a public HTTPS URL or a data: URI, and answers its asset ID once it is checked. Use the ID as a generation input.

Hints: changes data, idempotent, reaches outside HalationLab.ai.

Input Type Required Description
url string Yes A public HTTPS URL or a data: URI (up to about 700 KB).
project string No Project ID (proj_…). Default: the credential’s default project.
name string No A label for the file.

Upload a local file. For agents with a shell: answers a URL to PUT a local file to (with the headers given). After the PUT, call get_asset with the asset ID it names.

Hints: changes data, idempotent.

Input Type Required Description
name string Yes File name.
content_type string Yes MIME type, for example image/png.
size integer Yes Size in bytes.
sha256 string Yes SHA-256 of the file, 64 hex characters.
project string No Project ID (proj_…). Default: the credential’s default project.

Generate a video (paid). Makes a video from a prompt, optionally from a first frame or reference images. First call without max_cost: it answers the price and starts nothing. Show the price to the user; after they agree, call again with the same arguments and max_cost.

Hints: changes data, destructive, idempotent, reaches outside HalationLab.ai.

Input Type Required Description
prompt string Yes What happens in the video.
model string No Model ID. Default seedance-2.5.
duration number No Seconds.
aspect_ratio string No For example 16:9, 9:16 or 1:1.
resolution string No For example 720p or 1080p.
first_frame string No The opening frame. An asset ID, a generation ID, a public HTTPS URL or a data: URI.
last_frame string No The closing frame. An asset ID, a generation ID, a public HTTPS URL or a data: URI.
references array of strings No Reference images: asset IDs or URLs.
options object No Other model parameters by name, from get_model (for example {“seed”: 7}).
project string No Project ID (proj_…). Default: the credential’s default project.
max_cost integer No Omit to get the price only. To start, send the quoted max_cost after the user agrees. Tokens.
request_id string No Optional unique string. Reusing it retries the same request without starting it twice.

Generate an image (paid). Makes images from a prompt, optionally guided by reference images. First call without max_cost: it answers the price and starts nothing. After the user agrees, call again with max_cost.

Hints: changes data, destructive, idempotent, reaches outside HalationLab.ai.

Input Type Required Description
prompt string Yes What the image shows.
model string No Model ID. Default nano-banana-2.1.
aspect_ratio string No For example 1:1 or 16:9.
count integer No How many images.
references array of strings No Images to edit or follow: asset IDs or URLs.
options object No Other model parameters by name, from get_model (for example {“seed”: 7}).
project string No Project ID (proj_…). Default: the credential’s default project.
max_cost integer No Omit to get the price only. To start, send the quoted max_cost after the user agrees. Tokens.
request_id string No Optional unique string. Reusing it retries the same request without starting it twice.

Edit a video or image (paid). Extends, edits, reframes, upscales or expands a file with an edit model (list_models with task extend-video, edit-video, reframe-video, upscale-video, edit-image, expand-image or upscale-image). Same price rule: no max_cost answers the price.

Hints: changes data, destructive, idempotent, reaches outside HalationLab.ai.

Input Type Required Description
model string Yes An edit model ID.
source string No The file to change. An asset ID, a generation ID, a public HTTPS URL or a data: URI.
prompt string No What to change, for models that take one.
options object No Other model parameters by name, from get_model (for example {“seed”: 7}).
project string No Project ID (proj_…). Default: the credential’s default project.
max_cost integer No Omit to get the price only. To start, send the quoted max_cost after the user agrees. Tokens.
request_id string No Optional unique string. Reusing it retries the same request without starting it twice.

Cancel a generation. Cancels a generation. Work not yet sent to a model host is released free; running work may still finish and be charged within its quote.

Hints: changes data, destructive, idempotent.

Input Type Required Description
generation string Yes Generation ID (gen_…).