grok-imagine-video API de vídeo con IA
xAI ofrece grok-imagine-video para generación de vídeo. Flatkey lo enruta mediante /v1/videos. $0.072 per second.
Salida
Vista previaGenerado con Seedance 2.0
Resumen de la solicitud
- Punto de conexión
- POST /v1/videos
- ID del modelo
- grok-imagine-video
- Relación de aspecto
- 9:16
- Resolución
- —
- Duración
- 5s
- Medios de referencia
- Ninguno
Solo vista previa. Inicia sesión para enviar esta solicitud a Flatkey.
{
"model": "grok-imagine-video",
"prompt": "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.\n\nVisual treatment: Photoreal product close-up with a soft edge light on white ceramic, a blue lid and restrained backlit steam.\n\nShot 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\n\nContinuity: Keep the product silhouette, cap or hinge, materials and prop positions stable; hold the final hero frame.\nExclude: extra people or props, text, logos and watermarks.",
"duration": 5
}Rendimiento de la API
grok-imagine-video Fiabilidad y disponibilidad de la API
Aquí aparecerá la telemetría de solicitudes de Flatkey para grok-imagine-video cuando haya suficiente tráfico de producción.
Actividad de la API
grok-imagine-video Uso y actividad de solicitudes de la API
Consulta el volumen de solicitudes y la actividad de inferencia correcta de grok-imagine-video durante el último periodo informado.
grok-imagine-video precios
grok-imagine-video Precios y facturación de la API
Los precios siguientes se calculan con los datos de precios de Flatkey para este modelo y los grupos visibles que devuelve nuestra API de precios.
Añadir crédito
Usa el mismo saldo y la misma clave API de Flatkey para modelos de imagen, vídeo, audio y texto.
- Tipo de modelo
- Texto a vídeo
- API
- /v1/videos
- Base de facturación
- segundo
- Duración
- 1–15s
- Relación de aspecto
- adaptive
grok-imagine-video generador de vídeo IA y API: capacidades principales
La ruta de grok-imagine-video de xAI admite texto · imagen · vídeo. Categorías del catálogo: Marketing.
grok-imagine-video para generación de vídeo
Convierte un briefing escrito en resultados de generación de vídeo mediante /v1/videos.
Flujos de referencia de grok-imagine-video
Usa una referencia existente cuando la ruta de grok-imagine-video acepte medios o contexto de referencia.
Variantes listas para canales de grok-imagine-video
Adapta una idea a las variantes que necesitan tu tienda, campaña o flujo de contenido.
Entrega de producción de grok-imagine-video
Lleva un resultado aprobado de la exploración del prompt a un flujo de generación Flatkey repetible.
Comparar
grok-imagine-video Comparación de API: capacidades y acceso
Compara los datos de catálogo de grok-imagine-video con la referencia de la generación anterior antes de cambiar la integración.
| Capacidad | Generación anterior | grok-imagine-video |
|---|---|---|
| Proveedor | No verificado en esta instantánea del catálogo | xAI |
| Modalidades | No verificado en esta instantánea del catálogo | texto · imagen · vídeo |
| Contexto | No verificado en esta instantánea del catálogo | El catálogo no indica la ventana de contexto |
| Punto de conexión | No verificado en esta instantánea del catálogo | /v1/videos |
| Facturación | No verificado en esta instantánea del catálogo | $0.072 per second |
Elige la solicitud correcta antes de integrar
Revisa los flujos compatibles, el coste actual y el contrato exacto de parámetros de Flatkey.
Se calcula con la configuración actual y la tarifa del catálogo cuando existe un precio unitario fijo.
- Configuración actual
- 5s
- Tarifa en vivo
- $0.072 / segundo
- Solicitud estimada
- $0.072
El cargo final depende de la solicitud enviada y del grupo de cuenta; los precios por tokens o niveles no admiten una cifra fija.
Flujos y Model ID
Usa solo los flujos disponibles. Flatkey mantiene un ID público y el cuerpo elige el tipo de entrada.
Texto a vídeo
Crea un clip desde texto y controles de salida.
- ID del modelo
grok-imagine-video- Endpoint
/v1/videos
Imagen a vídeo
Anima referencias conservando sujeto y composición.
- ID del modelo
grok-imagine-video- Endpoint
/v1/videos
Compatibilidad de parámetros
Valores procedentes de la misma configuración usada por Playground.
durationDuración1–15
Predeterminado: 5imageLímite de referencias1 archivos
Endpoint: /v1/videosDe la primera prueba a producción
Usa el mismo contrato en Playground y API y trata explícitamente validación, saldo, estado y resultados.
Ciclo de la solicitud
- 1
Validar modelo, prompt, referencias y salida.
- 2
Enviar la solicitud y guardar el task ID.
- 3
Consultar el estado o procesar el callback.
- 4
Descargar y guardar el archivo antes de que caduque.
Controles de producción
Bloquea valores o referencias no admitidos antes del envío.
Trata claves, saldo, límites y precios de grupo por separado.
Identifica el prompt o recurso que debe sustituirse.
Conserva el task ID, limita reintentos y no marques un timeout como éxito.
Biblioteca de prompts
Ejemplos de prompts de grok-imagine-video para generación de vídeo
Empieza con un prompt de grok-imagine-video para generación de vídeo y ajusta los campos de solicitud que muestra el playground.
Generado con 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.
Generado con 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.
Generado con 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.
Generado con 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.
Generado con 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.
Generado con 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 qué usar la API de grok-imagine-video
¿Por qué usar grok-imagine-video mediante Flatkey?
Usa una sola pasarela para grok-imagine-video, los controles de la cuenta y el resto del catálogo de modelos.
grok-imagine-video en una sola API
Mantén explícitos el ID de modelo y el endpoint de grok-imagine-video usando la misma clave Flatkey que en otras cargas.
Precios del catálogo en vivo
Consulta las dimensiones de facturación actuales de grok-imagine-video antes de enviar la solicitud y confirma la estimación final en tu cuenta.
Entrega práctica del modelo
Prueba un prompt de grok-imagine-video en el playground público y lleva la misma configuración a una integración autenticada.
Controles de uso y enrutamiento
Centraliza claves, cuotas y rutas para grok-imagine-video sin cambiar el flujo de trabajo de tu aplicación frente al proveedor.
grok-imagine-video API
grok-imagine-video Guía de integración de la API
Usa el ID de modelo anterior con /v1/videos y conserva documentados los campos de solicitud y la unidad de facturación de la ruta.
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-***"
Preguntas frecuentes
grok-imagine-video API
preguntas sobre precios, funciones y uso
Respuestas sobre precios, capacidades, endpoints y límites del catálogo de grok-imagine-video.