PopNowDocs da API
Conteúdo principal

Referência da API do MiniMax H3 HighSpeed

Vídeos com som em 768p a partir de texto, imagens ou referências

Com uma única chave de API da PopNow você chama o MiniMax H3 HighSpeed direto do seu código. Aqui estão os IDs de modelo a enviar, cada campo de entrada aceito, quanto custa cada requisição em USD e um exemplo que você cola no terminal e roda.

As descrições dos parâmetros vêm do schema de entrada do modelo e estão disponíveis só em inglês.

Resumo

Desenvolvedor
MiniMax
Resultado
Vídeo
A partir de
$0.06 USD por segundo gerado

Os preços são exibidos em USD e os valores são descontados do seu saldo PopNow. Ao aceitar a tarefa, o valor máximo é reservado; ao concluir, o uso real é cobrado e o restante liberado. Tarefas com falha não são cobradas. Consulte POST /api/v1/jobs/quote para obter uma cotação exata antes de executar.

Criar vídeo

minimax/h3-highspeed/text-to-video

Preço

OpçãoUSD
Padrão$0.06 por segundo gerado

Parâmetros

CampoTipoPadrãoValores aceitosPara que serve
promptObrigatóriostring—até 7.000 caracteresDescribe the scene, the people, the action, the camera and the sound. Put spoken lines in double quotes.
aspect_ratioOpcionalstring16:916:9, 9:16, 1:1, 4:3, 3:4, 21:9Output aspect ratio.
resolutionOpcionalstring768p768pOutput resolution. This model renders 768p only.
duration_secondsOpcionalinteger5de 4 a 15Output length in whole seconds, from 4 to 15. Billed per second.

Exemplo de requisição

Esta requisição roda do jeito que está; os campos que você omitir usam o valor padrão. Antes, coloque sua chave em POPNOW_API_KEY.

POST /api/v1/jobs/createTask
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "minimax/h3-highspeed/text-to-video",
  "input": {
    "prompt": "A paper boat drifts down a rain-soaked street at dusk, neon signs reflecting in the water, slow tracking shot at ground level",
    "duration_seconds": 5,
    "resolution": "768p"
  }
}'

A resposta já traz um taskId. Busque o resultado com GET /api/v1/jobs/recordInfo ou inclua callBackUrl para ser avisado.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Imagem para vídeo

minimax/h3-highspeed/image-to-video

Preço

OpçãoUSD
Padrão$0.06 por segundo gerado

Parâmetros

CampoTipoPadrãoValores aceitosPara que serve
promptObrigatóriostring—até 7.000 caracteresDescribe what happens after the opening frame: the action, spoken lines in double quotes, the camera and the sound.
image_urlObrigatóriostring (uri)——Opening frame. The clip starts from this image and keeps its shape. 256 to 5,760 pixels per side, width-to-height ratio 0.4 to 2.5.
last_image_urlOpcionalstring (uri)——Optional closing frame. The clip ends on this image.
resolutionOpcionalstring768p768pOutput resolution. This model renders 768p only.
duration_secondsOpcionalinteger5de 4 a 15Output length in whole seconds, from 4 to 15. Billed per second.

Exemplo de requisição

Esta requisição roda do jeito que está; os campos que você omitir usam o valor padrão. Antes, coloque sua chave em POPNOW_API_KEY.

O exemplo usa arquivos de amostra da PopNow em image_url. Troque pelos seus próprios links HTTPS públicos, uploads ou assets salvos.

POST /api/v1/jobs/createTask
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "minimax/h3-highspeed/image-to-video",
  "input": {
    "prompt": "He lands softly on the rooftop, laughs and turns toward the camera while the balloons sway in the evening breeze; slow push-in",
    "image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
    "duration_seconds": 5,
    "resolution": "768p"
  }
}'

A resposta já traz um taskId. Busque o resultado com GET /api/v1/jobs/recordInfo ou inclua callBackUrl para ser avisado.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Referências para vídeo

minimax/h3-highspeed/reference-to-video

Preço

OpçãoUSD
Padrão$0.06 por segundo gerado

Parâmetros

CampoTipoPadrãoValores aceitosPara que serve
promptObrigatóriostring—até 7.000 caracteresDescribe the scene and refer to each reference by type and position: "the woman from Image 1", "the motion of Video 1", "the voice of Audio 1".
reference_image_urlsOpcionalarray<string (uri)>—até 9 itensUp to nine reference images: people, outfits, products or places, in the order your prompt refers to them. The first five are included; each image after the fifth adds a small charge.
reference_video_urlsOpcionalarray<string (uri)>—até 3 itensUp to three reference videos, 2 to 15 seconds each and 15 seconds in total, for a motion or a scene to follow. Their seconds are billed like output seconds.
reference_audio_urlsOpcionalarray<string (uri)>—até 3 itensUp to three WAV or MP3 clips for a voice or a sound, 2 to 15 seconds each and 15 seconds in total. Send at least one image or video with them. Free.
aspect_ratioOpcionalstring16:916:9, 9:16, 1:1, 4:3, 3:4, 21:9Output aspect ratio.
resolutionOpcionalstring768p768pOutput resolution. This model renders 768p only.
duration_secondsOpcionalinteger5de 4 a 15Output length in whole seconds, from 4 to 15. Billed per second.

Exemplo de requisição

Esta requisição roda do jeito que está; os campos que você omitir usam o valor padrão. Antes, coloque sua chave em POPNOW_API_KEY.

O exemplo usa arquivos de amostra da PopNow em reference_image_urls. Troque pelos seus próprios links HTTPS públicos, uploads ou assets salvos.

POST /api/v1/jobs/createTask
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "minimax/h3-highspeed/reference-to-video",
  "input": {
    "prompt": "The man from the reference image jogs across a sunlit rooftop at golden hour and smiles at the camera; smooth tracking shot",
    "reference_image_urls": [
      "https://media.popnow.ai/influencer/examples/ava.webp"
    ],
    "duration_seconds": 5,
    "resolution": "768p"
  }
}'

A resposta já traz um taskId. Busque o resultado com GET /api/v1/jobs/recordInfo ou inclua callBackUrl para ser avisado.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Próximos passos

Nesta página