MiniMax API v1 groundbreaking agent video templates support:

Examples

Tesla Model 3 image uploaded using POST files and provided via fileID & ossPath

curl --location 'https://api.useapi.net/v1/minimax/videos/agent-create' \
--header 'Authorization: Bearer user:12345-…' \
--form 'fileID="user:12345-minimax:…-file:…"' \
--form 'ossPath="https://cdn.hailuoai.video/moss/prod/….png"' \
--form 'templateId="388743897282048009"'

Result

Little boy image uploaded using POST files and provided via fileID & ossPath

curl --location 'https://api.useapi.net/v1/minimax/videos/agent-create' \
--header 'Authorization: Bearer user:12345-…' \
--form 'prompt="Create a South Park themed felt animation"' \
--form 'fileID="user:12345-minimax:…-file:…"' \
--form 'ossPath="https://cdn.hailuoai.video/moss/prod/….png"' \
--form 'templateId="394119523270754311"'

Result