List MiniMax video tasks
curl --request GET \
--url https://gengen.farm/api/gengen/v1/contents/generations/tasks \
--header 'Authorization: Bearer <token>'import requests
url = "https://gengen.farm/api/gengen/v1/contents/generations/tasks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gengen.farm/api/gengen/v1/contents/generations/tasks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"id": "<string>",
"model": "<string>",
"status": "<string>",
"outputs": "<unknown>",
"usage": {}
}
],
"page_num": 123,
"page_size": 123,
"total": 123
}{
"error": {
"code": "<string>",
"message": "<string>",
"params": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"params": {}
}
}Video API
List MiniMax video tasks
List workspace task records and filter them by a MiniMax public model ID.
GET
/
contents
/
generations
/
tasks
List MiniMax video tasks
curl --request GET \
--url https://gengen.farm/api/gengen/v1/contents/generations/tasks \
--header 'Authorization: Bearer <token>'import requests
url = "https://gengen.farm/api/gengen/v1/contents/generations/tasks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gengen.farm/api/gengen/v1/contents/generations/tasks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"items": [
{
"id": "<string>",
"model": "<string>",
"status": "<string>",
"outputs": "<unknown>",
"usage": {}
}
],
"page_num": 123,
"page_size": 123,
"total": 123
}{
"error": {
"code": "<string>",
"message": "<string>",
"params": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"params": {}
}
}The list shows saved task records. An item’s
usage can be {} even after success. To calculate a charge, retrieve the task by ID and use the billing quantities for H3 or H3 Max.