grok-imagine-video API de vídeo com IA
xAI oferece grok-imagine-video para geração de vídeo. A Flatkey roteia o modelo por /v1/videos. $0.072 per second.
Saída
PréviaGerado com Seedance 2.0
Resumo da solicitação
- Endpoint da API
- POST /v1/videos
- ID do modelo
- grok-imagine-video
- Proporção
- 16:9
- Resolução
- —
- Duração
- 5s
- Mídia de referência
- Nenhum
Somente prévia. Entre para enviar esta solicitação à Flatkey.
{
"model": "grok-imagine-video",
"prompt": "Creative direction: A man in a dark gallery pushes and rotates a glowing turquoise rectangular panel. Orange and purple panels light up around him as he changes its angle, ending with the three colored surfaces arranged across the room.\n\nVisual treatment: Light-installation performance with turquoise, orange and purple emissive panels.\n\nShot sequence: 1. Frame the man touching the turquoise panel in the dark gallery.; 2. Follow his hands pushing and rotating the panel while orange and purple panels illuminate.; 3. Hold all three colored surfaces in their final arrangement.\n\nContinuity: Keep the main subject, palette and light behavior consistent as the visual pattern develops.\nExclude: extra people or props, text, logos and watermarks.",
"duration": 5
}Desempenho da API
grok-imagine-video Confiabilidade e disponibilidade da API
A telemetria de solicitações da Flatkey para grok-imagine-video aparecerá aqui quando houver tráfego de produção suficiente.
Atividade da API
grok-imagine-video Uso e atividade de solicitações da API
Acompanhe o volume de solicitações e a atividade de inferência bem-sucedida de grok-imagine-video no período mais recente.
grok-imagine-video preços
grok-imagine-video Preços e cobrança da API
Os preços abaixo são calculados com os dados de preços da Flatkey para este modelo e os grupos visíveis retornados pela nossa API de preços.
Adicionar créditos
Use o mesmo saldo e a mesma chave de API Flatkey para modelos de imagem, vídeo, áudio e texto.
- Tipo de modelo
- Texto para vídeo
- API
- /v1/videos
- Base de cobrança
- segundo
- Duração
- 1–15s
- Proporção
- adaptive
grok-imagine-video gerador de vídeo por IA e API: principais capacidades
A rota grok-imagine-video de xAI aceita texto · imagem · vídeo. Categorias do catálogo: Marketing.
grok-imagine-video para geração de vídeo
Converta um briefing escrito em resultados de geração de vídeo por /v1/videos.
Fluxos com referência de grok-imagine-video
Use uma referência existente quando a rota grok-imagine-video aceitar mídia ou contexto de referência.
Variantes de canal de grok-imagine-video
Adapte uma ideia às variantes necessárias para sua loja, campanha ou fluxo de conteúdo.
Entrega de produção de grok-imagine-video
Leve um resultado aprovado da exploração do prompt para um fluxo de geração Flatkey repetível.
Comparar
grok-imagine-video Comparação de API: capacidades e acesso
Compare os fatos do catálogo de grok-imagine-video com a referência da geração anterior antes de alterar sua integração.
| Capacidade | Geração anterior | grok-imagine-video |
|---|---|---|
| Provedor | Não verificado neste instantâneo do catálogo | xAI |
| Modalidades | Não verificado neste instantâneo do catálogo | texto · imagem · vídeo |
| Contexto | Não verificado neste instantâneo do catálogo | A janela de contexto não está listada no catálogo |
| Endpoint da API | Não verificado neste instantâneo do catálogo | /v1/videos |
| Cobrança | Não verificado neste instantâneo do catálogo | $0.072 per second |
Escolha a solicitação certa antes de integrar
Confira fluxos, custo atual e o contrato exato de parâmetros da Flatkey.
Calculada com a configuração atual e a tarifa do catálogo quando há preço unitário fixo.
- Configuração atual
- 5s
- Tarifa ao vivo
- $0.072 / segundo
- Solicitação estimada
- $0.072
A cobrança final depende da solicitação e do grupo; preços por tokens ou faixas não viram uma estimativa fixa.
Fluxos e Model ID
Use apenas fluxos disponíveis. A Flatkey mantém um ID público e o corpo escolhe a entrada.
Texto para vídeo
Crie um clipe a partir de texto e controles.
- ID do modelo
grok-imagine-video- Endpoint
/v1/videos
Imagem para vídeo
Anime referências preservando sujeito e composição.
- ID do modelo
grok-imagine-video- Endpoint
/v1/videos
Compatibilidade de parâmetros
Valores da mesma configuração usada no Playground.
durationDuração1–15
Padrão: 5imageLimite de referências1 arquivos
Endpoint: /v1/videosDo primeiro teste à produção
Use o mesmo contrato no Playground e na API e trate validação, saldo, estado e resultado.
Ciclo da solicitação
- 1
Validar modelo, prompt, referências e saída.
- 2
Enviar e guardar o task ID.
- 3
Consultar o status ou processar o callback.
- 4
Baixar e armazenar antes de expirar.
Verificações de produção
Bloqueie valores e referências incompatíveis.
Trate chave, saldo, limites e grupo separadamente.
Identifique o prompt ou mídia a substituir.
Guarde o task ID, limite tentativas e não trate timeout como sucesso.
Biblioteca de prompts
Exemplos de prompts de grok-imagine-video para geração de vídeo
Comece com um prompt de grok-imagine-video para geração de vídeo e ajuste os campos de solicitação exibidos no playground.
Gerado com Seedance 2.0
Creative direction: A young man in a mustard jacket stands in an empty stairwell holding a white envelope. He opens it, studies the contents, and looks upward toward the landing as the camera moves from a medium view into his reaction. Visual treatment: Live-action suspense with subdued stairwell light and a mustard jacket accent. Shot sequence: 1. Frame the mustard-jacketed man and white envelope in the stairwell.; 2. Ease closer as he opens the envelope and reads.; 3. Hold his upward glance toward the landing without changing eyeline direction. Continuity: Keep the character's face, clothing and key prop consistent; preserve screen direction across cuts. Exclude: extra people or props, text, logos and watermarks.
Gerado com Seedance 2.0
Creative direction: A white travel mug with a blue hinged lid stands on a dark studio surface. One hand flips the lid open at its fixed hinge; a thin plume of steam rises from the opening. Finish on the mug profile with its lid, handle and opening clearly visible. Visual treatment: Photoreal product close-up with a soft edge light on white ceramic, a blue lid and restrained backlit steam. Shot sequence: 1. Hold the closed mug in a three-quarter close-up; 2. Show the hand opening the lid around its hinge; 3. Let the steam rise and settle on the open product profile Continuity: Keep the product silhouette, cap or hinge, materials and prop positions stable; hold the final hero frame. Exclude: extra people or props, text, logos and watermarks.
Gerado com Seedance 2.0
Creative direction: A man enters an empty industrial room beside the sea and walks toward a large window. The camera follows from behind as the ocean and warm sunset fill the opening, ending on his silhouette against the view. Visual treatment: Live-action location reveal with industrial shadows and warm coastal sunset. Shot sequence: 1. Follow the man from behind through the industrial room.; 2. Approach the large window as the sunset ocean fills the opening.; 3. Stop behind his silhouette and retain detail around the window frame. Continuity: Maintain scene geography, subject scale and motivated light direction throughout the camera move. Exclude: extra people or props, text, logos and watermarks.
Gerado com Seedance 2.0
Creative direction: A man stands still in a neutral gray studio while a compact quadcopter drone circles behind and beside him. Keep the camera locked at waist height so the drone's orbit, distance, and the subject's profile remain easy to read. Visual treatment: Live-action character-and-drone study with neutral gray lighting and clear spatial separation. Shot sequence: 1. Hold the man in profile in the neutral gray studio.; 2. Move the quadcopter behind and beside him along a clear curved path.; 3. Keep its distance from the man as the locked camera holds the composition. Continuity: Maintain character design, equipment geometry and travel direction from first to final frame. Exclude: extra people or props, text, logos and watermarks.
Gerado com Seedance 2.0
Creative direction: A presenter speaks at a home desk into a black microphone. Cut to a close view of one hand connecting a small audio cable and adapter, then return to the seated presenter continuing the explanation. Visual treatment: Live-action creator demonstration with natural desk lighting and restrained depth of field. Shot sequence: 1. Establish the seated presenter speaking into the black microphone.; 2. Cut to the hand aligning and inserting the cable into the adapter.; 3. Return to the original desk framing as the explanation continues. Continuity: Keep demonstration props, layout and hand contact consistent so the action remains legible. Exclude: extra people or props, text, logos and watermarks.
Gerado com Seedance 2.0
Creative direction: A man in a dark gallery pushes and rotates a glowing turquoise rectangular panel. Orange and purple panels light up around him as he changes its angle, ending with the three colored surfaces arranged across the room. Visual treatment: Light-installation performance with turquoise, orange and purple emissive panels. Shot sequence: 1. Frame the man touching the turquoise panel in the dark gallery.; 2. Follow his hands pushing and rotating the panel while orange and purple panels illuminate.; 3. Hold all three colored surfaces in their final arrangement. Continuity: Keep the main subject, palette and light behavior consistent as the visual pattern develops. Exclude: extra people or props, text, logos and watermarks.
Por que usar a API grok-imagine-video
Por que usar grok-imagine-video pela Flatkey?
Use um único gateway para grok-imagine-video, controles da conta e o restante do catálogo de modelos.
grok-imagine-video em uma API
Mantenha o ID do modelo e o endpoint de grok-imagine-video explícitos usando a mesma chave Flatkey das demais cargas.
Preços do catálogo ao vivo
Veja as dimensões de cobrança atuais de grok-imagine-video antes do envio e confirme a estimativa final na conta.
Transição prática de modelo
Teste um prompt de grok-imagine-video no playground público e leve as mesmas configurações para uma integração autenticada.
Controles de uso e roteamento
Centralize chaves, cotas e roteamento de grok-imagine-video sem mudar o fluxo da aplicação voltado ao provedor.
grok-imagine-video API
grok-imagine-video Guia de integração da API
Use o ID do modelo acima com /v1/videos e mantenha documentados os campos da solicitação e a unidade de cobrança da rota.
curl https://router.flatkey.ai/v1/videos \ -H "Content-Type: application/json" \ -H "Authorization: Bearer sk-***" \ -d '{"model":"grok-imagine-video","prompt":"Creative direction: A young man in a mustard jacket stands in an empty stairwell holding a white envelope. He opens it, studies the contents, and looks upward toward the landing as the camera moves from a medium view into his reaction.\n\nVisual treatment: Live-action suspense with subdued stairwell light and a mustard jacket accent.\n\nShot sequence: 1. Frame the mustard-jacketed man and white envelope in the stairwell.; 2. Ease closer as he opens the envelope and reads.; 3. Hold his upward glance toward the landing without changing eyeline direction.\n\nContinuity: Keep the character'"'"'s face, clothing and key prop consistent; preserve screen direction across cuts.\nExclude: extra people or props, text, logos and watermarks.","duration":5}' # Poll for the result (replace TASK_ID with the returned task id) curl "https://router.flatkey.ai/v1/videos/TASK_ID" \ -H "Authorization: Bearer sk-***"
Perguntas frequentes
grok-imagine-video API
perguntas sobre preço, recursos e uso
Respostas sobre preços, capacidades, endpoints e limites do catálogo de grok-imagine-video.