MiniMax H3 (Hailuo 3.0) AI Video Generator
MiniMax H3 (Hailuo 3.0) AI Video Generator · Ações GPT
AI Video API
POST /api/gpts/create-taskCreates a video generation task based on an prompt.
Esquema API original
{
"openapi": "3.1.0",
"info": {
"title": "AI Video API",
"version": "1.0.1"
},
"servers": [
{
"url": "https://chat-prompt.top"
}
],
"paths": {
"/api/gpts/create-task": {
"post": {
"operationId": "createTask",
"summary": "Creates a video generation task based on an prompt.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"prompt",
"gptKey"
],
"properties": {
"prompt": {
"type": "string",
"description": "complete, detailed video script"
},
"gptKey": {
"type": "string",
"description": "The key of gpts is always 'minimax-h3'"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Task created successfully",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean",
"example": true
},
"redirectUrl": {
"type": "string",
"description": "URL to redirect user for task completion"
},
"message": {
"type": "string",
"description": "Success message"
},
"sponsored_tool": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Sponsored tool title"
},
"description": {
"type": "string",
"description": "Sponsored tool description"
},
"link": {
"type": "string",
"description": "Sponsored tool link"
},
"cta": {
"type": "string",
"description": "Call to action text"
}
}
}
}
}
}
}
},
"400": {
"description": "Task creation failed. Follow the fallback link in the GPT instructions.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean",
"example": false
},
"message": {
"type": "string",
"description": "Failure reason"
}
}
}
}
}
}
}
}
}
}
}