curl --request POST \ --url https://api.apimart.ai/v1/videos/generations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "MiniMax-H3-Max", "prompt": "Um detetive de sobretudo se vira em uma rua iluminada por néon sob a chuva. A câmera se aproxima lentamente.", "duration": 5, "resolution": "768P", "aspect_ratio": "16:9" }'
import requestsresponse = requests.post( "https://api.apimart.ai/v1/videos/generations", headers={"Authorization": "Bearer <token>", "Content-Type": "application/json"}, json={ "model": "MiniMax-H3-Max", "prompt": "Um detetive se vira em uma rua de néon sob a chuva.", "duration": 5, "resolution": "768P", "aspect_ratio": "16:9", },)print(response.json())
Versão rápida do MiniMax Video Generation V2 com envio assíncrono de tarefas
Suporta texto para vídeo, controle dos quadros inicial/final e geração com referências multimodais
Suporta 480P / 768P / 1080P e vídeos de 5 a 15 segundos com áudio
Suporta imagens, vídeos e áudios de referência; não suporta 2K nem quadros intermediários
POST
/
v1
/
videos
/
generations
curl --request POST \ --url https://api.apimart.ai/v1/videos/generations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "MiniMax-H3-Max", "prompt": "Um detetive de sobretudo se vira em uma rua iluminada por néon sob a chuva. A câmera se aproxima lentamente.", "duration": 5, "resolution": "768P", "aspect_ratio": "16:9" }'
import requestsresponse = requests.post( "https://api.apimart.ai/v1/videos/generations", headers={"Authorization": "Bearer <token>", "Content-Type": "application/json"}, json={ "model": "MiniMax-H3-Max", "prompt": "Um detetive se vira em uma rua de néon sob a chuva.", "duration": 5, "resolution": "768P", "aspect_ratio": "16:9", },)print(response.json())
Escolha do modelo:MiniMax-H3-Max é indicado para geração rápida a partir de texto, controle dos quadros inicial/final e referências multimodais em 480P, 768P ou 1080P. Para 2K ou quadros intermediários, use MiniMax-H3.
curl --request POST \ --url https://api.apimart.ai/v1/videos/generations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "MiniMax-H3-Max", "prompt": "Um detetive de sobretudo se vira em uma rua iluminada por néon sob a chuva. A câmera se aproxima lentamente.", "duration": 5, "resolution": "768P", "aspect_ratio": "16:9" }'
import requestsresponse = requests.post( "https://api.apimart.ai/v1/videos/generations", headers={"Authorization": "Bearer <token>", "Content-Type": "application/json"}, json={ "model": "MiniMax-H3-Max", "prompt": "Um detetive se vira em uma rua de néon sob a chuva.", "duration": 5, "resolution": "768P", "aspect_ratio": "16:9", },)print(response.json())
As primeiras 2 imagens são gratuitas; as adicionais são cobradas por imagem
Custo de vídeos de referência
Pela duração de entrada, com a mesma tarifa da saída de igual resolução
Pela duração de entrada, com tarifa independente
Marca d’água AIGC
Suportada
Suportada em 480P / 768P; indisponível em 1080P
MiniMax-H3-Max não suporta 2K e sua saída não pode ser usada como origem para Regeneration.
Modos de geração
Os campos da solicitação determinam o modo automaticamente; não envie mode.
Modo
Acionador
Comportamento
Texto para vídeo (T2V)
Apenas prompt e campos comuns
Geração a partir de texto
Imagem para vídeo (I2V)
first_frame_image / last_frame_image ou funções equivalentes em image_with_roles
Controla o primeiro, o último ou ambos os quadros
Referências multimodais (R2V)
image_urls / video_urls / audio_urls ou reference_image em image_with_roles
Gera com imagens, vídeos e áudios de referência; também em 1080P
Os quadros inicial/final não podem ser combinados com referências. O áudio de referência exige pelo menos uma imagem ou vídeo de referência. Combinações inválidas retornam HTTP 400 de forma síncrona, sem criar nem cobrar uma tarefa.
Parâmetros da solicitação
string
obrigatório
Valor fixo: MiniMax-H3-Max. Não diferencia maiúsculas e minúsculas; minimax-h3-max também é aceito.
boolean
padrão:"false"
Define se o conteúdo deve ser moderado antes do envio da tarefa de vídeo.
true: verificar prompts e imagens de entrada com omni-moderation-latest
false ou omitido: não enviar solicitação de moderação, sem custo nem latência adicionais de moderação (padrão)
string
obrigatório
Descrição não vazia do vídeo, obrigatória em todos os modos. Máximo de 7000 caracteres.
integer
padrão:"5"
Duração em segundos: inteiro de 5 a 15, padrão 5. Quatro segundos não são suportados.
string
padrão:"768P"
Resolução de saída: 480P, 768P (padrão) ou 1080P.Em 1080P, omita watermark e seu alias aigc_watermark, mesmo que o valor seja false.
2K, 1440P e 2048P não são suportados. Um valor inválido retorna HTTP 400 sem redução automática.
string
Proporção de saída. Os aliases size e ratio também são aceitos.Valores T2V: 21:9, 16:9, 4:3, 1:1, 3:4, 9:16.
T2V sem o campo ou com adaptive: usa 16:9
I2V: determinada pela imagem de entrada; este campo é ignorado
Referências multimodais: opcional, padrão adaptive; também permite uma proporção específica
string
URL pública da imagem usada como primeiro quadro.
string
URL pública da imagem usada como último quadro. Pode ser usada sozinha ou com first_frame_image.
object[]
Array de imagens com papéis que pode substituir first_frame_image, last_frame_image ou image_urls.
Mostrar Item de image_with_roles
string
obrigatório
URL pública da imagem
string
Funções suportadas:
first_frame; aliases first e start
last_frame; aliases last, end_frame e tail
reference_image: imagem de referência; alias reference; papel vazio é tratado como referência
No máximo um quadro inicial e um final. As referências deste array e de image_urls somam no máximo 9 imagens. Não misture papéis de quadro com papéis de referência.
string[]
Array de URLs públicas de imagens de referência. No máximo 9 imagens junto com as referências de image_with_roles. Todas são referências, nunca automaticamente quadros inicial/final. Para o quadro inicial, use first_frame_image ou o papel first_frame.
string[]
Array de URLs públicas de vídeos de referência; para um único vídeo, também aceita video_url (string). No máximo 3 clipes, cada um de 2 a 15 segundos, com duração total dos vídeos de referência de até 15 segundos.A duração dos vídeos de referência é lida no envio para cobrança. Se não puder ser lida, retorna HTTP 400 de forma síncrona, sem criar nem cobrar uma tarefa.
string[]
Array de URLs públicas de áudios de referência; para um único clipe, também aceita audio_url (string). No máximo 3 clipes, cada um de 2 a 15 segundos, com duração total dos áudios de referência de até 15 segundos. Exige pelo menos uma imagem ou vídeo de referência; áudio isolado não é permitido.
boolean
padrão:"false"
Adiciona marca d’água AIGC. Alias: aigc_watermark.Marcas d’água são suportadas apenas em 480P / 768P. Em 1080P, omita watermark e seu alias aigc_watermark, mesmo que o valor seja false.
string
Recebe uma notificação quando a tarefa termina com sucesso ou falha.
Use webhook, não o callback_url da MiniMax. O gateway reserva callback_url para uso interno.
Restrições de parâmetros
Os parâmetros ou combinações inválidos abaixo retornam HTTP 400 antes da criação e cobrança da tarefa:
Parâmetro / valor
Motivo
Quadros inicial/final combinados com referências
I2V e R2V são mutuamente exclusivos
Mais de 9 imagens de referência ou mais de 3 vídeos ou áudios de referência
Limite de quantidade excedido
Apenas áudio de referência
Exige imagem ou vídeo de referência
resolution: "2K"
Apenas 480P, 768P e 1080P são suportados
duration: 4 ou acima de 15
Apenas 5–15 segundos
Cada vídeo e áudio de referência deve durar de 2 a 15 segundos. Os totais de vídeo e áudio são calculados separadamente, até 15 segundos cada. Corte os materiais longos antes do envio; eles não são entradas válidas.
Em 1080P, omita watermark e seu alias aigc_watermark, mesmo que o valor seja false.
Para 2K, quadros intermediários ou vídeos de 4 segundos, use MiniMax-H3 e ajuste os parâmetros.
Limites de mídia de entrada
O corpo total da solicitação não deve exceder 64 MB. Use URLs públicas para imagens, vídeos e áudios, sem Base64.
Imagens
Item
Limite
Formatos
JPG / JPEG / PNG / WEBP / HEIC / HEIF
Por arquivo
≤ 30 MB
Largura e altura
256–5760 px
Proporção
0,4–2,5
Quantidade
No máximo 1 quadro inicial, 1 final e 9 referências; não misture quadros com referências
Vídeos de referência
Item
Limite
Formatos
MP4 / MOV, H.264 / H.265
Por arquivo
≤ 50 MB
Quantidade
≤ 3
Duração por clipe
2–15 s
Duração total
≤ 15 s
Largura e altura
256–5760 px
Proporção
0.4–2.5
Taxa de quadros
23.976–60 fps
Áudios de referência
Item
Limite
Formatos
WAV / MP3
Por arquivo
≤ 15 MB
Quantidade
≤ 3
Duração por clipe
2–15 s
Duração total
≤ 15 s
O áudio de referência exige uma imagem ou vídeo de referência. As durações totais de vídeo e áudio são calculadas separadamente, até 15 segundos cada.Mídias fora dos requisitos podem falhar durante a geração; tarefas com falha são reembolsadas automaticamente.
Exemplos
Imagem para vídeo com primeiro quadro
{ "model": "MiniMax-H3-Max", "prompt": "A câmera se aproxima lentamente enquanto o vapor sobe.", "first_frame_image": "https://cdn.example.com/ramen.png", "duration": 5, "resolution": "480P"}
Imagem para vídeo com primeiro e último quadros
{ "model": "MiniMax-H3-Max", "prompt": "A cena passa gradualmente da manhã ao pôr do sol.", "first_frame_image": "https://cdn.example.com/morning.png", "last_frame_image": "https://cdn.example.com/sunset.png", "duration": 8, "resolution": "768P"}
Texto para vídeo em 1080P
Em 1080P, omita watermark e seu alias aigc_watermark, mesmo que o valor seja false.
{ "model": "MiniMax-H3-Max", "prompt": "Pôr do sol no litoral, ondas suaves na praia, aproximação lenta da câmera, textura cinematográfica.", "duration": 5, "resolution": "1080P", "aspect_ratio": "16:9"}
Geração com referências multimodais
Cada vídeo e áudio de referência deve durar de 2 a 15 segundos. Os totais de vídeo e áudio são calculados separadamente, até 15 segundos cada. Corte os materiais longos antes do envio; eles não são entradas válidas.
{ "model": "MiniMax-H3-Max", "prompt": "O personagem da imagem de referência corre pela cena do vídeo de referência no ritmo do áudio de referência.", "image_urls": [ "https://cdn.example.com/role.png" ], "video_urls": [ "https://cdn.example.com/scene.mp4" ], "audio_urls": [ "https://cdn.example.com/beat.mp3" ], "duration": 6, "resolution": "1080P", "aspect_ratio": "16:9"}
Consultar uma tarefa
O envio retorna task_id. Consulte o status da tarefa a cada 5–10 segundos e use timeout de 15 minutos.
status
Significado
pending
Enviada ou na fila
processing
Em geração
completed
URL do vídeo em result.videos[0].url
failed
Consulte error.message; reembolso automático
As URLs geradas normalmente expiram em cerca de 24 horas. Baixe e armazene o resultado rapidamente.
Preços
O custo total inclui o vídeo gerado, imagens adicionais e vídeos de referência:
Custo total = tarifa de geração por segundo × duração de saída + tarifa por imagem adicional × max(0, quantidade de imagens de entrada − 2) + tarifa de vídeo de referência por segundo × duração total dos vídeos de referência
Quadros inicial/final e imagens de referência são contados juntos. As primeiras 2 imagens são gratuitas; as adicionais são cobradas por imagem. Vídeos de referência totalizam no máximo 15 segundos.
Item
Preço
Vídeo 1080P
Conforme os preços do modelo
Vídeo 768P
Conforme os preços do modelo
Vídeo 480P
Conforme os preços do modelo
Imagens de entrada
As primeiras 2 imagens são gratuitas; as adicionais são cobradas por imagem; Conforme os preços do modelo
Vídeos de referência
Cobrado por segundo de entrada conforme os preços do modelo; varia com a resolução de saída e é separado da tarifa de geração
Áudios de referência
Grátis
Exemplo
Custo
768P / 5s
768P tarifa de geração × 5
768P / 10s
768P tarifa de geração × 10
480P / 10s
480P tarifa de geração × 10
480P / 15s
480P tarifa de geração × 15
768P / 5s + Imagens × 3
768P tarifa de geração × 5 + tarifa por imagem adicional × 1
480P / 10s + Vídeos de referência (12s)
480P tarifa de geração × 10 + 480P tarifa de vídeo de referência × 12
1080P / 5s + Imagens × 2 + Áudios de referência
1080P tarifa de geração × 5
Todas as tarifas seguem os preços do modelo. No exemplo 1080P com 2 imagens de referência e áudio de referência, imagens e áudio são gratuitos.O valor estimado é reservado no envio. Tarefas com falha recebem reembolso integral; o campo cost da tarefa é definitivo.
Erros
Cenário
Resultado
prompt vazio ou acima de 7000 caracteres
400; nenhuma tarefa
duration fora de 5–15
400; nenhuma tarefa
resolution não suportada
400; nenhuma tarefa
Quadros inicial/final combinados com referências / Apenas áudio de referência
400; nenhuma tarefa
Mais de 9 imagens de referência ou mais de 3 vídeos ou áudios de referência
400; nenhuma tarefa
Não foi possível ler a duração do vídeo de referência
400; nenhuma tarefa
Papel de imagem inválido ou mais de uma imagem para o mesmo papel de quadro inicial/final
400; nenhuma tarefa
Saldo insuficiente
402
Rejeição de segurança
422
Limite de solicitações
429; tente novamente com backoff
Falhas na geração retornam status = failed e error.message, com reembolso automático.
Response
integer
Código de resposta; 200 em caso de sucesso
array
Resultado do envio com status inicial e ID da tarefa
Mostrar Item do array
string
Inicialmente submitted
string
ID exclusivo usado para consultar progresso e resultado
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"APIMart","colors":{"primary":"#2563EB","light":"#3B82F6","dark":"#1D4ED8"},"favicon":"https://mintcdn.com/apicore/1GnRrmOhqkTFCvFb/logo/logo.png?fit=max\u0026auto=format\u0026n=1GnRrmOhqkTFCvFb\u0026q=85\u0026s=609be15c3f1f4e4b765c5945c2871ae9","navbar":{"links":[{"icon":"x-twitter","href":"https://x.com/APIMart_","label":""},{"icon":"discord","href":"https://discord.gg/V8zqssyZ5c","label":""},{"icon":"weixin","href":"https://cdn.apimart.ai/social-media/wechat.jpg","label":""}],"primary":{"type":"button","label":"Dashboard","href":"https://apimart.ai"}},"footer":{"socials":{"x":"https://x.com/APIMart_","website":"https://apimart.ai","discord":"https://discord.gg/V8zqssyZ5c"}},"seo":{"metatags":{"og:site_name":"APIMart","og:type":"website","keywords":"OpenAI compatible, API gateway, GPT-5, Claude, Gemini, multi-provider, transparent pricing, SLA","twitter:card":"summary_large_image","twitter:site":"@APIMart_","twitter:creator":"@APIMart_"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","href":"en"},{"language":"zh-Hans","href":"cn"},{"language":"ja","href":"ja"},{"language":"ko","href":"ko"},{"language":"ru","href":"ru"},{"language":"de","href":"de"},{"language":"fr","href":"fr"},{"language":"pt","href":"pt"},{"language":"id","href":"id"},{"language":"es","href":"es"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"apicore","hasAudioNarration":false,"actualSubdomain":"apicore","customDomains":["docs.apimart.ai"],"gitSource":{"type":"github","owner":"apimart-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6ae1c97b1297abb2484bbfc0"},"entitlements":{},"buildId":"6b0d42e7929f351b8e58a719","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"zh-Hans","tag":"API 手册","count":178},{"language":"de","tag":"API-Handbuch","count":178},{"language":"en","tag":"API Manual","count":178},{"language":"es","tag":"Manual de la API","count":178},{"language":"fr","tag":"Manuel API","count":178},{"language":"id","tag":"Panduan API","count":178},{"language":"ja","tag":"APIマニュアル","count":178},{"language":"ko","tag":"API 매뉴얼","count":178},{"language":"pt","tag":"Manual da API","count":178},{"language":"ru","tag":"Руководство API","count":178},{"language":"zh-Hans","tag":"图像系列","count":57},{"language":"de","tag":"Bildserie","count":57},{"language":"en","tag":"Image Series","count":57},{"language":"es","tag":"Serie de imágenes","count":57},{"language":"fr","tag":"Série Image","count":57},{"language":"id","tag":"Seri Gambar","count":57},{"language":"ja","tag":"画像シリーズ","count":57},{"language":"ko","tag":"이미지 시리즈","count":57},{"language":"pt","tag":"Série de Imagem","count":57},{"language":"ru","tag":"Серия изображений","count":57},{"language":"zh-Hans","tag":"音频系列","count":51},{"language":"de","tag":"Audioserie","count":51},{"language":"en","tag":"Audio Series","count":51},{"language":"es","tag":"Serie de audio","count":51},{"language":"fr","tag":"Série Audio","count":51},{"language":"id","tag":"Seri Audio","count":51},{"language":"ja","tag":"オーディオシリーズ","count":51},{"language":"ko","tag":"오디오 시리즈","count":51},{"language":"pt","tag":"Série de Áudio","count":51},{"language":"ru","tag":"Аудиосерия","count":51},{"language":"zh-Hans","tag":"视频系列","count":48},{"language":"de","tag":"Videoserie","count":48},{"language":"en","tag":"Video Series","count":48},{"language":"es","tag":"Serie de video","count":48},{"language":"fr","tag":"Série Vidéo","count":48},{"language":"id","tag":"Seri Video","count":48},{"language":"ja","tag":"動画シリーズ","count":48},{"language":"ko","tag":"비디오 시리즈","count":48},{"language":"pt","tag":"Série de Vídeo","count":48},{"language":"ru","tag":"Видеосерия","count":48},{"language":"zh-Hans","tag":"Suno","count":35},{"language":"de","tag":"Suno","count":35},{"language":"en","tag":"Suno","count":35},{"language":"es","tag":"Suno","count":35},{"language":"fr","tag":"Suno","count":35},{"language":"id","tag":"Suno","count":35},{"language":"ja","tag":"Suno","count":35},{"language":"ko","tag":"Suno","count":35},{"language":"pt","tag":"Suno","count":35},{"language":"ru","tag":"Suno","count":35},{"language":"zh-Hans","tag":"Midjourney","count":19},{"language":"de","tag":"Midjourney","count":19},{"language":"en","tag":"Midjourney","count":19},{"language":"es","tag":"Midjourney","count":19},{"language":"fr","tag":"Midjourney","count":19},{"language":"id","tag":"Midjourney","count":19},{"language":"ja","tag":"Midjourney","count":19},{"language":"ko","tag":"Midjourney","count":19},{"language":"pt","tag":"Midjourney","count":19},{"language":"ru","tag":"Midjourney","count":19},{"language":"zh-Hans","tag":"Flow Music","count":14},{"language":"de","tag":"Flow Music","count":14},{"language":"en","tag":"Flow Music","count":14},{"language":"es","tag":"Flow Music","count":14},{"language":"fr","tag":"Flow Music","count":14},{"language":"id","tag":"Flow Music","count":14},{"language":"ja","tag":"Flow Music","count":14},{"language":"ko","tag":"Flow Music","count":14},{"language":"pt","tag":"Flow Music","count":14},{"language":"ru","tag":"Flow Music","count":14},{"language":"ja","tag":"よくある質問","count":12},{"language":"ko","tag":"자주 묻는 질문","count":12},{"language":"zh-Hans","tag":"集成指南","count":11},{"language":"de","tag":"Integrationen","count":11},{"language":"en","tag":"Integrations","count":11},{"language":"es","tag":"Integraciones","count":11},{"language":"fr","tag":"Intégrations","count":11},{"language":"id","tag":"Integrasi","count":11},{"language":"ja","tag":"統合ガイド","count":11},{"language":"ko","tag":"통합 가이드","count":11},{"language":"pt","tag":"Integrações","count":11},{"language":"ru","tag":"Интеграции","count":11},{"language":"zh-Hans","tag":"文字系列","count":10},{"language":"de","tag":"Textserie","count":10},{"language":"en","tag":"Text Series","count":10},{"language":"es","tag":"Serie de texto","count":10},{"language":"fr","tag":"Série Texte","count":10},{"language":"id","tag":"Seri Teks","count":10},{"language":"ja","tag":"テキストシリーズ","count":10},{"language":"ko","tag":"텍스트 시리즈","count":10},{"language":"pt","tag":"Série de Texto","count":10},{"language":"ru","tag":"Текстовая серия","count":10},{"language":"zh-Hans","tag":"概览","count":7},{"language":"de","tag":"Übersicht","count":7},{"language":"en","tag":"Overview","count":7},{"language":"es","tag":"Visión general","count":7},{"language":"fr","tag":"Aperçu","count":7},{"language":"id","tag":"Ikhtisar","count":7},{"language":"pt","tag":"Visão Geral","count":7},{"language":"ru","tag":"Обзор","count":7}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"[id^=\"param-\"] a[href^=\"#param-\"]{display:none}[id^=\"param-\"] button[data-component-part=\"field-name\"]{display:inline-flex;align-items:center;gap:6px;margin:-2px -4px;padding:2px 4px;border-radius:6px;cursor:copy;user-select:text;transition:background-color 150ms ease}[id^=\"param-\"] button[data-component-part=\"field-name\"]:hover{background:rgb(37 99 235 / 8%)}[id^=\"param-\"] button[data-component-part=\"field-name\"]:not([data-copy-state])::after{content:\"\";display:inline-block;flex:0 0 auto;width:16px;height:16px;background-color:rgb(100 116 139);-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='14' height='14' x='8' y='8' rx='2' ry='2'/%3E%3Cpath d='M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2'/%3E%3C/svg%3E\") center / contain no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='14' height='14' x='8' y='8' rx='2' ry='2'/%3E%3Cpath d='M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2'/%3E%3C/svg%3E\") center / contain no-repeat;transition:background-color 150ms ease}[id^=\"param-\"] button[data-component-part=\"field-name\"]:hover::after{background-color:rgb(37 99 235)}[id^=\"param-\"] button[data-component-part=\"field-name\"][data-copy-state=\"copied\"]::after{content:\"\";display:inline-block;flex:0 0 auto;width:16px;height:16px;background-color:rgb(5 150 105);-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E\") center / contain no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E\") center / contain no-repeat}[id^=\"param-\"] button[data-component-part=\"field-name\"][data-copy-state=\"failed\"]::after{content:\"\";display:inline-block;flex:0 0 auto;width:16px;height:16px;background-color:rgb(220 38 38);-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E\") center / contain no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E\") center / contain no-repeat}html.dark [id^=\"param-\"] button[data-component-part=\"field-name\"]:not([data-copy-state])::after{background-color:rgb(203 213 225)}"}]}
{"page":{"pagePath":"pt/api-reference/videos/minimax-h3/max","slug":"/pt/api-reference/videos/minimax-h3/max","pageMetadata":{"title":"Geração de vídeo MiniMax-H3-Max","description":" - Versão rápida do MiniMax Video Generation V2 com envio assíncrono de tarefas\n- Suporta texto para vídeo, controle dos quadros inicial/final e geração com referências multimodais\n- Suporta 480P / 768P / 1080P e vídeos de 5 a 15 segundos com áudio\n- Suporta imagens, vídeos e áudios de referência; não suporta 2K nem quadros intermediários ","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/minimax-h3/max"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n li: \"li\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"Versão rápida do MiniMax Video Generation V2 com envio assíncrono de tarefas\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Suporta texto para vídeo, controle dos quadros inicial/final e geração com referências multimodais\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Suporta 480P / 768P / 1080P e vídeos de 5 a 15 segundos com áudio\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Suporta imagens, vídeos e áudios de referência; não suporta 2K nem quadros intermediários\"\n }), \"\\n\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Info,Note,ParamField,ResponseField,Table,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Escolha do modelo:`}),` `,_jsx(_components.code,{children:`MiniMax-H3-Max`}),` é indicado para geração rápida a partir de texto, controle dos quadros inicial/final e referências multimodais em 480P, 768P ou 1080P. Para 2K ou quadros intermediários, use `,_jsx(_components.a,{href:`/pt/api-reference/videos/minimax-h3/generation`,children:`MiniMax-H3`}),`.`]})}),`\n`,`\n`,`\n`,_jsx(Heading,{level:`2`,id:`autenticação`,children:`Autenticação`}),`\n`,_jsxs(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:[_jsxs(_components.p,{children:[`Todos os endpoints exigem Bearer Token. Obtenha sua chave na `,_jsx(_components.a,{href:`https://apimart.ai/keys`,children:`página de chaves de API`}),`.`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Authorization: Bearer YOUR_API_KEY`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`escolha-do-modelo`,children:`Escolha do modelo`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Capacidade`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`MiniMax-H3`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`MiniMax-H3-Max`})})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Resolução`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`2K`}),` / `,_jsx(_components.code,{children:`768P`}),`, padrão `,_jsx(_components.code,{children:`2K`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`480P`}),` / `,_jsx(_components.code,{children:`768P`}),` / `,_jsx(_components.code,{children:`1080P`}),`, padrão `,_jsx(_components.code,{children:`768P`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Duração`}),_jsx(_components.td,{children:`4–15 segundos`}),_jsx(_components.td,{children:`5–15 segundos`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Texto para vídeo`}),_jsx(_components.td,{children:`Suportado`}),_jsx(_components.td,{children:`Suportado`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Primeiro / último quadro`}),_jsx(_components.td,{children:`Suportado`}),_jsx(_components.td,{children:`Suportado`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Quadro intermediário`}),_jsx(_components.td,{children:`Suportado`}),_jsx(_components.td,{children:`Não suportado`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Referências multimodais`}),_jsx(_components.td,{children:`Imagem, vídeo e áudio`}),_jsx(_components.td,{children:`Imagem, vídeo e áudio`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Custo das imagens de entrada`}),_jsx(_components.td,{children:`Primeiras 5 grátis`}),_jsx(_components.td,{children:`As primeiras 2 imagens são gratuitas; as adicionais são cobradas por imagem`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Custo de vídeos de referência`}),_jsx(_components.td,{children:`Pela duração de entrada, com a mesma tarifa da saída de igual resolução`}),_jsx(_components.td,{children:`Pela duração de entrada, com tarifa independente`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Marca d’água AIGC`}),_jsx(_components.td,{children:`Suportada`}),_jsx(_components.td,{children:`Suportada em 480P / 768P; indisponível em 1080P`})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`MiniMax-H3-Max`}),` não suporta 2K e sua saída não pode ser usada como origem para `,_jsx(_components.a,{href:`/pt/api-reference/videos/minimax-h3/regeneration`,children:`Regeneration`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`modos-de-geração`,children:`Modos de geração`}),`\n`,_jsxs(_components.p,{children:[`Os campos da solicitação determinam o modo automaticamente; não envie `,_jsx(_components.code,{children:`mode`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Modo`}),_jsx(_components.th,{children:`Acionador`}),_jsx(_components.th,{children:`Comportamento`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Texto para vídeo (T2V)`}),_jsxs(_components.td,{children:[`Apenas `,_jsx(_components.code,{children:`prompt`}),` e campos comuns`]}),_jsx(_components.td,{children:`Geração a partir de texto`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Imagem para vídeo (I2V)`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`first_frame_image`}),` / `,_jsx(_components.code,{children:`last_frame_image`}),` ou funções equivalentes em `,_jsx(_components.code,{children:`image_with_roles`})]}),_jsx(_components.td,{children:`Controla o primeiro, o último ou ambos os quadros`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Referências multimodais (R2V)`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`image_urls`}),` / `,_jsx(_components.code,{children:`video_urls`}),` / `,_jsx(_components.code,{children:`audio_urls`}),` ou `,_jsx(_components.code,{children:`reference_image`}),` em `,_jsx(_components.code,{children:`image_with_roles`})]}),_jsx(_components.td,{children:`Gera com imagens, vídeos e áudios de referência; também em 1080P`})]})]})]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Os quadros inicial/final não podem ser combinados com referências. O áudio de referência exige pelo menos uma imagem ou vídeo de referência. Combinações inválidas retornam HTTP 400 de forma síncrona, sem criar nem cobrar uma tarefa.`})}),`\n`,_jsx(Heading,{level:`2`,id:`parâmetros-da-solicitação`,children:`Parâmetros da solicitação`}),`\n`,_jsx(ParamField,{body:`model`,type:`string`,required:true,id:`param-model`,children:_jsxs(_components.p,{children:[`Valor fixo: `,_jsx(_components.code,{children:`MiniMax-H3-Max`}),`. Não diferencia maiúsculas e minúsculas; `,_jsx(_components.code,{children:`minimax-h3-max`}),` também é aceito.`]})}),`\n`,_jsxs(ParamField,{body:`nsfw_check`,type:`boolean`,default:`false`,id:`param-nsfw-check`,children:[_jsx(_components.p,{children:`Define se o conteúdo deve ser moderado antes do envio da tarefa de vídeo.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`true`}),`: verificar prompts e imagens de entrada com `,_jsx(_components.code,{children:`omni-moderation-latest`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`false`}),` ou omitido: não enviar solicitação de moderação, sem custo nem latência adicionais de moderação (padrão)`]}),`\n`]})]}),`\n`,_jsx(ParamField,{body:`prompt`,type:`string`,required:true,id:`param-prompt`,children:_jsxs(_components.p,{children:[`Descrição não vazia do vídeo, obrigatória em todos os modos. Máximo de `,_jsx(_components.code,{children:`7000`}),` caracteres.`]})}),`\n`,_jsx(ParamField,{body:`duration`,type:`integer`,default:`5`,id:`param-duration`,children:_jsxs(_components.p,{children:[`Duração em segundos: inteiro de `,_jsx(_components.code,{children:`5`}),` a `,_jsx(_components.code,{children:`15`}),`, padrão `,_jsx(_components.code,{children:`5`}),`. Quatro segundos não são suportados.`]})}),`\n`,_jsxs(ParamField,{body:`resolution`,type:`string`,default:`768P`,id:`param-resolution`,children:[_jsxs(_components.p,{children:[`Resolução de saída: `,_jsx(_components.code,{children:`480P`}),`, `,_jsx(_components.code,{children:`768P`}),` (padrão) ou `,_jsx(_components.code,{children:`1080P`}),`.`]}),_jsxs(_components.p,{children:[`Em `,_jsx(_components.code,{children:`1080P`}),`, omita `,_jsx(_components.code,{children:`watermark`}),` e seu alias `,_jsx(_components.code,{children:`aigc_watermark`}),`, mesmo que o valor seja `,_jsx(_components.code,{children:`false`}),`.`]}),_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`2K`}),`, `,_jsx(_components.code,{children:`1440P`}),` e `,_jsx(_components.code,{children:`2048P`}),` não são suportados. Um valor inválido retorna HTTP 400 sem redução automática.`]})})]}),`\n`,_jsxs(ParamField,{body:`aspect_ratio`,type:`string`,id:`param-aspect-ratio`,children:[_jsxs(_components.p,{children:[`Proporção de saída. Os aliases `,_jsx(_components.code,{children:`size`}),` e `,_jsx(_components.code,{children:`ratio`}),` também são aceitos.`]}),_jsxs(_components.p,{children:[`Valores T2V: `,_jsx(_components.code,{children:`21:9`}),`, `,_jsx(_components.code,{children:`16:9`}),`, `,_jsx(_components.code,{children:`4:3`}),`, `,_jsx(_components.code,{children:`1:1`}),`, `,_jsx(_components.code,{children:`3:4`}),`, `,_jsx(_components.code,{children:`9:16`}),`.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`T2V sem o campo ou com `,_jsx(_components.code,{children:`adaptive`}),`: usa `,_jsx(_components.code,{children:`16:9`})]}),`\n`,_jsx(_components.li,{children:`I2V: determinada pela imagem de entrada; este campo é ignorado`}),`\n`,_jsxs(_components.li,{children:[`Referências multimodais: opcional, padrão `,_jsx(_components.code,{children:`adaptive`}),`; também permite uma proporção específica`]}),`\n`]})]}),`\n`,_jsx(ParamField,{body:`first_frame_image`,type:`string`,id:`param-first-frame-image`,children:_jsx(_components.p,{children:`URL pública da imagem usada como primeiro quadro.`})}),`\n`,_jsx(ParamField,{body:`last_frame_image`,type:`string`,id:`param-last-frame-image`,children:_jsxs(_components.p,{children:[`URL pública da imagem usada como último quadro. Pode ser usada sozinha ou com `,_jsx(_components.code,{children:`first_frame_image`}),`.`]})}),`\n`,_jsxs(ParamField,{body:`image_with_roles`,type:`object[]`,id:`param-image-with-roles`,children:[_jsxs(_components.p,{children:[`Array de imagens com papéis que pode substituir `,_jsx(_components.code,{children:`first_frame_image`}),`, `,_jsx(_components.code,{children:`last_frame_image`}),` ou `,_jsx(_components.code,{children:`image_urls`}),`.`]}),_jsxs(Expandable,{title:`Item de image_with_roles`,children:[_jsx(ResponseField,{name:`url`,type:`string`,required:true,id:`param-url`,children:_jsx(_components.p,{children:`URL pública da imagem`})}),_jsxs(ResponseField,{name:`role`,type:`string`,id:`param-role`,children:[_jsx(_components.p,{children:`Funções suportadas:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`first_frame`}),`; aliases `,_jsx(_components.code,{children:`first`}),` e `,_jsx(_components.code,{children:`start`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`last_frame`}),`; aliases `,_jsx(_components.code,{children:`last`}),`, `,_jsx(_components.code,{children:`end_frame`}),` e `,_jsx(_components.code,{children:`tail`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`reference_image`}),`: imagem de referência; alias `,_jsx(_components.code,{children:`reference`}),`; papel vazio é tratado como referência`]}),`\n`]})]})]}),_jsxs(_components.p,{children:[`No máximo um quadro inicial e um final. As referências deste array e de `,_jsx(_components.code,{children:`image_urls`}),` somam no máximo `,_jsx(_components.code,{children:`9`}),` imagens. Não misture papéis de quadro com papéis de referência.`]})]}),`\n`,_jsx(ParamField,{body:`image_urls`,type:`string[]`,id:`param-image-urls`,children:_jsxs(_components.p,{children:[`Array de URLs públicas de imagens de referência. No máximo `,_jsx(_components.code,{children:`9`}),` imagens junto com as referências de `,_jsx(_components.code,{children:`image_with_roles`}),`. Todas são referências, nunca automaticamente quadros inicial/final. Para o quadro inicial, use `,_jsx(_components.code,{children:`first_frame_image`}),` ou o papel `,_jsx(_components.code,{children:`first_frame`}),`.`]})}),`\n`,_jsxs(ParamField,{body:`video_urls`,type:`string[]`,id:`param-video-urls`,children:[_jsxs(_components.p,{children:[`Array de URLs públicas de vídeos de referência; para um único vídeo, também aceita `,_jsx(_components.code,{children:`video_url`}),` (string). No máximo `,_jsx(_components.code,{children:`3`}),` clipes, cada um de `,_jsx(_components.code,{children:`2`}),` a `,_jsx(_components.code,{children:`15`}),` segundos, com duração total dos vídeos de referência de até `,_jsx(_components.code,{children:`15`}),` segundos.`]}),_jsx(_components.p,{children:`A duração dos vídeos de referência é lida no envio para cobrança. Se não puder ser lida, retorna HTTP 400 de forma síncrona, sem criar nem cobrar uma tarefa.`})]}),`\n`,_jsx(ParamField,{body:`audio_urls`,type:`string[]`,id:`param-audio-urls`,children:_jsxs(_components.p,{children:[`Array de URLs públicas de áudios de referência; para um único clipe, também aceita `,_jsx(_components.code,{children:`audio_url`}),` (string). No máximo `,_jsx(_components.code,{children:`3`}),` clipes, cada um de `,_jsx(_components.code,{children:`2`}),` a `,_jsx(_components.code,{children:`15`}),` segundos, com duração total dos áudios de referência de até `,_jsx(_components.code,{children:`15`}),` segundos. Exige pelo menos uma imagem ou vídeo de referência; áudio isolado não é permitido.`]})}),`\n`,_jsxs(ParamField,{body:`watermark`,type:`boolean`,default:`false`,id:`param-watermark`,children:[_jsxs(_components.p,{children:[`Adiciona marca d’água AIGC. Alias: `,_jsx(_components.code,{children:`aigc_watermark`}),`.`]}),_jsxs(_components.p,{children:[`Marcas d’água são suportadas apenas em `,_jsx(_components.code,{children:`480P`}),` / `,_jsx(_components.code,{children:`768P`}),`. Em `,_jsx(_components.code,{children:`1080P`}),`, omita `,_jsx(_components.code,{children:`watermark`}),` e seu alias `,_jsx(_components.code,{children:`aigc_watermark`}),`, mesmo que o valor seja `,_jsx(_components.code,{children:`false`}),`.`]})]}),`\n`,_jsxs(ParamField,{body:`webhook`,type:`string`,id:`param-webhook`,children:[_jsx(_components.p,{children:`Recebe uma notificação quando a tarefa termina com sucesso ou falha.`}),_jsx(Note,{children:_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`webhook`}),`, não o `,_jsx(_components.code,{children:`callback_url`}),` da MiniMax. O gateway reserva `,_jsx(_components.code,{children:`callback_url`}),` para uso interno.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`restrições-de-parâmetros`,children:`Restrições de parâmetros`}),`\n`,_jsx(_components.p,{children:`Os parâmetros ou combinações inválidos abaixo retornam HTTP 400 antes da criação e cobrança da tarefa:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parâmetro / valor`}),_jsx(_components.th,{children:`Motivo`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Quadros inicial/final combinados com referências`}),_jsx(_components.td,{children:`I2V e R2V são mutuamente exclusivos`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Mais de `,_jsx(_components.code,{children:`9`}),` imagens de referência ou mais de `,_jsx(_components.code,{children:`3`}),` vídeos ou áudios de referência`]}),_jsx(_components.td,{children:`Limite de quantidade excedido`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Apenas áudio de referência`}),_jsx(_components.td,{children:`Exige imagem ou vídeo de referência`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`resolution: \"2K\"`})}),_jsxs(_components.td,{children:[`Apenas `,_jsx(_components.code,{children:`480P`}),`, `,_jsx(_components.code,{children:`768P`}),` e `,_jsx(_components.code,{children:`1080P`}),` são suportados`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`duration: 4`}),` ou acima de `,_jsx(_components.code,{children:`15`})]}),_jsx(_components.td,{children:`Apenas 5–15 segundos`})]})]})]}),`\n`,_jsx(_components.p,{children:`Cada vídeo e áudio de referência deve durar de 2 a 15 segundos. Os totais de vídeo e áudio são calculados separadamente, até 15 segundos cada. Corte os materiais longos antes do envio; eles não são entradas válidas.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Em `,_jsx(_components.code,{children:`1080P`}),`, omita `,_jsx(_components.code,{children:`watermark`}),` e seu alias `,_jsx(_components.code,{children:`aigc_watermark`}),`, mesmo que o valor seja `,_jsx(_components.code,{children:`false`}),`.`]})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Para 2K, quadros intermediários ou vídeos de 4 segundos, use `,_jsx(_components.a,{href:`/pt/api-reference/videos/minimax-h3/generation`,children:`MiniMax-H3`}),` e ajuste os parâmetros.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`limites-de-mídia-de-entrada`,children:`Limites de mídia de entrada`}),`\n`,_jsx(_components.p,{children:`O corpo total da solicitação não deve exceder 64 MB. Use URLs públicas para imagens, vídeos e áudios, sem Base64.`}),`\n`,_jsx(Heading,{level:`3`,id:`imagens`,children:`Imagens`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Item`}),_jsx(_components.th,{children:`Limite`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Formatos`}),_jsx(_components.td,{children:`JPG / JPEG / PNG / WEBP / HEIC / HEIF`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Por arquivo`}),_jsx(_components.td,{children:`≤ 30 MB`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Largura e altura`}),_jsx(_components.td,{children:`256–5760 px`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Proporção`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`0,4–2,5`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Quantidade`}),_jsx(_components.td,{children:`No máximo 1 quadro inicial, 1 final e 9 referências; não misture quadros com referências`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`vídeos-de-referência`,children:`Vídeos de referência`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Item`}),_jsx(_components.th,{children:`Limite`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Formatos`}),_jsx(_components.td,{children:`MP4 / MOV, H.264 / H.265`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Por arquivo`}),_jsx(_components.td,{children:`≤ 50 MB`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Quantidade`}),_jsx(_components.td,{children:`≤ 3`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Duração por clipe`}),_jsx(_components.td,{children:`2–15 s`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Duração total`}),_jsx(_components.td,{children:`≤ 15 s`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Largura e altura`}),_jsx(_components.td,{children:`256–5760 px`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Proporção`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`0.4–2.5`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Taxa de quadros`}),_jsx(_components.td,{children:`23.976–60 fps`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`áudios-de-referência`,children:`Áudios de referência`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Item`}),_jsx(_components.th,{children:`Limite`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Formatos`}),_jsx(_components.td,{children:`WAV / MP3`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Por arquivo`}),_jsx(_components.td,{children:`≤ 15 MB`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Quantidade`}),_jsx(_components.td,{children:`≤ 3`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Duração por clipe`}),_jsx(_components.td,{children:`2–15 s`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Duração total`}),_jsx(_components.td,{children:`≤ 15 s`})]})]})]}),`\n`,_jsx(_components.p,{children:`O áudio de referência exige uma imagem ou vídeo de referência. As durações totais de vídeo e áudio são calculadas separadamente, até 15 segundos cada.`}),`\n`,_jsx(_components.p,{children:`Mídias fora dos requisitos podem falhar durante a geração; tarefas com falha são reembolsadas automaticamente.`}),`\n`,_jsx(Heading,{level:`2`,id:`exemplos`,children:`Exemplos`}),`\n`,_jsx(Heading,{level:`3`,id:`imagem-para-vídeo-com-primeiro-quadro`,children:`Imagem para vídeo com primeiro quadro`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MiniMax-H3-Max\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A câmera se aproxima lentamente enquanto o vapor sobe.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"first_frame_image\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://cdn.example.com/ramen.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resolution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"480P\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`imagem-para-vídeo-com-primeiro-e-último-quadros`,children:`Imagem para vídeo com primeiro e último quadros`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MiniMax-H3-Max\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A cena passa gradualmente da manhã ao pôr do sol.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"first_frame_image\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://cdn.example.com/morning.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last_frame_image\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://cdn.example.com/sunset.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`8`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resolution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"768P\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`texto-para-vídeo-em-1080p`,children:`Texto para vídeo em 1080P`}),`\n`,_jsxs(_components.p,{children:[`Em `,_jsx(_components.code,{children:`1080P`}),`, omita `,_jsx(_components.code,{children:`watermark`}),` e seu alias `,_jsx(_components.code,{children:`aigc_watermark`}),`, mesmo que o valor seja `,_jsx(_components.code,{children:`false`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MiniMax-H3-Max\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Pôr do sol no litoral, ondas suaves na praia, aproximação lenta da câmera, textura cinematográfica.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resolution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1080P\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"aspect_ratio\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"16:9\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`geração-com-referências-multimodais`,children:`Geração com referências multimodais`}),`\n`,_jsx(_components.p,{children:`Cada vídeo e áudio de referência deve durar de 2 a 15 segundos. Os totais de vídeo e áudio são calculados separadamente, até 15 segundos cada. Corte os materiais longos antes do envio; eles não são entradas válidas.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`16`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MiniMax-H3-Max\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"O personagem da imagem de referência corre pela cena do vídeo de referência no ritmo do áudio de referência.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://cdn.example.com/role.png\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"video_urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://cdn.example.com/scene.mp4\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"audio_urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://cdn.example.com/beat.mp3\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`6`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resolution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1080P\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"aspect_ratio\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"16:9\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`consultar-uma-tarefa`,children:`Consultar uma tarefa`}),`\n`,_jsxs(_components.p,{children:[`O envio retorna `,_jsx(_components.code,{children:`task_id`}),`. Consulte o `,_jsx(_components.a,{href:`/pt/api-reference/tasks/status`,children:`status da tarefa`}),` a cada 5–10 segundos e use timeout de 15 minutos.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.th,{children:`Significado`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pending`})}),_jsx(_components.td,{children:`Enviada ou na fila`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`processing`})}),_jsx(_components.td,{children:`Em geração`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`completed`})}),_jsxs(_components.td,{children:[`URL do vídeo em `,_jsx(_components.code,{children:`result.videos[0].url`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`failed`})}),_jsxs(_components.td,{children:[`Consulte `,_jsx(_components.code,{children:`error.message`}),`; reembolso automático`]})]})]})]}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`As URLs geradas normalmente expiram em cerca de 24 horas. Baixe e armazene o resultado rapidamente.`})}),`\n`,_jsx(Heading,{level:`2`,id:`preços`,children:`Preços`}),`\n`,_jsx(_components.p,{children:`O custo total inclui o vídeo gerado, imagens adicionais e vídeos de referência:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Custo total = tarifa de geração por segundo × duração de saída`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` + tarifa por imagem adicional × max(0, quantidade de imagens de entrada − 2)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` + tarifa de vídeo de referência por segundo × duração total dos vídeos de referência`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Quadros inicial/final e imagens de referência são contados juntos. As primeiras 2 imagens são gratuitas; as adicionais são cobradas por imagem. Vídeos de referência totalizam no máximo 15 segundos.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Item`}),_jsx(_components.th,{children:`Preço`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Vídeo 1080P`}),_jsx(_components.td,{children:`Conforme os preços do modelo`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Vídeo 768P`}),_jsx(_components.td,{children:`Conforme os preços do modelo`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Vídeo 480P`}),_jsx(_components.td,{children:`Conforme os preços do modelo`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Imagens de entrada`}),_jsx(_components.td,{children:`As primeiras 2 imagens são gratuitas; as adicionais são cobradas por imagem; Conforme os preços do modelo`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Vídeos de referência`}),_jsx(_components.td,{children:`Cobrado por segundo de entrada conforme os preços do modelo; varia com a resolução de saída e é separado da tarifa de geração`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Áudios de referência`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`Grátis`})})]})]})]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Exemplo`}),_jsx(_components.th,{children:`Custo`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`768P / 5s`}),_jsx(_components.td,{children:`768P tarifa de geração × 5`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`768P / 10s`}),_jsx(_components.td,{children:`768P tarifa de geração × 10`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`480P / 10s`}),_jsx(_components.td,{children:`480P tarifa de geração × 10`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`480P / 15s`}),_jsx(_components.td,{children:`480P tarifa de geração × 15`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`768P / 5s + Imagens × 3`}),_jsx(_components.td,{children:`768P tarifa de geração × 5 + tarifa por imagem adicional × 1`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`480P / 10s + Vídeos de referência (12s)`}),_jsx(_components.td,{children:`480P tarifa de geração × 10 + 480P tarifa de vídeo de referência × 12`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`1080P / 5s + Imagens × 2 + Áudios de referência`}),_jsx(_components.td,{children:`1080P tarifa de geração × 5`})]})]})]}),`\n`,_jsx(_components.p,{children:`Todas as tarifas seguem os preços do modelo. No exemplo 1080P com 2 imagens de referência e áudio de referência, imagens e áudio são gratuitos.`}),`\n`,_jsxs(_components.p,{children:[`O valor estimado é reservado no envio. Tarefas com falha recebem reembolso integral; o campo `,_jsx(_components.code,{children:`cost`}),` da tarefa é definitivo.`]}),`\n`,_jsx(Heading,{level:`2`,id:`erros`,children:`Erros`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Cenário`}),_jsx(_components.th,{children:`Resultado`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`prompt`}),` vazio ou acima de 7000 caracteres`]}),_jsx(_components.td,{children:`400; nenhuma tarefa`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`duration`}),` fora de 5–15`]}),_jsx(_components.td,{children:`400; nenhuma tarefa`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`resolution`}),` não suportada`]}),_jsx(_components.td,{children:`400; nenhuma tarefa`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Quadros inicial/final combinados com referências / Apenas áudio de referência`}),_jsx(_components.td,{children:`400; nenhuma tarefa`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Mais de `,_jsx(_components.code,{children:`9`}),` imagens de referência ou mais de `,_jsx(_components.code,{children:`3`}),` vídeos ou áudios de referência`]}),_jsx(_components.td,{children:`400; nenhuma tarefa`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Não foi possível ler a duração do vídeo de referência`}),_jsx(_components.td,{children:`400; nenhuma tarefa`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Papel de imagem inválido ou mais de uma imagem para o mesmo papel de quadro inicial/final`}),_jsx(_components.td,{children:`400; nenhuma tarefa`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Saldo insuficiente`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`402`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Rejeição de segurança`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Limite de solicitações`}),_jsx(_components.td,{children:`429; tente novamente com backoff`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Falhas na geração retornam `,_jsx(_components.code,{children:`status = failed`}),` e `,_jsx(_components.code,{children:`error.message`}),`, com reembolso automático.`]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`code`,type:`integer`,id:`param-code`,children:_jsx(_components.p,{children:`Código de resposta; 200 em caso de sucesso`})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`array`,id:`param-data`,children:[_jsx(_components.p,{children:`Resultado do envio com status inicial e ID da tarefa`}),_jsxs(Expandable,{title:`Item do array`,children:[_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`Inicialmente `,_jsx(_components.code,{children:`submitted`})]})}),_jsx(ResponseField,{name:`task_id`,type:`string`,id:`param-task-id`,children:_jsx(_components.p,{children:`ID exclusivo usado para consultar progresso e resultado`})})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Geração de vídeo MiniMax-H3-Max","description":" - Versão rápida do MiniMax Video Generation V2 com envio assíncrono de tarefas\n- Suporta texto para vídeo, controle dos quadros inicial/final e geração com referências multimodais\n- Suporta 480P / 768P / 1080P e vídeos de 5 a 15 segundos com áudio\n- Suporta imagens, vídeos e áudios de referência; não suporta 2K nem quadros intermediários ","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/minimax-h3/max"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Info,Note,ParamField,RequestExample,ResponseExample,ResponseField,Table,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Escolha do modelo:`}),` `,_jsx(_components.code,{children:`MiniMax-H3-Max`}),` é indicado para geração rápida a partir de texto, controle dos quadros inicial/final e referências multimodais em 480P, 768P ou 1080P. Para 2K ou quadros intermediários, use `,_jsx(_components.a,{href:`/pt/api-reference/videos/minimax-h3/generation`,children:`MiniMax-H3`}),`.`]})}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`11`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.apimart.ai/v1/videos/generations`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer \u003ctoken>'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\": \"MiniMax-H3-Max\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\": \"Um detetive de sobretudo se vira em uma rua iluminada por néon sob a chuva. A câmera se aproxima lentamente.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"duration\": 5,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"resolution\": \"768P\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"aspect_ratio\": \"16:9\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`14`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.apimart.ai/v1/videos/generations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer \u003ctoken>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MiniMax-H3-Max\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Um detetive se vira em uma rua de néon sob a chuva.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"resolution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"768P\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"aspect_ratio\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"16:9\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(response.json())`})]}),`\n`]})})})]}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`200`,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"submitted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"task_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"task_01J9HA7JPQ9A0Z6JZ3V8M9W6PZ\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`400`,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`400`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Parâmetros de solicitação inválidos\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"invalid_request_error\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`401`,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`401`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Falha na autenticação. Verifique sua chave de API.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"authentication_error\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`402`,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`402`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Saldo insuficiente\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"payment_required\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`autenticação`,children:`Autenticação`}),`\n`,_jsxs(ParamField,{header:`Authorization`,type:`string`,required:true,id:`param-authorization`,children:[_jsxs(_components.p,{children:[`Todos os endpoints exigem Bearer Token. Obtenha sua chave na `,_jsx(_components.a,{href:`https://apimart.ai/keys`,children:`página de chaves de API`}),`.`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Authorization: Bearer YOUR_API_KEY`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`escolha-do-modelo`,children:`Escolha do modelo`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Capacidade`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`MiniMax-H3`})}),_jsx(_components.th,{children:_jsx(_components.code,{children:`MiniMax-H3-Max`})})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Resolução`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`2K`}),` / `,_jsx(_components.code,{children:`768P`}),`, padrão `,_jsx(_components.code,{children:`2K`})]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`480P`}),` / `,_jsx(_components.code,{children:`768P`}),` / `,_jsx(_components.code,{children:`1080P`}),`, padrão `,_jsx(_components.code,{children:`768P`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Duração`}),_jsx(_components.td,{children:`4–15 segundos`}),_jsx(_components.td,{children:`5–15 segundos`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Texto para vídeo`}),_jsx(_components.td,{children:`Suportado`}),_jsx(_components.td,{children:`Suportado`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Primeiro / último quadro`}),_jsx(_components.td,{children:`Suportado`}),_jsx(_components.td,{children:`Suportado`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Quadro intermediário`}),_jsx(_components.td,{children:`Suportado`}),_jsx(_components.td,{children:`Não suportado`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Referências multimodais`}),_jsx(_components.td,{children:`Imagem, vídeo e áudio`}),_jsx(_components.td,{children:`Imagem, vídeo e áudio`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Custo das imagens de entrada`}),_jsx(_components.td,{children:`Primeiras 5 grátis`}),_jsx(_components.td,{children:`As primeiras 2 imagens são gratuitas; as adicionais são cobradas por imagem`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Custo de vídeos de referência`}),_jsx(_components.td,{children:`Pela duração de entrada, com a mesma tarifa da saída de igual resolução`}),_jsx(_components.td,{children:`Pela duração de entrada, com tarifa independente`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Marca d’água AIGC`}),_jsx(_components.td,{children:`Suportada`}),_jsx(_components.td,{children:`Suportada em 480P / 768P; indisponível em 1080P`})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`MiniMax-H3-Max`}),` não suporta 2K e sua saída não pode ser usada como origem para `,_jsx(_components.a,{href:`/pt/api-reference/videos/minimax-h3/regeneration`,children:`Regeneration`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`modos-de-geração`,children:`Modos de geração`}),`\n`,_jsxs(_components.p,{children:[`Os campos da solicitação determinam o modo automaticamente; não envie `,_jsx(_components.code,{children:`mode`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Modo`}),_jsx(_components.th,{children:`Acionador`}),_jsx(_components.th,{children:`Comportamento`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Texto para vídeo (T2V)`}),_jsxs(_components.td,{children:[`Apenas `,_jsx(_components.code,{children:`prompt`}),` e campos comuns`]}),_jsx(_components.td,{children:`Geração a partir de texto`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Imagem para vídeo (I2V)`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`first_frame_image`}),` / `,_jsx(_components.code,{children:`last_frame_image`}),` ou funções equivalentes em `,_jsx(_components.code,{children:`image_with_roles`})]}),_jsx(_components.td,{children:`Controla o primeiro, o último ou ambos os quadros`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Referências multimodais (R2V)`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`image_urls`}),` / `,_jsx(_components.code,{children:`video_urls`}),` / `,_jsx(_components.code,{children:`audio_urls`}),` ou `,_jsx(_components.code,{children:`reference_image`}),` em `,_jsx(_components.code,{children:`image_with_roles`})]}),_jsx(_components.td,{children:`Gera com imagens, vídeos e áudios de referência; também em 1080P`})]})]})]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Os quadros inicial/final não podem ser combinados com referências. O áudio de referência exige pelo menos uma imagem ou vídeo de referência. Combinações inválidas retornam HTTP 400 de forma síncrona, sem criar nem cobrar uma tarefa.`})}),`\n`,_jsx(Heading,{level:`2`,id:`parâmetros-da-solicitação`,children:`Parâmetros da solicitação`}),`\n`,_jsx(ParamField,{body:`model`,type:`string`,required:true,id:`param-model`,children:_jsxs(_components.p,{children:[`Valor fixo: `,_jsx(_components.code,{children:`MiniMax-H3-Max`}),`. Não diferencia maiúsculas e minúsculas; `,_jsx(_components.code,{children:`minimax-h3-max`}),` também é aceito.`]})}),`\n`,_jsxs(ParamField,{body:`nsfw_check`,type:`boolean`,default:`false`,id:`param-nsfw-check`,children:[_jsx(_components.p,{children:`Define se o conteúdo deve ser moderado antes do envio da tarefa de vídeo.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`true`}),`: verificar prompts e imagens de entrada com `,_jsx(_components.code,{children:`omni-moderation-latest`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`false`}),` ou omitido: não enviar solicitação de moderação, sem custo nem latência adicionais de moderação (padrão)`]}),`\n`]})]}),`\n`,_jsx(ParamField,{body:`prompt`,type:`string`,required:true,id:`param-prompt`,children:_jsxs(_components.p,{children:[`Descrição não vazia do vídeo, obrigatória em todos os modos. Máximo de `,_jsx(_components.code,{children:`7000`}),` caracteres.`]})}),`\n`,_jsx(ParamField,{body:`duration`,type:`integer`,default:`5`,id:`param-duration`,children:_jsxs(_components.p,{children:[`Duração em segundos: inteiro de `,_jsx(_components.code,{children:`5`}),` a `,_jsx(_components.code,{children:`15`}),`, padrão `,_jsx(_components.code,{children:`5`}),`. Quatro segundos não são suportados.`]})}),`\n`,_jsxs(ParamField,{body:`resolution`,type:`string`,default:`768P`,id:`param-resolution`,children:[_jsxs(_components.p,{children:[`Resolução de saída: `,_jsx(_components.code,{children:`480P`}),`, `,_jsx(_components.code,{children:`768P`}),` (padrão) ou `,_jsx(_components.code,{children:`1080P`}),`.`]}),_jsxs(_components.p,{children:[`Em `,_jsx(_components.code,{children:`1080P`}),`, omita `,_jsx(_components.code,{children:`watermark`}),` e seu alias `,_jsx(_components.code,{children:`aigc_watermark`}),`, mesmo que o valor seja `,_jsx(_components.code,{children:`false`}),`.`]}),_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`2K`}),`, `,_jsx(_components.code,{children:`1440P`}),` e `,_jsx(_components.code,{children:`2048P`}),` não são suportados. Um valor inválido retorna HTTP 400 sem redução automática.`]})})]}),`\n`,_jsxs(ParamField,{body:`aspect_ratio`,type:`string`,id:`param-aspect-ratio`,children:[_jsxs(_components.p,{children:[`Proporção de saída. Os aliases `,_jsx(_components.code,{children:`size`}),` e `,_jsx(_components.code,{children:`ratio`}),` também são aceitos.`]}),_jsxs(_components.p,{children:[`Valores T2V: `,_jsx(_components.code,{children:`21:9`}),`, `,_jsx(_components.code,{children:`16:9`}),`, `,_jsx(_components.code,{children:`4:3`}),`, `,_jsx(_components.code,{children:`1:1`}),`, `,_jsx(_components.code,{children:`3:4`}),`, `,_jsx(_components.code,{children:`9:16`}),`.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`T2V sem o campo ou com `,_jsx(_components.code,{children:`adaptive`}),`: usa `,_jsx(_components.code,{children:`16:9`})]}),`\n`,_jsx(_components.li,{children:`I2V: determinada pela imagem de entrada; este campo é ignorado`}),`\n`,_jsxs(_components.li,{children:[`Referências multimodais: opcional, padrão `,_jsx(_components.code,{children:`adaptive`}),`; também permite uma proporção específica`]}),`\n`]})]}),`\n`,_jsx(ParamField,{body:`first_frame_image`,type:`string`,id:`param-first-frame-image`,children:_jsx(_components.p,{children:`URL pública da imagem usada como primeiro quadro.`})}),`\n`,_jsx(ParamField,{body:`last_frame_image`,type:`string`,id:`param-last-frame-image`,children:_jsxs(_components.p,{children:[`URL pública da imagem usada como último quadro. Pode ser usada sozinha ou com `,_jsx(_components.code,{children:`first_frame_image`}),`.`]})}),`\n`,_jsxs(ParamField,{body:`image_with_roles`,type:`object[]`,id:`param-image-with-roles`,children:[_jsxs(_components.p,{children:[`Array de imagens com papéis que pode substituir `,_jsx(_components.code,{children:`first_frame_image`}),`, `,_jsx(_components.code,{children:`last_frame_image`}),` ou `,_jsx(_components.code,{children:`image_urls`}),`.`]}),_jsxs(Expandable,{title:`Item de image_with_roles`,children:[_jsx(ResponseField,{name:`url`,type:`string`,required:true,id:`param-url`,children:_jsx(_components.p,{children:`URL pública da imagem`})}),_jsxs(ResponseField,{name:`role`,type:`string`,id:`param-role`,children:[_jsx(_components.p,{children:`Funções suportadas:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`first_frame`}),`; aliases `,_jsx(_components.code,{children:`first`}),` e `,_jsx(_components.code,{children:`start`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`last_frame`}),`; aliases `,_jsx(_components.code,{children:`last`}),`, `,_jsx(_components.code,{children:`end_frame`}),` e `,_jsx(_components.code,{children:`tail`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`reference_image`}),`: imagem de referência; alias `,_jsx(_components.code,{children:`reference`}),`; papel vazio é tratado como referência`]}),`\n`]})]})]}),_jsxs(_components.p,{children:[`No máximo um quadro inicial e um final. As referências deste array e de `,_jsx(_components.code,{children:`image_urls`}),` somam no máximo `,_jsx(_components.code,{children:`9`}),` imagens. Não misture papéis de quadro com papéis de referência.`]})]}),`\n`,_jsx(ParamField,{body:`image_urls`,type:`string[]`,id:`param-image-urls`,children:_jsxs(_components.p,{children:[`Array de URLs públicas de imagens de referência. No máximo `,_jsx(_components.code,{children:`9`}),` imagens junto com as referências de `,_jsx(_components.code,{children:`image_with_roles`}),`. Todas são referências, nunca automaticamente quadros inicial/final. Para o quadro inicial, use `,_jsx(_components.code,{children:`first_frame_image`}),` ou o papel `,_jsx(_components.code,{children:`first_frame`}),`.`]})}),`\n`,_jsxs(ParamField,{body:`video_urls`,type:`string[]`,id:`param-video-urls`,children:[_jsxs(_components.p,{children:[`Array de URLs públicas de vídeos de referência; para um único vídeo, também aceita `,_jsx(_components.code,{children:`video_url`}),` (string). No máximo `,_jsx(_components.code,{children:`3`}),` clipes, cada um de `,_jsx(_components.code,{children:`2`}),` a `,_jsx(_components.code,{children:`15`}),` segundos, com duração total dos vídeos de referência de até `,_jsx(_components.code,{children:`15`}),` segundos.`]}),_jsx(_components.p,{children:`A duração dos vídeos de referência é lida no envio para cobrança. Se não puder ser lida, retorna HTTP 400 de forma síncrona, sem criar nem cobrar uma tarefa.`})]}),`\n`,_jsx(ParamField,{body:`audio_urls`,type:`string[]`,id:`param-audio-urls`,children:_jsxs(_components.p,{children:[`Array de URLs públicas de áudios de referência; para um único clipe, também aceita `,_jsx(_components.code,{children:`audio_url`}),` (string). No máximo `,_jsx(_components.code,{children:`3`}),` clipes, cada um de `,_jsx(_components.code,{children:`2`}),` a `,_jsx(_components.code,{children:`15`}),` segundos, com duração total dos áudios de referência de até `,_jsx(_components.code,{children:`15`}),` segundos. Exige pelo menos uma imagem ou vídeo de referência; áudio isolado não é permitido.`]})}),`\n`,_jsxs(ParamField,{body:`watermark`,type:`boolean`,default:`false`,id:`param-watermark`,children:[_jsxs(_components.p,{children:[`Adiciona marca d’água AIGC. Alias: `,_jsx(_components.code,{children:`aigc_watermark`}),`.`]}),_jsxs(_components.p,{children:[`Marcas d’água são suportadas apenas em `,_jsx(_components.code,{children:`480P`}),` / `,_jsx(_components.code,{children:`768P`}),`. Em `,_jsx(_components.code,{children:`1080P`}),`, omita `,_jsx(_components.code,{children:`watermark`}),` e seu alias `,_jsx(_components.code,{children:`aigc_watermark`}),`, mesmo que o valor seja `,_jsx(_components.code,{children:`false`}),`.`]})]}),`\n`,_jsxs(ParamField,{body:`webhook`,type:`string`,id:`param-webhook`,children:[_jsx(_components.p,{children:`Recebe uma notificação quando a tarefa termina com sucesso ou falha.`}),_jsx(Note,{children:_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`webhook`}),`, não o `,_jsx(_components.code,{children:`callback_url`}),` da MiniMax. O gateway reserva `,_jsx(_components.code,{children:`callback_url`}),` para uso interno.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`restrições-de-parâmetros`,children:`Restrições de parâmetros`}),`\n`,_jsx(_components.p,{children:`Os parâmetros ou combinações inválidos abaixo retornam HTTP 400 antes da criação e cobrança da tarefa:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parâmetro / valor`}),_jsx(_components.th,{children:`Motivo`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Quadros inicial/final combinados com referências`}),_jsx(_components.td,{children:`I2V e R2V são mutuamente exclusivos`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Mais de `,_jsx(_components.code,{children:`9`}),` imagens de referência ou mais de `,_jsx(_components.code,{children:`3`}),` vídeos ou áudios de referência`]}),_jsx(_components.td,{children:`Limite de quantidade excedido`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Apenas áudio de referência`}),_jsx(_components.td,{children:`Exige imagem ou vídeo de referência`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`resolution: \"2K\"`})}),_jsxs(_components.td,{children:[`Apenas `,_jsx(_components.code,{children:`480P`}),`, `,_jsx(_components.code,{children:`768P`}),` e `,_jsx(_components.code,{children:`1080P`}),` são suportados`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`duration: 4`}),` ou acima de `,_jsx(_components.code,{children:`15`})]}),_jsx(_components.td,{children:`Apenas 5–15 segundos`})]})]})]}),`\n`,_jsx(_components.p,{children:`Cada vídeo e áudio de referência deve durar de 2 a 15 segundos. Os totais de vídeo e áudio são calculados separadamente, até 15 segundos cada. Corte os materiais longos antes do envio; eles não são entradas válidas.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Em `,_jsx(_components.code,{children:`1080P`}),`, omita `,_jsx(_components.code,{children:`watermark`}),` e seu alias `,_jsx(_components.code,{children:`aigc_watermark`}),`, mesmo que o valor seja `,_jsx(_components.code,{children:`false`}),`.`]})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Para 2K, quadros intermediários ou vídeos de 4 segundos, use `,_jsx(_components.a,{href:`/pt/api-reference/videos/minimax-h3/generation`,children:`MiniMax-H3`}),` e ajuste os parâmetros.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`limites-de-mídia-de-entrada`,children:`Limites de mídia de entrada`}),`\n`,_jsx(_components.p,{children:`O corpo total da solicitação não deve exceder 64 MB. Use URLs públicas para imagens, vídeos e áudios, sem Base64.`}),`\n`,_jsx(Heading,{level:`3`,id:`imagens`,children:`Imagens`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Item`}),_jsx(_components.th,{children:`Limite`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Formatos`}),_jsx(_components.td,{children:`JPG / JPEG / PNG / WEBP / HEIC / HEIF`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Por arquivo`}),_jsx(_components.td,{children:`≤ 30 MB`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Largura e altura`}),_jsx(_components.td,{children:`256–5760 px`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Proporção`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`0,4–2,5`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Quantidade`}),_jsx(_components.td,{children:`No máximo 1 quadro inicial, 1 final e 9 referências; não misture quadros com referências`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`vídeos-de-referência`,children:`Vídeos de referência`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Item`}),_jsx(_components.th,{children:`Limite`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Formatos`}),_jsx(_components.td,{children:`MP4 / MOV, H.264 / H.265`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Por arquivo`}),_jsx(_components.td,{children:`≤ 50 MB`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Quantidade`}),_jsx(_components.td,{children:`≤ 3`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Duração por clipe`}),_jsx(_components.td,{children:`2–15 s`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Duração total`}),_jsx(_components.td,{children:`≤ 15 s`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Largura e altura`}),_jsx(_components.td,{children:`256–5760 px`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Proporção`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`0.4–2.5`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Taxa de quadros`}),_jsx(_components.td,{children:`23.976–60 fps`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`áudios-de-referência`,children:`Áudios de referência`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Item`}),_jsx(_components.th,{children:`Limite`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Formatos`}),_jsx(_components.td,{children:`WAV / MP3`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Por arquivo`}),_jsx(_components.td,{children:`≤ 15 MB`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Quantidade`}),_jsx(_components.td,{children:`≤ 3`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Duração por clipe`}),_jsx(_components.td,{children:`2–15 s`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Duração total`}),_jsx(_components.td,{children:`≤ 15 s`})]})]})]}),`\n`,_jsx(_components.p,{children:`O áudio de referência exige uma imagem ou vídeo de referência. As durações totais de vídeo e áudio são calculadas separadamente, até 15 segundos cada.`}),`\n`,_jsx(_components.p,{children:`Mídias fora dos requisitos podem falhar durante a geração; tarefas com falha são reembolsadas automaticamente.`}),`\n`,_jsx(Heading,{level:`2`,id:`exemplos`,children:`Exemplos`}),`\n`,_jsx(Heading,{level:`3`,id:`imagem-para-vídeo-com-primeiro-quadro`,children:`Imagem para vídeo com primeiro quadro`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MiniMax-H3-Max\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A câmera se aproxima lentamente enquanto o vapor sobe.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"first_frame_image\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://cdn.example.com/ramen.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resolution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"480P\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`imagem-para-vídeo-com-primeiro-e-último-quadros`,children:`Imagem para vídeo com primeiro e último quadros`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MiniMax-H3-Max\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A cena passa gradualmente da manhã ao pôr do sol.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"first_frame_image\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://cdn.example.com/morning.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last_frame_image\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://cdn.example.com/sunset.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`8`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resolution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"768P\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`texto-para-vídeo-em-1080p`,children:`Texto para vídeo em 1080P`}),`\n`,_jsxs(_components.p,{children:[`Em `,_jsx(_components.code,{children:`1080P`}),`, omita `,_jsx(_components.code,{children:`watermark`}),` e seu alias `,_jsx(_components.code,{children:`aigc_watermark`}),`, mesmo que o valor seja `,_jsx(_components.code,{children:`false`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MiniMax-H3-Max\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Pôr do sol no litoral, ondas suaves na praia, aproximação lenta da câmera, textura cinematográfica.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resolution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1080P\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"aspect_ratio\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"16:9\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`geração-com-referências-multimodais`,children:`Geração com referências multimodais`}),`\n`,_jsx(_components.p,{children:`Cada vídeo e áudio de referência deve durar de 2 a 15 segundos. Os totais de vídeo e áudio são calculados separadamente, até 15 segundos cada. Corte os materiais longos antes do envio; eles não são entradas válidas.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`16`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"model\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MiniMax-H3-Max\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"prompt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"O personagem da imagem de referência corre pela cena do vídeo de referência no ritmo do áudio de referência.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://cdn.example.com/role.png\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"video_urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://cdn.example.com/scene.mp4\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"audio_urls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://cdn.example.com/beat.mp3\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`6`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resolution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1080P\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"aspect_ratio\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"16:9\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`consultar-uma-tarefa`,children:`Consultar uma tarefa`}),`\n`,_jsxs(_components.p,{children:[`O envio retorna `,_jsx(_components.code,{children:`task_id`}),`. Consulte o `,_jsx(_components.a,{href:`/pt/api-reference/tasks/status`,children:`status da tarefa`}),` a cada 5–10 segundos e use timeout de 15 minutos.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.th,{children:`Significado`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pending`})}),_jsx(_components.td,{children:`Enviada ou na fila`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`processing`})}),_jsx(_components.td,{children:`Em geração`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`completed`})}),_jsxs(_components.td,{children:[`URL do vídeo em `,_jsx(_components.code,{children:`result.videos[0].url`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`failed`})}),_jsxs(_components.td,{children:[`Consulte `,_jsx(_components.code,{children:`error.message`}),`; reembolso automático`]})]})]})]}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`As URLs geradas normalmente expiram em cerca de 24 horas. Baixe e armazene o resultado rapidamente.`})}),`\n`,_jsx(Heading,{level:`2`,id:`preços`,children:`Preços`}),`\n`,_jsx(_components.p,{children:`O custo total inclui o vídeo gerado, imagens adicionais e vídeos de referência:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Custo total = tarifa de geração por segundo × duração de saída`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` + tarifa por imagem adicional × max(0, quantidade de imagens de entrada − 2)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` + tarifa de vídeo de referência por segundo × duração total dos vídeos de referência`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Quadros inicial/final e imagens de referência são contados juntos. As primeiras 2 imagens são gratuitas; as adicionais são cobradas por imagem. Vídeos de referência totalizam no máximo 15 segundos.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Item`}),_jsx(_components.th,{children:`Preço`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Vídeo 1080P`}),_jsx(_components.td,{children:`Conforme os preços do modelo`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Vídeo 768P`}),_jsx(_components.td,{children:`Conforme os preços do modelo`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Vídeo 480P`}),_jsx(_components.td,{children:`Conforme os preços do modelo`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Imagens de entrada`}),_jsx(_components.td,{children:`As primeiras 2 imagens são gratuitas; as adicionais são cobradas por imagem; Conforme os preços do modelo`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Vídeos de referência`}),_jsx(_components.td,{children:`Cobrado por segundo de entrada conforme os preços do modelo; varia com a resolução de saída e é separado da tarifa de geração`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Áudios de referência`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`Grátis`})})]})]})]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Exemplo`}),_jsx(_components.th,{children:`Custo`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`768P / 5s`}),_jsx(_components.td,{children:`768P tarifa de geração × 5`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`768P / 10s`}),_jsx(_components.td,{children:`768P tarifa de geração × 10`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`480P / 10s`}),_jsx(_components.td,{children:`480P tarifa de geração × 10`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`480P / 15s`}),_jsx(_components.td,{children:`480P tarifa de geração × 15`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`768P / 5s + Imagens × 3`}),_jsx(_components.td,{children:`768P tarifa de geração × 5 + tarifa por imagem adicional × 1`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`480P / 10s + Vídeos de referência (12s)`}),_jsx(_components.td,{children:`480P tarifa de geração × 10 + 480P tarifa de vídeo de referência × 12`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`1080P / 5s + Imagens × 2 + Áudios de referência`}),_jsx(_components.td,{children:`1080P tarifa de geração × 5`})]})]})]}),`\n`,_jsx(_components.p,{children:`Todas as tarifas seguem os preços do modelo. No exemplo 1080P com 2 imagens de referência e áudio de referência, imagens e áudio são gratuitos.`}),`\n`,_jsxs(_components.p,{children:[`O valor estimado é reservado no envio. Tarefas com falha recebem reembolso integral; o campo `,_jsx(_components.code,{children:`cost`}),` da tarefa é definitivo.`]}),`\n`,_jsx(Heading,{level:`2`,id:`erros`,children:`Erros`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Cenário`}),_jsx(_components.th,{children:`Resultado`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`prompt`}),` vazio ou acima de 7000 caracteres`]}),_jsx(_components.td,{children:`400; nenhuma tarefa`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`duration`}),` fora de 5–15`]}),_jsx(_components.td,{children:`400; nenhuma tarefa`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`resolution`}),` não suportada`]}),_jsx(_components.td,{children:`400; nenhuma tarefa`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Quadros inicial/final combinados com referências / Apenas áudio de referência`}),_jsx(_components.td,{children:`400; nenhuma tarefa`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Mais de `,_jsx(_components.code,{children:`9`}),` imagens de referência ou mais de `,_jsx(_components.code,{children:`3`}),` vídeos ou áudios de referência`]}),_jsx(_components.td,{children:`400; nenhuma tarefa`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Não foi possível ler a duração do vídeo de referência`}),_jsx(_components.td,{children:`400; nenhuma tarefa`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Papel de imagem inválido ou mais de uma imagem para o mesmo papel de quadro inicial/final`}),_jsx(_components.td,{children:`400; nenhuma tarefa`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Saldo insuficiente`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`402`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Rejeição de segurança`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`422`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Limite de solicitações`}),_jsx(_components.td,{children:`429; tente novamente com backoff`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Falhas na geração retornam `,_jsx(_components.code,{children:`status = failed`}),` e `,_jsx(_components.code,{children:`error.message`}),`, com reembolso automático.`]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`code`,type:`integer`,id:`param-code`,children:_jsx(_components.p,{children:`Código de resposta; 200 em caso de sucesso`})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`array`,id:`param-data`,children:[_jsx(_components.p,{children:`Resultado do envio com status inicial e ID da tarefa`}),_jsxs(Expandable,{title:`Item do array`,children:[_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`Inicialmente `,_jsx(_components.code,{children:`submitted`})]})}),_jsx(ResponseField,{name:`task_id`,type:`string`,id:`param-task-id`,children:_jsx(_components.p,{children:`ID exclusivo usado para consultar progresso e resultado`})})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Geração de vídeo MiniMax-H3-Max","description":" - Versão rápida do MiniMax Video Generation V2 com envio assíncrono de tarefas\n- Suporta texto para vídeo, controle dos quadros inicial/final e geração com referências multimodais\n- Suporta 480P / 768P / 1080P e vídeos de 5 a 15 segundos com áudio\n- Suporta imagens, vídeos e áudios de referência; não suporta 2K nem quadros intermediários ","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/minimax-h3/max"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Autenticação","slug":"autenticação","depth":2,"children":[]},{"title":"Escolha do modelo","slug":"escolha-do-modelo","depth":2,"children":[]},{"title":"Modos de geração","slug":"modos-de-geração","depth":2,"children":[]},{"title":"Parâmetros da solicitação","slug":"parâmetros-da-solicitação","depth":2,"children":[]},{"title":"Restrições de parâmetros","slug":"restrições-de-parâmetros","depth":2,"children":[]},{"title":"Limites de mídia de entrada","slug":"limites-de-mídia-de-entrada","depth":2,"children":[{"title":"Imagens","slug":"imagens","depth":3,"children":[]},{"title":"Vídeos de referência","slug":"vídeos-de-referência","depth":3,"children":[]},{"title":"Áudios de referência","slug":"áudios-de-referência","depth":3,"children":[]}]},{"title":"Exemplos","slug":"exemplos","depth":2,"children":[{"title":"Imagem para vídeo com primeiro quadro","slug":"imagem-para-vídeo-com-primeiro-quadro","depth":3,"children":[]},{"title":"Imagem para vídeo com primeiro e último quadros","slug":"imagem-para-vídeo-com-primeiro-e-último-quadros","depth":3,"children":[]},{"title":"Texto para vídeo em 1080P","slug":"texto-para-vídeo-em-1080p","depth":3,"children":[]},{"title":"Geração com referências multimodais","slug":"geração-com-referências-multimodais","depth":3,"children":[]}]},{"title":"Consultar uma tarefa","slug":"consultar-uma-tarefa","depth":2,"children":[]},{"title":"Preços","slug":"preços","depth":2,"children":[]},{"title":"Erros","slug":"erros","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"11\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --url\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.apimart.ai/v1/videos/generations\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization: Bearer \u0026#x3C;token>'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"model\": \"MiniMax-H3-Max\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"prompt\": \"Um detetive de sobretudo se vira em uma rua iluminada por néon sob a chuva. A câmera se aproxima lentamente.\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"duration\": 5,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"resolution\": \"768P\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"aspect_ratio\": \"16:9\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Python","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"python\">\u003ccode language=\"python\" numberOfLines=\"14\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> requests\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">response \u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> requests.post(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://api.apimart.ai/v1/videos/generations\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> headers\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Authorization\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Bearer \u0026#x3C;token>\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Content-Type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"application/json\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#9CDCFE\"> json\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"model\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"MiniMax-H3-Max\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"prompt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Um detetive se vira em uma rua de néon sob a chuva.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"duration\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">5\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"resolution\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"768P\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"aspect_ratio\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"16:9\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#DCDCAA\">print\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(response.json())\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">200\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"submitted\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"task_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"task_01J9HA7JPQ9A0Z6JZ3V8M9W6PZ\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"400","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">400\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Parâmetros de solicitação inválidos\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"invalid_request_error\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"401","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">401\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Falha na autenticação. Verifique sua chave de API.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"authentication_error\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"402","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">402\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Saldo insuficiente\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"payment_required\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Geração de vídeo MiniMax-H3-Max","path":"/v1/videos/generations","servers":[{"url":"https://api.apimart.ai"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{"Authorization":{"schema":[{"type":"string","description":"Todos os endpoints exigem Bearer Token. Obtenha sua chave na página de chaves de API .","required":true}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"model":[{"type":"string","description":"Valor fixo: `MiniMax-H3-Max` . Não diferencia maiúsculas e minúsculas; `minimax-h3-max` também é aceito.","required":true}],"nsfw_check":[{"type":"boolean","description":"Define se o conteúdo deve ser moderado antes do envio da tarefa de vídeo. `true` : verificar prompts e imagens de entrada com `omni-moderation-latest` `false` ou omitido: não enviar solicitação de moderação, sem custo nem latência adicionais de moderação (padrão)"}],"prompt":[{"type":"string","description":"Descrição não vazia do vídeo, obrigatória em todos os modos. Máximo de `7000` caracteres.","required":true}],"duration":[{"type":"integer","description":"Duração em segundos: inteiro de `5` a `15` , padrão `5` . Quatro segundos não são suportados."}],"resolution":[{"type":"string","description":"Resolução de saída: `480P` , `768P` (padrão) ou `1080P` . Em `1080P` , omita `watermark` e seu alias `aigc_watermark` , mesmo que o valor seja `false` ."}],"aspect_ratio":[{"type":"string","description":"Proporção de saída. Os aliases `size` e `ratio` também são aceitos. Valores T2V: `21:9` , `16:9` , `4:3` , `1:1` , `3:4` , `9:16` . T2V sem o campo ou com `adaptive` : usa `16:9` I2V: determinada pela imagem de entrada; este campo é ignorado Referências multimodais: opcional, padrão `adaptive` ; também permite uma proporção específica"}],"first_frame_image":[{"type":"string","description":"URL pública da imagem usada como primeiro quadro."}],"last_frame_image":[{"type":"string","description":"URL pública da imagem usada como último quadro. Pode ser usada sozinha ou com `first_frame_image` ."}],"image_with_roles":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Array de imagens com papéis que pode substituir `first_frame_image` , `last_frame_image` ou `image_urls` . No máximo um quadro inicial e um final. As referências deste array e de `image_urls` somam no máximo `9` imagens. Não misture papéis de quadro com papéis de referência."}],"image_urls":[{"type":"array","items":[{"type":"string"}],"description":"Array de URLs públicas de imagens de referência. No máximo `9` imagens junto com as referências de `image_with_roles` . Todas são referências, nunca automaticamente quadros inicial/final. Para o quadro inicial, use `first_frame_image` ou o papel `first_frame` ."}],"video_urls":[{"type":"array","items":[{"type":"string"}],"description":"Array de URLs públicas de vídeos de referência; para um único vídeo, também aceita `video_url` (string). No máximo `3` clipes, cada um de `2` a `15` segundos, com duração total dos vídeos de referência de até `15` segundos. A duração dos vídeos de referência é lida no envio para cobrança. Se não puder ser lida, retorna HTTP 400 de forma síncrona, sem criar nem cobrar uma tarefa."}],"audio_urls":[{"type":"array","items":[{"type":"string"}],"description":"Array de URLs públicas de áudios de referência; para um único clipe, também aceita `audio_url` (string). No máximo `3` clipes, cada um de `2` a `15` segundos, com duração total dos áudios de referência de até `15` segundos. Exige pelo menos uma imagem ou vídeo de referência; áudio isolado não é permitido."}],"watermark":[{"type":"boolean","description":"Adiciona marca d’água AIGC. Alias: `aigc_watermark` . Marcas d’água são suportadas apenas em `480P` / `768P` . Em `1080P` , omita `watermark` e seu alias `aigc_watermark` , mesmo que o valor seja `false` ."}],"webhook":[{"type":"string","description":"Recebe uma notificação quando a tarefa termina com sucesso ou falha."}]}}],"examples":{"example":{"value":{"model":"\u003cstring>","nsfw_check":true,"prompt":"\u003cstring>","duration":123,"resolution":"\u003cstring>","aspect_ratio":"\u003cstring>","first_frame_image":"\u003cstring>","last_frame_image":"\u003cstring>","image_with_roles":[{}],"image_urls":["\u003cstring>"],"video_urls":["\u003cstring>"],"audio_urls":["\u003cstring>"],"watermark":true,"webhook":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"code":[{"type":"integer","description":"Código de resposta; 200 em caso de sucesso"}],"data":[{"type":"array","items":[{"type":"object","properties":{"status":[{"type":"string","description":"Inicialmente `submitted`"}],"task_id":[{"type":"string","description":"ID exclusivo usado para consultar progresso e resultado"}]}}],"description":"Resultado do envio com status inicial e ID da tarefa"}]}}],"examples":{"example":{"value":{"code":123,"data":[{"status":"\u003cstring>","task_id":"\u003cstring>"}]}}}}}},"deprecated":false}},"jsLinks":["/_mintlify/custom/apicore/1f7e29c94a916812/cn-domain-rewrite.js","/_mintlify/custom/apicore/afc6076845564106/param-field-copy.js"],"subdomain":"apicore","siteName":"APIMart","title":"Geração de vídeo MiniMax-H3-Max - APIMart","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/api-reference/videos/minimax-h3/max","matchLevel":1},"zh-Hans":{"href":"/cn/api-reference/videos/minimax-h3/max","matchLevel":1},"ja":{"href":"/ja/api-reference/videos/minimax-h3/max","matchLevel":1},"ko":{"href":"/ko/api-reference/videos/minimax-h3/max","matchLevel":1},"ru":{"href":"/ru/api-reference/videos/minimax-h3/max","matchLevel":1},"de":{"href":"/de/api-reference/videos/minimax-h3/max","matchLevel":1},"fr":{"href":"/fr/api-reference/videos/minimax-h3/max","matchLevel":1},"pt":{"href":"/pt/api-reference/videos/minimax-h3/max","matchLevel":0},"id":{"href":"/id/api-reference/videos/minimax-h3/max","matchLevel":1},"es":{"href":"/es/api-reference/videos/minimax-h3/max","matchLevel":1}}},"lastModified":"2026-11-13T03:13:24.638Z","originalFileLocation":"pt/api-reference/videos/minimax-h3/max.mdx","locale":"pt"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"- Versão rápida do MiniMax Video Generation V2 com envio assíncrono de tarefas - Suporta texto para vídeo, controle dos quadros inicial/final e geração com referências multimodais - Suporta 480P / 768P / 1080P e vídeos de 5 a 15 segundos com áudio - Suporta imagens, vídeos e áudios de referência; não suporta 2K nem quadros intermediários\">\u003cmeta data-mint-head name=\"keywords\" content=\"OpenAI compatible, API gateway, GPT-5, Claude, Gemini, multi-provider, transparent pricing, SLA\">\u003cmeta data-mint-head name=\"application-name\" content=\"APIMart\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Geração de vídeo MiniMax-H3-Max - APIMart\">\u003cmeta data-mint-head property=\"og:description\" content=\"- Versão rápida do MiniMax Video Generation V2 com envio assíncrono de tarefas - Suporta texto para vídeo, controle dos quadros inicial/final e geração com referências multimodais - Suporta 480P / 768P / 1080P e vídeos de 5 a 15 segundos com áudio - Suporta imagens, vídeos e áudios de referência; não suporta 2K nem quadros intermediários\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"APIMart\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.apimart.ai/pt/api-reference/videos/minimax-h3/max\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://apicore.mintlify.site/_mintlify/api/og/v2?division=MiniMax-H3\u0026amp;title=Gera%C3%A7%C3%A3o+de+v%C3%ADdeo+MiniMax-H3-Max\u0026amp;description=+-+Vers%C3%A3o+r%C3%A1pida+do+MiniMax+Video+Generation+V2+com+envio+ass%C3%ADncrono+de+tarefas%0A-+Suporta+texto+para+v%C3%ADdeo%2C+controle+dos+quadros+inicial%2Ffinal+e+gera%C3%A7%C3%A3o+com+ref\u0026amp;theme=20cab0b8d8d3e93733d26c49\u0026amp;signature=06e13538de2c3492396922f7363aea836511c8504444ec39c96044153492d486\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Geração de vídeo MiniMax-H3-Max - APIMart\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"- Versão rápida do MiniMax Video Generation V2 com envio assíncrono de tarefas - Suporta texto para vídeo, controle dos quadros inicial/final e geração com referências multimodais - Suporta 480P / 768P / 1080P e vídeos de 5 a 15 segundos com áudio - Suporta imagens, vídeos e áudios de referência; não suporta 2K nem quadros intermediários\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://apicore.mintlify.site/_mintlify/api/og/v2?division=MiniMax-H3\u0026amp;title=Gera%C3%A7%C3%A3o+de+v%C3%ADdeo+MiniMax-H3-Max\u0026amp;description=+-+Vers%C3%A3o+r%C3%A1pida+do+MiniMax+Video+Generation+V2+com+envio+ass%C3%ADncrono+de+tarefas%0A-+Suporta+texto+para+v%C3%ADdeo%2C+controle+dos+quadros+inicial%2Ffinal+e+gera%C3%A7%C3%A3o+com+ref\u0026amp;theme=20cab0b8d8d3e93733d26c49\u0026amp;signature=06e13538de2c3492396922f7363aea836511c8504444ec39c96044153492d486\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/apicore/lN2mX6cSovqJeXFa/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"APIMart\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563EB\">\u003cmeta data-mint-head name=\"twitter:creator\" content=\"@APIMart_\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.apimart.ai/pt/api-reference/videos/minimax-h3/max\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/pt/api-reference/videos/minimax-h3/max.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt\" href=\"https://docs.apimart.ai/pt/api-reference/videos/minimax-h3/max\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.apimart.ai/en/api-reference/videos/minimax-h3/max\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hans\" href=\"https://docs.apimart.ai/cn/api-reference/videos/minimax-h3/max\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.apimart.ai/ja/api-reference/videos/minimax-h3/max\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.apimart.ai/ko/api-reference/videos/minimax-h3/max\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://docs.apimart.ai/ru/api-reference/videos/minimax-h3/max\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://docs.apimart.ai/de/api-reference/videos/minimax-h3/max\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.apimart.ai/fr/api-reference/videos/minimax-h3/max\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"id\" href=\"https://docs.apimart.ai/id/api-reference/videos/minimax-h3/max\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.apimart.ai/es/api-reference/videos/minimax-h3/max\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.apimart.ai/en/api-reference/videos/minimax-h3/max\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.apimart.ai/#organization\",\"name\":\"APIMart\",\"url\":\"https://docs.apimart.ai\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.apimart.ai#website\",\"name\":\"APIMart\",\"url\":\"https://docs.apimart.ai\",\"publisher\":{\"@id\":\"https://docs.apimart.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.apimart.ai/pt/api-reference/videos/minimax-h3/max#webpage\",\"url\":\"https://docs.apimart.ai/pt/api-reference/videos/minimax-h3/max\",\"name\":\"Geração de vídeo MiniMax-H3-Max\",\"description\":\"- Versão rápida do MiniMax Video Generation V2 com envio assíncrono de tarefas - Suporta texto para vídeo, controle dos quadros inicial/final e geração com referências multimodais - Suporta 480P / 768P / 1080P e vídeos de 5 a 15 segundos com áudio - Suporta imagens, vídeos e áudios de referência; não suporta 2K nem quadros intermediários\",\"dateModified\":\"2026-11-13T03:13:24.638Z\",\"isPartOf\":{\"@id\":\"https://docs.apimart.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.apimart.ai/pt/api-reference/videos/minimax-h3/max#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.apimart.ai/pt/api-reference/videos/minimax-h3/max#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Série de Vídeo\",\"item\":\"https://docs.apimart.ai/pt/api-reference/videos/magi-2/generation\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MiniMax-H3\",\"item\":\"https://docs.apimart.ai/pt/api-reference/videos/minimax-h3/generation\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Geração de vídeo MiniMax-H3-Max\",\"item\":\"https://docs.apimart.ai/pt/api-reference/videos/minimax-h3/max\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.apimart.ai/pt/api-reference/videos/minimax-h3/max#apireference\",\"headline\":\"Geração de vídeo MiniMax-H3-Max\",\"name\":\"Geração de vídeo MiniMax-H3-Max\",\"description\":\"- Versão rápida do MiniMax Video Generation V2 com envio assíncrono de tarefas - Suporta texto para vídeo, controle dos quadros inicial/final e geração com referências multimodais - Suporta 480P / 768P / 1080P e vídeos de 5 a 15 segundos com áudio - Suporta imagens, vídeos e áudios de referência; não suporta 2K nem quadros intermediários\",\"url\":\"https://docs.apimart.ai/pt/api-reference/videos/minimax-h3/max\",\"mainEntityOfPage\":{\"@id\":\"https://docs.apimart.ai/pt/api-reference/videos/minimax-h3/max#webpage\"},\"dateModified\":\"2026-11-13T03:13:24.638Z\",\"publisher\":{\"@id\":\"https://docs.apimart.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.apimart.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"APIMart\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"APIMart\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/pt/api-reference/videos/minimax-h3/max.md","siteName":"APIMart","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/en/api-reference/videos/minimax-h3/max"}]},{"language":"zh-Hans","pages":[{"title":"zh-Hans","href":"/cn/api-reference/videos/minimax-h3/max"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/api-reference/videos/minimax-h3/max"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/api-reference/videos/minimax-h3/max"}]},{"language":"ru","pages":[{"title":"ru","href":"/ru/api-reference/videos/minimax-h3/max"}]},{"language":"de","pages":[{"title":"de","href":"/de/api-reference/videos/minimax-h3/max"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/api-reference/videos/minimax-h3/max"}]},{"language":"pt","tabs":[{"tab":"Manual da API","groups":[{"group":"Visão Geral","pages":[{"title":"APIMart — Gateway de API compatível com OpenAI (GPT-5, Claude, Gemini)","href":"/pt"}]},{"group":"Modelos","pages":[{"title":"API de metadados da lista de modelos","api":"GET https://api.apimart.ai/v1/models","href":"/pt/api-reference/texts/models/list"}]},{"group":"Série de Texto","icon":"text","pages":[{"title":"API geral de Chat (streaming por padrão)","api":"POST https://api.apimart.ai/v1/chat/completions","href":"/pt/api-reference/texts/general/chat-completions"},{"title":"API geral de Chat (sem streaming por padrão)","api":"POST https://api.apimart.ai/api/v1/chat/completions","href":"/pt/api-reference/texts/general/chat-completions-nostream"},{"title":"API Claude Messages","api":"POST https://api.apimart.ai/v1/messages","href":"/pt/api-reference/texts/general/claude-messages"},{"title":"Formato nativo do Gemini","api":"POST https://api.apimart.ai/v1beta/models/{model}:{method}","href":"/pt/api-reference/texts/gemini/quickstart"},{"title":"API multimodal OpenAI Responses","api":"POST https://api.apimart.ai/v1/responses","href":"/pt/api-reference/texts/openai/responses"},{"title":"Guia de cache de contexto da OpenAI","sidebarTitle":"Cache de contexto da OpenAI","icon":"database","href":"/pt/api-reference/texts/openai/context-cache"},{"title":"Guia de uso do cache de contexto do Gemini","sidebarTitle":"Cache de contexto do Gemini","icon":"database","href":"/pt/api-reference/texts/gemini/context-cache"},{"title":"Guia de uso do cache de contexto do Claude","sidebarTitle":"Cache de contexto do Claude","icon":"database","href":"/pt/api-reference/texts/general/claude-context-cache"},{"group":"qwen3.8-max","icon":"message","pages":[{"title":"qwen3.8-max Integration Guide","api":"POST https://api.apimart.ai/v1/chat/completions","href":"/pt/api-reference/texts/qwen3.8-max/guide"},{"title":"Model Pricing API","api":"GET https://api.apimart.ai/api/pricing/model?model=qwen3.8-max","href":"/pt/api-reference/texts/qwen3.8-max/pricing"}]}]},{"group":"Série de Imagem","icon":"image","pages":[{"group":"Nano banana 2.1","icon":"image","pages":[{"title":"Nano banana 2.1 Geração de imagens","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/gemini-nano-banana-2.1/generation"}]},{"group":"Nano banana2","icon":"image","pages":[{"title":"Nano banana2 Geração de imagens","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/gemini-3.1-flash/generation"},{"title":"Nano Banana Lite Geração de imagens","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/gemini-3.1-flash/generation-lite"}]},{"group":"Nano banana Pro","icon":"image","pages":[{"title":"Nano banana Pro Geração de imagens","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/gemini-3-pro/generation"}]},{"group":"Nano banana","icon":"image","pages":[{"title":"Nano banana Geração de imagens","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/gemini-2.5-flash/generation"}]},{"group":"GPT-Image-1.5","icon":"image","pages":[{"title":"Geração de imagens GPT-Image-1.5","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/gpt-image-1/generation"}]},{"group":"GPT-Image-2","icon":"image","pages":[{"title":"Geração de imagens GPT-Image-2","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/gpt-image-2/generation"},{"title":"Geração de imagens GPT-Image-2 Canal Oficial","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/gpt-image-2/official"}]},{"group":"GPT-Image-2.5","icon":"image","pages":[{"title":"Geração de imagens GPT-Image-2.5","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/gpt-image-2.5/generation"}]},{"group":"GPT-Image-2.5 Ext","icon":"image","pages":[{"title":"GPT-Image-2.5 Ext — Geração de imagens","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/gpt-image-2.5-ext/generation"}]},{"group":"GPT-Image-2.6","icon":"image","pages":[{"title":"GPT-Image-2.6 Geração de imagens","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/gpt-image-2.6/generation"}]},{"group":"GPT-Image-2.6 Ext","icon":"image","pages":[{"title":"GPT-Image-2.6 Ext Geração de imagens","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/gpt-image-2.6-ext/generation"}]},{"group":"Seedream-4.0","icon":"image","pages":[{"title":"Geração de Imagens Seedream-4.0","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/seedream-4/generation"}]},{"group":"Seedream-4.5","icon":"image","pages":[{"title":"Geração de Imagens Seedream-4.5","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/seedream-4.5/generation"}]},{"group":"Seedream-5.0-Lite","icon":"image","pages":[{"title":"Geração de Imagens Seedream-5.0-Lite","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/seedream-5-lite/generation"}]},{"group":"Seedream-5.0-Pro","icon":"image","pages":[{"title":"Geração de Imagens Seedream-5.0-Pro","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/seedream-5-0-pro/generation"}]},{"group":"Seedream-5.0-Flash","icon":"image","pages":[{"title":"Geração de Imagens Seedream-5.0-Flash","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/seedream-5-0-flash/generation"}]},{"group":"Seedream-5.5","icon":"image","pages":[{"title":"Geração de imagens Seedream 5.5","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/seedream-5-5/generation"}]},{"group":"Kling V4 Image","icon":"image","pages":[{"title":"Geração de imagens Kling V4 Image","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/kling-v4-image/generation"}]},{"group":"Kling V4 Long Image","icon":"image","pages":[{"title":"Geração de imagens longas Kling V4 Long Image","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/kling-v4-long-image/generation"}]},{"group":"Flux Kontext","icon":"image","pages":[{"title":"Geração e edição de imagens com FLUX Kontext","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/flux-kontext/generation"}]},{"group":"Flux 2.0","icon":"image","pages":[{"title":"Geração de imagens com FLUX.2","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/flux-2/generation"}]},{"group":"FLUX 3 Image","icon":"image","pages":[{"title":"FLUX 3 Image Geração de imagens","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/flux-3-image/generation"}]},{"group":"FLUX 3 Image Klein","icon":"image","pages":[{"title":"FLUX 3 Image Klein Geração de imagens","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/flux-3-image-klein/generation"}]},{"group":"Hy-Image-3.5 Preview","icon":"image","pages":[{"title":"Hy-Image-3.5 Preview Geração de imagens","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/hy-image-v3.5-preview/generation"}]},{"group":"Muse Image Ext","icon":"image","pages":[{"title":"Geração de imagens Muse Image Ext","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/muse-image-ext/generation"}]},{"group":"MAI-Image-2.7","icon":"image","pages":[{"title":"Geração de imagens MAI-Image-2.7","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/mai-image-2.7/generation"}]},{"group":"MAI-Image-2.6","icon":"image","pages":[{"title":"MAI-Image-2.6 Geração de imagens","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/mai-image-2.6/generation"}]},{"group":"MiniMax-H3-Image","icon":"image","pages":[{"title":"Geração de imagens MiniMax-H3-Image","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/minimax-h3-image/generation"}]},{"group":"MiniMax-H3-Image-Highspeed","icon":"image","pages":[{"title":"Geração de imagens MiniMax-H3-Image-Highspeed","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/minimax-h3-image-highspeed/generation"}]},{"group":"Qwen Image 2.0","icon":"image","pages":[{"title":"Geração de Imagens Qwen Image 2.0","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/qwen-image/generation"}]},{"group":"Qwen Image 3.0","icon":"image","pages":[{"title":"Geração de imagens Qwen Image 3.0","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/qwen-image-3.0/generation"}]},{"group":"Z-Image-Turbo","icon":"image","pages":[{"title":"Geração de Imagens Z-Image-Turbo","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/z-image-turbo/generation"}]},{"group":"Grok Imagine","icon":"image","pages":[{"title":"Grok Imagine geração de imagens","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/grok-imagine/generation"}]},{"group":"Grok Imagine 2.0 Ext","icon":"image","pages":[{"title":"Grok Imagine 2.0 Ext geração de imagens","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/grok-imagine-2.0-ext/generation"},{"title":"Camadas e edição de regiões do Grok Imagine 2.0 Ext","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/grok-imagine-2.0-ext/layer-region-edit"},{"title":"Grok Imagine Image 2.0 — geração e edição oficiais","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/grok-imagine-2.0-ext/official"}]},{"group":"wan2.7-image","icon":"image","pages":[{"title":"Geração e Edição de Imagens wan2.7","api":"POST https://api.apimart.ai/v1/images/generations","href":"/pt/api-reference/images/wan2.7-image/generation"}]},{"group":"Midjourney","icon":"image","pages":[{"title":"Visão geral da API Midjourney","href":"/pt/api-reference/images/midjourney/generation"},{"title":"Imagine (texto para imagem)","api":"POST https://api.apimart.ai/v1/midjourney/generations","href":"/pt/api-reference/images/midjourney/imagine"},{"title":"Blend (mistura de imagens)","api":"POST https://api.apimart.ai/v1/midjourney/generations/blend","href":"/pt/api-reference/images/midjourney/blend"},{"title":"Describe (imagem para texto)","api":"POST https://api.apimart.ai/v1/midjourney/generations/describe","href":"/pt/api-reference/images/midjourney/describe"},{"title":"Edits (edição de imagem)","api":"POST https://api.apimart.ai/v1/midjourney/generations/edits","href":"/pt/api-reference/images/midjourney/edits"},{"title":"Upscale (aumentar tile)","api":"POST https://api.apimart.ai/v1/midjourney/generations/upscale","href":"/pt/api-reference/images/midjourney/upscale"},{"title":"Variation (variação)","api":"POST https://api.apimart.ai/v1/midjourney/generations/variation","href":"/pt/api-reference/images/midjourney/variation"},{"title":"High Variation (variação forte)","api":"POST https://api.apimart.ai/v1/midjourney/generations/high-variation","href":"/pt/api-reference/images/midjourney/high-variation"},{"title":"Low Variation (variação sutil)","api":"POST https://api.apimart.ai/v1/midjourney/generations/low-variation","href":"/pt/api-reference/images/midjourney/low-variation"},{"title":"Reroll (regenerar)","api":"POST https://api.apimart.ai/v1/midjourney/generations/reroll","href":"/pt/api-reference/images/midjourney/reroll"},{"title":"Zoom (zoom out)","api":"POST https://api.apimart.ai/v1/midjourney/generations/zoom","href":"/pt/api-reference/images/midjourney/zoom"},{"title":"Pan (pan)","api":"POST https://api.apimart.ai/v1/midjourney/generations/pan","href":"/pt/api-reference/images/midjourney/pan"},{"title":"Inpaint (Vary Region)","api":"POST https://api.apimart.ai/v1/midjourney/generations/inpaint","href":"/pt/api-reference/images/midjourney/inpaint"},{"title":"Modal (enviar parâmetros)","api":"POST https://api.apimart.ai/v1/midjourney/generations/modal","href":"/pt/api-reference/images/midjourney/modal"},{"title":"Video (imagem para vídeo)","api":"POST https://api.apimart.ai/v1/midjourney/generations/video","href":"/pt/api-reference/images/midjourney/video"},{"title":"Remix (Reshape)","api":"POST https://api.apimart.ai/v1/midjourney/generations/remix-strong","href":"/pt/api-reference/images/midjourney/remix"},{"title":"Consultar tarefa","api":"GET https://api.apimart.ai/v1/midjourney/{task_id}","href":"/pt/api-reference/images/midjourney/query"},{"title":"Melhores práticas","href":"/pt/api-reference/images/midjourney/best-practices"},{"title":"Exemplos completos de workflow","href":"/pt/api-reference/images/midjourney/workflow"}]}]},{"group":"Série de Vídeo","icon":"video","pages":[{"group":"MAGI-2","icon":"video","pages":[{"title":"Geração de vídeo MAGI-2","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/magi-2/generation"}]},{"group":"apimart-zoe","icon":"video","pages":[{"title":"Geração de vídeo apimart-zoe","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/apimart-zoe/generation"}]},{"group":"seedance-1-0-pro","icon":"video","pages":[{"title":"seedance-1-0-pro — Geração de vídeo","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/doubao/generation"}]},{"group":"seedance-2-0","icon":"video","pages":[{"title":"seedance-2.0 — Geração de vídeo","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/seedance-2-0/generation"},{"title":"Assets de avatar virtual","api":"POST https://api.apimart.ai/v1/seedance2/private-avatar","href":"/pt/api-reference/videos/seedance-2-0/private-avatar"}]},{"group":"seedance-2-5","icon":"video","pages":[{"title":"seedance-2.5 Video Generation","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/seedance-2-5/generation"}]},{"group":"seedance-2-5-flash","icon":"video","pages":[{"title":"Geração de vídeo Seedance 2.5 Flash","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/seedance-2-5-flash/generation"}]},{"group":"VEO3","icon":"video","pages":[{"title":"VEO3 — Geração de vídeo","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/veo3/generation"},{"title":"VEO3 — Remix de vídeo","api":"POST https://api.apimart.ai/v1/videos/{task_id}/remix","href":"/pt/api-reference/videos/veo3/remix"},{"title":"VEO3 Official — Geração de vídeo","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/veo3/generation-official"}]},{"group":"MiniMax-Hailuo-02","icon":"video","pages":[{"title":"MiniMax-Hailuo-02 — Geração de vídeo","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/minimax-hailuo/generation"}]},{"group":"MiniMax-Hailuo-2.3","icon":"video","pages":[{"title":"Geração de Vídeo MiniMax-Hailuo-2.3","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/minimax-hailuo-2.3/generation"}]},{"group":"MiniMax-H3","icon":"video","pages":[{"title":"Geração de Vídeo MiniMax-H3","description":" - Modo de processamento assíncrono, retorna um ID de tarefa para consultas posteriores\n- Suporta texto para vídeo, imagem para vídeo (primeiro / último / primeiro+último quadro) e referência multimodal para vídeo (imagens + vídeos + áudio de referência)\n- Suporta resoluções 2K / 768P, duração de 4 a 15 segundos, com faixa de áudio\n- Compartilha as mesmas APIs de envio e consulta que MiniMax-Hailuo-02 / MiniMax-Hailuo-2.3 ","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/minimax-h3/generation"},{"title":"Geração de vídeo MiniMax-H3-Max","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/minimax-h3/max"},{"title":"MiniMax-H3 Context-IR aprimoramento de prompt","description":" - Compreensão multimodal de contexto que produz um prompt estruturado aprimorado (somente texto, sem vídeo)\n- Compartilha os mesmos campos de mídia e regras de exclusão mútua da geração de vídeo H3\n- Cobrança por tokens; normalmente conclui em 20~40 segundos\n- Use sozinho ou como etapa 1 do workflow prévia 768P → regeneração 2K ","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/minimax-h3/context-ir"},{"title":"MiniMax-H3 Regeneration","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/minimax-h3/regeneration"}]},{"group":"FLUX 3 Video","icon":"video","pages":[{"title":"Geração de vídeo FLUX 3","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/flux-3-video/generation"}]},{"group":"SkyReels V4","icon":"video","pages":[{"title":"Geração de Vídeo SkyReels V4","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/skyreels-v4/generation"}]},{"group":"HappyHorse","icon":"video","pages":[{"title":"Geração de Vídeo HappyHorse 1.0","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/happyhorse-1.0/generation"},{"title":"Geração de Vídeo HappyHorse 1.1","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/happyhorse-1.1/generation"}]},{"group":"Wan3.0","icon":"video","pages":[{"title":"Geração de vídeo Wan3.0","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/wan3.0-video/generation"}]},{"group":"Wan2.7","icon":"video","pages":[{"title":"Geração de Vídeo Wan2.7","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/wan2.7/generation"},{"title":"Wan2.7-R2V Reference-to-Video","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/wan2.7-r2v/generation"},{"title":"Edição de Vídeo Wan2.7-VideoEdit","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/wan2.7-videoedit/generation"}]},{"group":"Wan2.6","icon":"video","pages":[{"title":"Geração de Vídeo Wan2.6","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/wan2.6/generation"},{"title":"wan2.6-i2v-flash Image-to-Video","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/wan2.6/i2v-flash-generation"}]},{"group":"Wan2.5","icon":"video","pages":[{"title":"Geração de Vídeo wan2.5-preview","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/wan2.5/generation"}]},{"group":"Kling 2.6","icon":"video","pages":[{"title":"Geração de Vídeo Kling 2.6","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/kling-v2-6/generation"},{"title":"Geração de vídeo com controle de movimento Kling v2.6","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/kling-v2-6/kling-v2-6-motion-control-generation"}]},{"group":"Kling v3","icon":"video","pages":[{"title":"Geração de vídeo Kling v3","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/kling-v3/generation"}]},{"group":"Kling 3.0 Turbo","icon":"video","pages":[{"title":"Geração de vídeo Kling 3.0 Turbo","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/kling-3.0-turbo/generation"}]},{"group":"Kling v3 Omni","icon":"video","pages":[{"title":"Geração de vídeo Kling v3 Omni","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/kling-v3-omni/generation"}]},{"group":"Kling V4","icon":"video","pages":[{"title":"Kling V4 Geração de vídeos","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/kling-v4/generation"}]},{"group":"Kling V4 Flash","icon":"video","pages":[{"title":"Kling V4 Flash Geração de vídeos","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/kling-v4-flash/generation"}]},{"group":"Kling Video O1","icon":"video","pages":[{"title":"Geração de vídeo Kling Video O1","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/kling-video-o1/generation"}]},{"group":"Vidu Q3(pro/turbo)","icon":"video","pages":[{"title":"Geração de vídeo Vidu Q3 (pro/turbo)","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/vidu-q3-pro/generation"}]},{"group":"Vidu Q4 Preview","icon":"video","pages":[{"title":"Vidu Q4 Preview Geração de vídeo","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/vidu-q4-preview/generation"}]},{"group":"Vidu Q3(mix/standard)","icon":"video","pages":[{"title":"Vidu Q3 (mix/standard) Reference-to-Video","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/vidu-q3/generation"}]},{"group":"Grok Imagine","icon":"video","pages":[{"title":"Geração de vídeo Grok Imagine 1.5","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/grok-imagine/generation"},{"title":"Modelos oficiais de vídeo Grok","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/grok-imagine/official"}]},{"group":"Pixverse v6","icon":"video","pages":[{"title":"Pixverse v6 Geração de Vídeo","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/pixverse-v6/generation"}]},{"group":"PixVerse V6 Max","icon":"video","pages":[{"title":"PixVerse V6 Max Geração de vídeos","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/pixverse-v6-max/generation"}]},{"group":"Muse Video Ext","icon":"video","pages":[{"title":"Geração de vídeos Muse Video Ext","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/muse-video-ext/generation"}]},{"group":"gemini-omni-1.1-flash-ext","icon":"video","pages":[{"title":"Geração de vídeo gemini-omni-1.1-flash-ext","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/omni-flash-ext/generation"}]},{"group":"gemini-omni-1.2-flash-ext","icon":"video","pages":[{"title":"Geração de vídeo gemini-omni-1.2-flash-ext","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/gemini-omni-1.2-flash-ext/generation"}]},{"group":"Gemini Omni 1.2 Flash","icon":"video","pages":[{"title":"Geração de vídeo Gemini Omni 1.2 Flash","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/gemini-omni-1.2-flash/generation"}]},{"group":"Gemini Omni 1.1 Flash","icon":"video","pages":[{"title":"Geração de vídeo Gemini Omni 1.1 Flash","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/gemini-omni-1.1-flash/generation"}]},{"group":"Gemini Omni Flash","icon":"video","pages":[{"title":"Geração de vídeo Gemini Omni Flash","api":"POST https://api.apimart.ai/v1/videos/generations","href":"/pt/api-reference/videos/gemini-omni-flash-preview/generation"}]}]},{"group":"Série de Áudio","icon":"microphone","pages":[{"title":"Whisper-1 Transcrição de áudio","api":"POST https://api.apimart.ai/v1/audio/transcriptions","href":"/pt/api-reference/audios/whisper-1"},{"title":"TTS Texto-para-fala","api":"POST https://api.apimart.ai/v1/audio/speech","href":"/pt/api-reference/audios/tts"},{"group":"Flow Music","icon":"music","pages":[{"title":"Gerar Música","api":"POST https://api.apimart.ai/v1/music/generations","href":"/pt/api-reference/audios/flow-music/music"},{"title":"Gerar Música com Lyria 3.5","api":"POST https://api.apimart.ai/v1/music/generations","href":"/pt/api-reference/audios/flow-music/music-lyria-3-5"},{"title":"Gerar Letras","api":"POST https://api.apimart.ai/v1/music/generations/lyricsFlowMusic","href":"/pt/api-reference/audios/flow-music/lyrics"},{"title":"Extensão de Música","api":"POST https://api.apimart.ai/v1/music/generations/extendFlowMusic","href":"/pt/api-reference/audios/flow-music/extend"},{"title":"Extensão de Música com Lyria 3.5","api":"POST https://api.apimart.ai/v1/music/generations/extendFlowMusic","href":"/pt/api-reference/audios/flow-music/extend-lyria-3-5"},{"title":"Substituição de Trecho","api":"POST https://api.apimart.ai/v1/music/generations/replaceFlowMusic","href":"/pt/api-reference/audios/flow-music/replace"},{"title":"Substituição de Trecho com Lyria 3.5","api":"POST https://api.apimart.ai/v1/music/generations/replaceFlowMusic","href":"/pt/api-reference/audios/flow-music/replace-lyria-3-5"},{"title":"Cover / Rearranjo","api":"POST https://api.apimart.ai/v1/music/generations/coverFlowMusic","href":"/pt/api-reference/audios/flow-music/cover"},{"title":"Cover / Rearranjo com Lyria 3.5","api":"POST https://api.apimart.ai/v1/music/generations/coverFlowMusic","href":"/pt/api-reference/audios/flow-music/cover-lyria-3-5"},{"title":"Separação de Faixas","api":"POST https://api.apimart.ai/v1/music/generations/stemsFlowMusic","href":"/pt/api-reference/audios/flow-music/stems"},{"title":"Enviar Áudio","api":"POST https://api.apimart.ai/v1/music/generations/uploadAudioFlowMusic","href":"/pt/api-reference/audios/flow-music/upload-audio"},{"title":"Baixar Áudio","api":"POST https://api.apimart.ai/v1/music/generations/downloadAudioFlowMusic","href":"/pt/api-reference/audios/flow-music/download-audio"},{"title":"Renderização de Vídeo Musical","api":"POST https://api.apimart.ai/v1/music/generations/videoClipFlowMusic","href":"/pt/api-reference/audios/flow-music/video-clip"},{"title":"Consultar Tarefa","api":"GET https://api.apimart.ai/v1/music/tasks/{task_id}","href":"/pt/api-reference/audios/flow-music/query"}]},{"group":"Suno","icon":"music","pages":[{"title":"Regras gerais do Suno V6 e consulta de tarefas","api":"GET https://api.apimart.ai/v1/music/tasks/{task_id}","href":"/pt/api-reference/audios/suno/overview"},{"title":"Gerar música","api":"POST https://api.apimart.ai/v1/music/generations","href":"/pt/api-reference/audios/suno/generation"},{"title":"Gerar letra","api":"POST https://api.apimart.ai/v1/music/generations/lyrics","href":"/pt/api-reference/audios/suno/lyrics"},{"title":"Geração por inspiração (inspo)","api":"POST https://api.apimart.ai/v1/music/generations/inspo","href":"/pt/api-reference/audios/suno/inspo"},{"title":"Geração de efeitos sonoros","api":"POST https://api.apimart.ai/v1/music/generations/sounds","href":"/pt/api-reference/audios/suno/sounds"},{"title":"Aprimoramento de tags","api":"POST https://api.apimart.ai/v1/music/generations/upsampleTags","href":"/pt/api-reference/audios/suno/upsample-tags"},{"title":"Enviar áudio","api":"POST https://api.apimart.ai/v1/music/generations/uploadTask","href":"/pt/api-reference/audios/suno/upload"},{"title":"Enviar áudio e criar um cover","api":"POST https://api.apimart.ai/v1/music/generations/uploadCover","href":"/pt/api-reference/audios/suno/upload-cover"},{"title":"Enviar e estender áudio","api":"POST https://api.apimart.ai/v1/music/generations/uploadExtend","href":"/pt/api-reference/audios/suno/upload-extend"},{"title":"Criar um modelo personalizado","api":"POST https://api.apimart.ai/v1/music/generations/createModel","href":"/pt/api-reference/audios/suno/create-model"},{"title":"Continuação e extensão","api":"POST https://api.apimart.ai/v1/music/generations/extend","href":"/pt/api-reference/audios/suno/extend"},{"title":"Cover em outro estilo","api":"POST https://api.apimart.ai/v1/music/generations/coverSong","href":"/pt/api-reference/audios/suno/cover-song"},{"title":"Masterização","api":"POST https://api.apimart.ai/v1/music/generations/remaster","href":"/pt/api-reference/audios/suno/remaster"},{"title":"Extração de faixas","api":"POST https://api.apimart.ai/v1/music/generations/stems","href":"/pt/api-reference/audios/suno/stems"},{"title":"Separação completa de faixas","api":"POST https://api.apimart.ai/v1/music/generations/stemsAll","href":"/pt/api-reference/audios/suno/stems-all"},{"title":"Adicionar vocais","api":"POST https://api.apimart.ai/v1/music/generations/addVocals","href":"/pt/api-reference/audios/suno/add-vocals"},{"title":"Adicionar acompanhamento","api":"POST https://api.apimart.ai/v1/music/generations/addInstrumental","href":"/pt/api-reference/audios/suno/add-instrumental"},{"title":"Adicionar faixa (add stem)","api":"POST https://api.apimart.ai/v1/music/generations/addStem","href":"/pt/api-reference/audios/suno/add-stem"},{"title":"Extrair Vox (descontinuado)","api":"POST https://api.apimart.ai/v1/music/generations/vox","href":"/pt/api-reference/audios/suno/vox"},{"title":"Criar voz","api":"POST https://api.apimart.ai/v1/music/generations/createVoice","href":"/pt/api-reference/audios/suno/create-voice"},{"title":"Persona","api":"POST https://api.apimart.ai/v1/music/generations/persona","href":"/pt/api-reference/audios/suno/persona"},{"title":"Substituição de trecho","api":"POST https://api.apimart.ai/v1/music/generations/replaceMusic","href":"/pt/api-reference/audios/suno/replace-music"},{"title":"Excluir trecho","api":"POST https://api.apimart.ai/v1/music/generations/removeSection","href":"/pt/api-reference/audios/suno/remove-section"},{"title":"Recortar áudio","api":"POST https://api.apimart.ai/v1/music/generations/crop","href":"/pt/api-reference/audios/suno/crop"},{"title":"Fade-in","api":"POST https://api.apimart.ai/v1/music/generations/fadeIn","href":"/pt/api-reference/audios/suno/fade-in"},{"title":"Fade-out","api":"POST https://api.apimart.ai/v1/music/generations/fadeOut","href":"/pt/api-reference/audios/suno/fade-out"},{"title":"Ajustar velocidade","api":"POST https://api.apimart.ai/v1/music/generations/adjustSpeed","href":"/pt/api-reference/audios/suno/adjust-speed"},{"title":"Síntese / junção de música completa","api":"POST https://api.apimart.ai/v1/music/generations/concat","href":"/pt/api-reference/audios/suno/concat"},{"title":"Gerar mashup (mashup)","api":"POST https://api.apimart.ai/v1/music/generations/mashup","href":"/pt/api-reference/audios/suno/mashup"},{"title":"Amostra para música (sample)","api":"POST https://api.apimart.ai/v1/music/generations/sample","href":"/pt/api-reference/audios/suno/sample"},{"title":"Gerar MIDI","api":"POST https://api.apimart.ai/v1/music/generations/midi","href":"/pt/api-reference/audios/suno/midi"},{"title":"Linha do tempo da letra","api":"POST https://api.apimart.ai/v1/music/generations/alignedLyrics","href":"/pt/api-reference/audios/suno/aligned-lyrics"},{"title":"Análise de BPM","api":"POST https://api.apimart.ai/v1/music/generations/bpm","href":"/pt/api-reference/audios/suno/bpm"},{"title":"Gerar vídeo musical (MV)","api":"POST https://api.apimart.ai/v1/music/generations/generateMp4","href":"/pt/api-reference/audios/suno/generate-mp4"},{"title":"Baixar arquivos de áudio","api":"POST https://api.apimart.ai/v1/music/generations/download","href":"/pt/api-reference/audios/suno/wav"}]}]},{"group":"Série de Moderação","icon":"shield-check","pages":[{"group":"omni-moderation-latest","icon":"shield-check","pages":[{"title":"omni-moderation-latest Moderação de conteúdo","api":"POST https://api.apimart.ai/v1/moderations","href":"/pt/api-reference/moderations/omni-moderation-latest/generation"}]}]},{"group":"Gerenciamento de Upload","icon":"cloud-arrow-up","pages":[{"title":"Enviar imagem","api":"POST https://api.apimart.ai/v1/uploads/images","href":"/pt/api-reference/uploads/images"},{"title":"Enviar vídeo","api":"POST https://api.apimart.ai/v1/uploads/videos","href":"/pt/api-reference/uploads/videos"},{"title":"Enviar áudio","api":"POST https://api.apimart.ai/v1/uploads/audios","href":"/pt/api-reference/uploads/audios"}]},{"group":"Gerenciamento de Tarefas","icon":"list-check","pages":[{"title":"Obter status da tarefa","api":"GET https://api.apimart.ai/v1/tasks/{task_id}","href":"/pt/api-reference/tasks/status"},{"title":"Callback de Conclusão de Tarefa (Webhook)","href":"/pt/api-reference/tasks/webhook"}]},{"group":"Gerenciamento de Conta","icon":"wallet","pages":[{"title":"Consultar saldo do token","api":"GET https://api.apimart.ai/v1/balance","href":"/pt/api-reference/account/token-balance"},{"title":"Consultar saldo do usuário","api":"GET https://api.apimart.ai/v1/user/balance","href":"/pt/api-reference/account/user-balance"},{"title":"Consultar gastos e uso","api":"GET https://api.apimart.ai/v1/usage","href":"/pt/api-reference/account/usage"},{"title":"Logs de requisições e preço da conta","href":"/pt/api-reference/account/request-logs"}]}]},{"tab":"Integrações","pages":[{"title":"Integrações","href":"/pt/integrations/chat/chatbox"}]},{"tab":"Guias","pages":[{"title":"Guias","href":"/pt/quickstart"}]},{"tab":"Perguntas Frequentes","pages":[{"title":"Perguntas Frequentes","href":"/pt/faqs"}]}]},{"language":"id","pages":[{"title":"id","href":"/id/api-reference/videos/minimax-h3/max"}]},{"language":"es","pages":[{"title":"es","href":"/es/api-reference/videos/minimax-h3/max"}]}]},"basePath":"","title":"Geração de vídeo MiniMax-H3-Max - APIMart","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-BMn8tSe3.js","snippetPresets-Dl5ZrD9W.js","utils-CddEzDcs.js","style-to-object-BY3JEAdk.js","utils-Dym31Pnf.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-ZiqR8hPK.js","conditional-requirements-CFM0id0Q.js","cloneDeep-D3fPbylz.js","_Uint8Array-BcNtDki0.js","isObject-FP1Yky1u.js","ApiExamples-4Sf3CFhl.js","usePlaygroundInputsStore-Ck91l6q0.js","shallow-DapBSR9G.js","isEqual-Clu_sGzx.js","CodeSnippets-DAVHdSX2.js","CodeSnippet-Be6AcO_D.js","use-playground-group-access-CteWws2O.js","Page-_aL_PM_2.js","api-description-markdown-BPoPkVJQ.js","DynamicMarkdown-QJ7LkRm3.js","SectionHeading-DyxPTJti.js","MethodPill-CGjK-dNY.js","getPastedJson-C4YIGTOJ.js","Check2Icon-B7COpIZE.js","axios-CsQoIw0U.js"]}