Get model
curl --request GET \
--url https://api.rendermate.com/v1/models/{model} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.rendermate.com/v1/models/{model}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.rendermate.com/v1/models/{model}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rendermate.com/v1/models/{model}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.rendermate.com/v1/models/{model}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.rendermate.com/v1/models/{model}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rendermate.com/v1/models/{model}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"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\nabsent.",
"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);\nadaptive 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"
}
]
}Generations
Get model
Get one model: its input roles, params schema and providers. Over REST it needs no API key.
MCP tool: get_model.
GET
/
v1
/
models
/
{model}
Get model
curl --request GET \
--url https://api.rendermate.com/v1/models/{model} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.rendermate.com/v1/models/{model}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.rendermate.com/v1/models/{model}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.rendermate.com/v1/models/{model}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.rendermate.com/v1/models/{model}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.rendermate.com/v1/models/{model}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rendermate.com/v1/models/{model}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"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\nabsent.",
"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);\nadaptive 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"
}
]
}Authorizations
Response
OK
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).
Available options:
video, transcription, speech, sound_effect, music, voice_change, audio_isolation, dubbing, background_removal, segmentation, eye_contact