curl --request POST \
--url https://gengen.farm/api/gengen/v1/contents/generations/tasks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "minimax-h3",
"prompt": "Keep the character consistent during a cinematic tracking shot."
}
'{
"id": "minimaxh3:task_123",
"model": "minimax-h3",
"status": "pending",
"outputs": {
"videos": [],
"images": []
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"params": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"params": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"params": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"params": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"params": {}
}
}Video API
Create a MiniMax video task
Create a MiniMax H3 or MiniMax H3 Max task through the normalized GENGEN API.
POST
/
contents
/
generations
/
tasks
curl --request POST \
--url https://gengen.farm/api/gengen/v1/contents/generations/tasks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "minimax-h3",
"prompt": "Keep the character consistent during a cinematic tracking shot."
}
'{
"id": "minimaxh3:task_123",
"model": "minimax-h3",
"status": "pending",
"outputs": {
"videos": [],
"images": []
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"params": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"params": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"params": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"params": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"params": {}
}
}For pending tasks, poll the returned ID. The successful task detail includes
usage with billable seconds and reference-image counts and the applicable price row. See usage fields.Authorizations
Body
application/json
Response
The MiniMax task was accepted.