# Imagen a video MiniMax H3 Spicy > Anima imágenes fijas con Imagen a video MiniMax H3 Spicy. Crea movimientos audaces con audio estéreo nativo en 480p, 768p o 2K. Pruébalo gratis. ## Descripción general - **Endpoint**: `POST https://api.muapi.ai/api/v1/minimax-h3-image-to-video-spicy` - **ID de modelo**: `minimax-h3-image-to-video-spicy` - **Categoría**: Imagen a vídeo - **Variante**: MiniMax H3 Spicy Image to Video - **Familia**: minimax-h3-spicy - **Coste**: Créditos por llamada ## Uso de la API Patrón estándar de envío y sondeo asíncrono: Autenticación mediante cabecera x-api-key ### Enviar tarea ```http POST https://api.muapi.ai/api/v1/minimax-h3-image-to-video-spicy Content-Type: application/json x-api-key: YOUR_API_KEY ``` **Parámetros mínimos requeridos** ```json { "image_url": "https://example.com/your-image_url" } ``` **Ejemplo completo** ```json { "image_url": "https://example.com/your-image_url", "prompt": "", "last_image": "https://example.com/your-last_image", "resolution": "480p", "duration": 5, "seed": -1, "aigc_watermark": false } ``` **Respuesta** ```json { "request_id": "abc123", "status": "processing" } ``` ### Consultar resultado ```http GET https://api.muapi.ai/api/v1/predictions/{request_id}/result x-api-key: YOUR_API_KEY ``` Estados de sondeo: starting, processing, succeeded, failed, canceled **Respuesta completada** ```json { "id": "abc123", "status": "completed", "outputs": [ "https://cdn.muapi.ai/.../output.png" ], "urls": { "get": "https://api.muapi.ai/api/v1/predictions/abc123/result" }, "created_at": "2026-05-08T12:34:56Z", "has_nsfw_contents": [] } ``` ### cURL ```bash # 1. Enviar tarea de generación REQUEST_ID=$(curl -s -X POST https://api.muapi.ai/api/v1/minimax-h3-image-to-video-spicy \ -H "x-api-key: $MUAPI_API_KEY" \ -H "Content-Type: application/json" \ -d '{"image_url":"https://example.com/your-image_url"}' | jq -r .request_id) # 2. Consultar hasta completarse while :; do RESP=$(curl -s https://api.muapi.ai/api/v1/predictions/$REQUEST_ID/result -H "x-api-key: $MUAPI_API_KEY") STATUS=$(echo "$RESP" | jq -r .status) [ "$STATUS" = "completed" ] && echo "$RESP" | jq .outputs && break [ "$STATUS" = "failed" ] && echo "$RESP" && exit 1 sleep 3 done ``` ### Python ```python import os, time, requests API = "https://api.muapi.ai/api/v1" headers = {"x-api-key": os.environ["MUAPI_API_KEY"]} r = requests.post(f"{API}/minimax-h3-image-to-video-spicy", headers=headers, json={"image_url":"https://example.com/your-image_url"}) request_id = r.json()["request_id"] while True: res = requests.get(f"{API}/predictions/{request_id}/result", headers=headers).json() if res["status"] == "completed": print(res["outputs"]); break if res["status"] == "failed": raise RuntimeError(res.get("error")); time.sleep(3) ``` ## Esquema de entrada Parámetros aceptados por este modelo: - **`image_url`** (`string`, Requerido): Required starting image URL. The output canvas follows this image's aspect ratio. - **`prompt`** (`string`, Opcional): Optional description of the scene, action, camera movement, lighting, and mood. - **`last_image`** (`string`, Opcional): Optional final-frame image URL for interpolation. - **`resolution`** (`string`, Opcional): salidavídeoresolución. - Por defecto: `"480p"` - Opciones: `"480p"`, `"768p"`, `"2k"` - **`duration`** (`integer`, Opcional): Output video duration in seconds. - Por defecto: `5` - Opciones: `"3"`, `"4"`, `"5"`, `"6"`, `"7"`, `"8"`, `"9"`, `"10"`, `"11"`, `"12"`, `"13"`, `"14"`, `"15"` - **`seed`** (`integer`, Opcional): Random seed. Negative values use a random seed. - Por defecto: `-1` - **`aigc_watermark`** (`boolean`, Opcional): Optional. Add an AIGC watermark to the generated video. ## Esquema de salida Estructura del payload devuelto por la API: - **`id`** (`string`): Identificador único de la tarea - **`status`** (`string`): Estado actual de la tarea - **`outputs`** (`array`): Matriz de URLs de medios generados - **`urls.get`** (`string`): URLs directas para descargar los archivos - **`error`** (`string` | `null`): Mensaje de error si la tarea falló - **`created_at`** (`string`): Marca de tiempo de creación - **`has_nsfw_contents`** (`array of boolean`): Indicador de detección de contenido sensible ## Webhooks Pasa el parámetro de consulta ?webhook=URL para recibir el resultado sin realizar sondeos. ## Integración con agentes de IA Conecta este modelo con Cursor, Claude Code, Gemini CLI o clientes MCP: ```bash Instalar la CLI de MuAPI npm install -g muapi-cli Autenticar una sola vez muapi auth login Exponer modelos como herramientas para agentes muapi mcp serve ``` Más información en la documentación de Agent Skills. ## Modelos relacionados - [MiniMax H3 Spicy Image to Video](https://muapi.ai/es/playground/minimax-h3-image-to-video-spicy) - [MiniMax H3 Max Spicy Text to Video](https://muapi.ai/es/playground/minimax-h3-max-spicy-text-to-video) - [MiniMax H3 Max Spicy Image to Video](https://muapi.ai/es/playground/minimax-h3-max-spicy-image-to-video) - [MiniMax H3 Max Spicy Reference to Video](https://muapi.ai/es/playground/minimax-h3-max-spicy-reference-to-video) - [MiniMax H3 Max Turbo Spicy Text to Video](https://muapi.ai/es/playground/minimax-h3-max-turbo-spicy-text-to-video) - [MiniMax H3 Max Turbo Spicy Image to Video](https://muapi.ai/es/playground/minimax-h3-max-turbo-spicy-image-to-video) - [MiniMax H3 Spicy Text to Video](https://muapi.ai/es/playground/minimax-h3-text-to-video-spicy) - [MiniMax H3 Spicy Reference to Video](https://muapi.ai/es/playground/minimax-h3-reference-to-video-spicy) ## Recursos - [Página interactiva en Playground](https://muapi.ai/es/playground/minimax-h3-image-to-video-spicy) - [Documentación oficial de la API](https://muapi.ai/es/playground/minimax-h3-image-to-video-spicy/api) - [Índice global llms.txt](https://muapi.ai/es/llms.txt)