> ## 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.

# Get model

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

MCP tool: [`get_model`](/mcp/tools/generations#get_model).



## OpenAPI

````yaml /api/openapi.json get /v1/models/{model}
openapi: 3.1.0
info:
  title: Rendermate API
  version: v1
servers:
  - url: https://api.rendermate.com
security:
  - api_key: []
tags:
  - name: Account
  - name: Workspaces
  - name: Projects
  - name: Documents
  - name: Links
  - name: Exports
  - name: Assets
  - name: Generations
  - name: Persons
  - name: Help
paths:
  /v1/models/{model}:
    get:
      tags:
        - Generations
      summary: Get model
      description: >-
        Get one model: its input roles, params schema and providers. Over REST
        it needs no API key.


        MCP tool: [`get_model`](/mcp/tools/generations#get_model).
      operationId: get_model
      parameters:
        - description: The model, such as `bytedance/seedance-2.5`.
          in: path
          name: model
          required: true
          schema:
            description: The model, such as `bytedance/seedance-2.5`.
            type: string
      responses:
        '200':
          content:
            application/json:
              example:
                description: >-
                  Video with sound from a prompt, frames or references, up to 30
                  seconds; edits and extends videos; drafts.
                id: bytedance/seedance-2.5
                inputs:
                  - description: The video starts on this image.
                    max: 1
                    media: image
                    role: first_frame
                  - description: The video ends on this image; needs a first_frame.
                    max: 1
                    media: image
                    role: last_frame
                  - description: >-
                      A look, person or object to use; the prompt can name it as
                      @Image1.
                    max: 30
                    media: image
                    role: reference_image
                  - description: >-
                      A video to follow, edit or extend; the prompt can name it
                      as @Video1.
                    max: 10
                    media: video
                    role: reference_video
                  - description: >-
                      Audio to use, such as a voice or music; the prompt can
                      name it as @Audio1.
                    max: 10
                    media: audio
                    role: reference_audio
                kind: video
                name: ByteDance video 2.5
                params:
                  $schema: https://json-schema.org/draft/2020-12/schema
                  additionalProperties: false
                  description: A Seedance model's params.
                  properties:
                    camera_fixed:
                      description: Keep the camera still.
                      type:
                        - boolean
                        - 'null'
                    draft:
                      description: >-
                        A cheap 480p draft, to check the shot before making the
                        final video with `from_draft`.
                      type:
                        - boolean
                        - 'null'
                    duration:
                      description: >-
                        Seconds, within the model's range, or -1 to let the
                        model choose.
                      format: int64
                      type:
                        - integer
                        - 'null'
                    execution_expires_after:
                      description: >-
                        Give up when it hasn't finished after this many seconds,
                        3600 to 259200; 172800 when

                        absent.
                      format: int64
                      type:
                        - integer
                        - 'null'
                    from_draft:
                      description: >-
                        A succeeded draft generation of the same model, whose
                        shot this one makes in full.
                      type:
                        - string
                        - 'null'
                    generate_audio:
                      description: >-
                        Voice, effects and music in sync with the picture; true
                        when absent.
                      type:
                        - boolean
                        - 'null'
                    output_format:
                      description: '`mp4` or `mov`; mp4 when absent.'
                      type:
                        - string
                        - 'null'
                    ratio:
                      description: >-
                        `16:9`, `4:3`, `1:1`, `3:4`, `9:16`, `21:9`, or
                        `adaptive` (from the prompt and inputs);

                        adaptive when absent.
                      type:
                        - string
                        - 'null'
                    resolution:
                      description: >-
                        `480p`, `720p`, `1080p` or `4k`, as the model allows;
                        720p when absent.
                      type:
                        - string
                        - 'null'
                    return_last_frame:
                      description: >-
                        Also make a still of the last frame (output
                        `last_frame`), to start the next clip from.
                      type:
                        - boolean
                        - 'null'
                    seed:
                      description: >-
                        The same seed and inputs give a similar video; random
                        when absent.
                      format: int64
                      type:
                        - integer
                        - 'null'
                    watermark:
                      description: Burn in an "AI generated" mark; false when absent.
                      type:
                        - boolean
                        - 'null'
                  title: Params
                  type: object
                prompt: optional
                providers:
                  - provider: byteplus
                    usage_unit: completion_tokens
              schema:
                properties:
                  description:
                    description: What it is, for people.
                    type: string
                  id:
                    description: 'What create_generation''s `model` takes: `author/model`.'
                    type: string
                  inputs:
                    description: The roles its inputs can have, and how many of each.
                    items:
                      $ref: '#/components/schemas/Role'
                    type: array
                  kind:
                    $ref: '#/components/schemas/Kind'
                    description: >-
                      What it makes: `video` (outputs `video`, and `last_frame`
                      when asked), `transcription`

                      (output `transcript`, a JSON transcript with word
                      timings), or `background_removal` and

                      `segmentation` (outputs `matte`, grey where the subject
                      is, and `cutout`, the source with

                      the matte as its alpha, as `params.outputs` asks).
                  name:
                    description: Its name, for people.
                    type: string
                  params:
                    $ref: '#/components/schemas/Schema'
                    description: The JSON Schema of its `params`.
                  prompt:
                    $ref: '#/components/schemas/Prompt'
                    description: >-
                      Whether it takes a prompt: `required`, `optional` or
                      `none`.
                  providers:
                    description: >-
                      The providers that serve it, in the order they're tried,
                      and the unit each reports usage

                      in.
                    items:
                      $ref: '#/components/schemas/Endpoint'
                    type: array
                required:
                  - id
                  - name
                  - kind
                  - description
                  - prompt
                  - inputs
                  - params
                  - providers
                type: object
          description: OK
        '404':
          content:
            application/json:
              examples:
                not_found:
                  summary: not_found
                  value:
                    error:
                      code: not_found
                      doc_url: https://rendermate.com/docs/errors#not_found
                      message: 'no model acme/unknown: list_models has every model'
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: '- `not_found`: no model acme/unknown: list_models has every model'
        '500':
          content:
            application/json:
              examples:
                internal:
                  summary: internal
                  value:
                    error:
                      code: internal
                      doc_url: https://rendermate.com/docs/errors#internal
                      message: internal error
                      request_id: req_0193f2a4c1d87b2e9f3a6c5d4e8b7a10
              schema:
                $ref: '#/components/schemas/Error'
          description: '- `internal`: internal error'
      security: []
components:
  schemas:
    Role:
      description: An input role a model takes.
      properties:
        description:
          description: What the model does with an input of this role.
          type: string
        max:
          description: How many inputs may have it.
          format: uint
          minimum: 0
          type: integer
        media:
          $ref: '#/components/schemas/Media'
        role:
          description: The role, such as `first_frame`, as a generation's input names it.
          type: string
      required:
        - role
        - media
        - max
        - description
      type: object
    Kind:
      description: >-
        What a model makes. Every model of a kind returns the same outputs, so
        models of a kind can

        replace each other: `video`, a video file (role `video`) and with some
        params a still of its

        last frame (`last_frame`); `transcription`, a transcript (role
        `transcript`): JSON with the

        `language`, `duration_ms`, `text`, and `words`, each with `text`,
        `start_ms`, `end_ms`, and

        `speaker` and `confidence` when known. `speech` (speech from the
        prompt's text),

        `sound_effect`, `music`, `voice_change` and `audio_isolation` make an
        audio file (`audio`);

        `dubbing` makes the dubbed speech (`audio`) and its subtitles
        (`subtitles`, WebVTT).

        `background_removal` and `segmentation` make a `matte` and a `cutout` of
        the source

        (`matting`). `eye_contact` makes the source video with the speaker's
        gaze turned towards the

        camera (`video`).
      enum:
        - video
        - transcription
        - speech
        - sound_effect
        - music
        - voice_change
        - audio_isolation
        - dubbing
        - background_removal
        - segmentation
        - eye_contact
      type: string
    Schema:
      type:
        - object
        - boolean
    Prompt:
      enum:
        - required
        - optional
        - none
      type: string
    Endpoint:
      description: A provider that serves a model.
      properties:
        provider:
          description: Such as `byteplus`.
          type: string
        usage_unit:
          description: >-
            The unit the provider reports usage in, which a generation's `usage`
            is counted in, such

            as `completion_tokens` or `audio_seconds`.
          type: string
      required:
        - provider
        - usage_unit
      type: object
    Error:
      properties:
        error:
          properties:
            code:
              description: Stable, such as `asset.name_taken` or `not_available`.
              type: string
            doc_url:
              description: The code's entry on the Errors page.
              type: string
            message:
              description: What went wrong and what to do next.
              type: string
            request_id:
              description: >-
                The request's ID, also in its `x-request-id` header. Quote it
                when you contact support.
              type: string
          required:
            - code
            - message
            - doc_url
            - request_id
          type: object
      required:
        - error
      type: object
    Media:
      description: What an input file has to be.
      oneOf:
        - enum:
            - image
            - video
            - audio
            - image_or_video
          type: string
        - const: audio_or_video
          description: Audio, or a video whose audio is used.
          type: string
  securitySchemes:
    api_key:
      description: >-
        An API key from the dashboard, such as `sk_live_…`. It acts in its
        workspace.
      scheme: bearer
      type: http

````

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