> ## Documentation Index
> Fetch the complete documentation index at: https://rendermate.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Generations

> The MCP tools for generations.

## `cancel_generation`

Stop a generation that's still running, and ask its provider to stop too. A provider that has already started on it may still finish it, and bill for it; the generation's usage then shows what it used, once the provider reports it.

REST: [`POST /v1/generations/{generation_id}/cancel`](https://rendermate.com/docs/api-reference/generations/cancel-generation) · destructive, idempotent

**generation\_id** `string` *required*

The generation, from create\_generation.

## `create_generation`

Call a model: a prompt and assets in, new assets out, such as a video from a prompt and a first frame, speech from text, a transcript of a recording, or a cutout of the people or of a picked object in an image or a video. Every model, with its inputs, params, limits and meters, is at [https://rendermate.com/docs/models](https://rendermate.com/docs/models.md), and list\_models answers with the same list. Its files are saved as assets at `output`; a name that's already taken is refused unless `overwrite` is set. It runs in the background: call get\_generation with its ID until it's done. It costs credits.

REST: [`POST /v1/generations`](https://rendermate.com/docs/api-reference/generations/create-generation) · destructive

**inputs** `array`

Assets the model takes as input, each with its role.

**model** `string` *required*

The model, from list\_models, such as `bytedance/seedance-2.5`.

**output** `string`

Where the files it makes are saved: an asset path such as `launch/shot.mp4` (other files it makes go next to it, as `launch/shot.last_frame.png`), or a folder ending in `/`, where each file is named by its role, as `launch/video.mp4`. `generations/<id>/` when absent.

**overwrite** `boolean`

Replace assets already at those names. Without it, a name that's taken is refused with `asset.name_taken`; one taken while the generation runs gets its file saved in `generations/<id>/` instead, and the generation says so in its error.

**params** `any`

The model's params, as its schema in list\_models describes them.

**project\_id** `string`

The project its files go in; the workspace's default project when absent.

**prompt** `string`

What to make, for models that take a prompt.

**provider** `object`

Which providers may serve it: `order`, `only`, `ignore`, `allow_fallbacks`, and `options`, each provider's own request fields.

## `get_generation`

Get a generation's status, and once it's done, the assets it made. While it's running, call again a little later.

REST: [`GET /v1/generations/{generation_id}`](https://rendermate.com/docs/api-reference/generations/get-generation) · read-only

**generation\_id** `string` *required*

The generation, from create\_generation.

## `get_model`

Get one model: its input roles, params schema and providers. Over REST it needs no API key.

REST: [`GET /v1/models/{model}`](https://rendermate.com/docs/api-reference/generations/get-model) · read-only

**model** `string` *required*

The model, such as `bytedance/seedance-2.5`.

## `list_generations`

List the workspace's generations, newest first.

REST: [`GET /v1/generations`](https://rendermate.com/docs/api-reference/generations/list-generations) · read-only

**after** `string`

The `next` of the previous page.

**limit** `integer`

How many to return, up to 100; 100 when absent.

## `list_models`

List the models create\_generation can call, such as video, transcription, background removal and segmentation models, with each one's input roles, params schema and providers. Over REST it needs no API key. The docs list every model, with its limits and meters, at [https://rendermate.com/docs/models](https://rendermate.com/docs/models.md).

REST: [`GET /v1/models`](https://rendermate.com/docs/api-reference/generations/list-models) · read-only

**kind** `string`

Only models of this kind: `video`, `transcription`, `background_removal` or `segmentation`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.