Recuperar um vídeo MiniMax H3
Recupere uma tarefa de vídeo MiniMax H3 pelo ID da tarefa, incluindo seu status, progresso, registros de data e hora, URL do resultado ou detalhes da falha.
video_url quando a tarefa é concluída.
Verifique estes campos
statuséqueued,in_progress,completedoufailed.progressé uma porcentagem aproximada de conclusão, de0a100.video_urlaparece quando a tarefa é concluída.erroraparece quando a tarefa falha.
Consultar a tarefa
Crie a tarefa primeiro
id retornado.Recuperar o estado da tarefa
status seja completed ou failed.Baixar o arquivo MP4
status for completed, chame Baixar conteúdo de vídeo MiniMax H3.Autorizações
Bearer authentication. Use your CometAPI API key.
Parâmetros de caminho
Task ID returned by POST /v1/videos.
Resposta
Current MiniMax H3 video task state.
Task ID. Use this value as task_id in retrieve and content requests.
"<task_id>"
Object type for the asynchronous video task.
"video"Model ID that the task uses.
minimax-h3, minimax-h3-max Task lifecycle status. Poll until the value is completed or failed.
queued, in_progress, completed, failed Task progress as a coarse percentage.
0 <= x <= 100Task creation time as a Unix timestamp in seconds.
Compatibility alias for id. This field can be omitted from retrieve responses.
"<task_id>"
Unix timestamp returned by the platform. Use status, not this field, to decide when polling can stop.
Result expiration time as a Unix timestamp in seconds when the task provides one.
Video delivery URL. This field appears on completed tasks.
"https://<provider-cdn>/<video_id>.mp4"
Failure details. This field appears when the task fails.