API de Wan 3.0 Video Prime
Faster Wan 3.0 video generation from text, first and last frames, or multimodal image, video, audio, document and web references. 2–30 seconds at 480p, 720p or 1080p.
- Texto a vídeo
- Imagen a vídeo
Desde
$0.068
por segundo de salida
Entorno de pruebas
Entrada
Text description. Required unless at least one media input is supplied. In reference mode you can address assets positionally with "图N / 视频N / 音频N" labels; indices run per media type.
Image URLs without explicit roles. In the frame family the first item is the start frame and an optional second is the end frame; in the reference family every item is a reference image (up to 10).
Reference videos, up to 5 clips of 1-15s each (total <= 15s). Input video duration plus the requested output duration must stay within 30 seconds.
Reference audio, up to 5 clips of 1-15s each (total <= 15s).
Reference document driving the generation (docx/xlsx/pptx/pdf/txt/md and similar, <=100MB, <=50 pages). Cannot be combined with linkUrl. A prompt is optional when this is supplied.
Public, login-free web page to turn into a video. Cannot be combined with fileUrl.
Las ejecuciones se descuentan de tu saldo.
Salida
La salida aparecerá aquí.
Precios
| Opción | Precio por segundo |
|---|---|
| 480p | $0.068 |
| 720p | $0.135 |
| 1080p | $0.27 |
Inicio rápido
Referencia completa de la API →1curl -X POST https://api.api-stock.com/api/v1/generation/create \2 -H "Authorization: Bearer $API_STOCK_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "wan3.0-video-prime",6 "input": {7 "size": "adaptive",8 "resolution": "480p",9 "duration": 5,10 "audio": true,11 "watermark": false12 }13 }'
Parámetros
| Nombre | Tipo | Obligatorio | Predeterminado | Descripción |
|---|---|---|---|---|
prompt | string | No | — | Text description. Required unless at least one media input is supplied. In reference mode you can address assets positionally with "图N / 视频N / 音频N" labels; indices run per media type. |
imageUrls | string[] | No | — | Image URLs without explicit roles. In the frame family the first item is the start frame and an optional second is the end frame; in the reference family every item is a reference image (up to 10). |
imageWithRoles | string[] | No | — | Images with explicit roles. Use this when you need first/last frame or reference images stated outright rather than inferred from order. |
videoUrls | string[] | No | — | Reference videos, up to 5 clips of 1-15s each (total <= 15s). Input video duration plus the requested output duration must stay within 30 seconds. |
audioUrls | string[] | No | — | Reference audio, up to 5 clips of 1-15s each (total <= 15s). |
fileUrl | string | No | — | Reference document driving the generation (docx/xlsx/pptx/pdf/txt/md and similar, <=100MB, <=50 pages). Cannot be combined with linkUrl. A prompt is optional when this is supplied. |
linkUrl | string | No | — | Public, login-free web page to turn into a video. Cannot be combined with fileUrl. |
generationType | string | No | — | How bare imageUrls are classified: frame (first/last frame) or reference. Omit to let it be inferred — reference when the request already carries reference-family inputs, frame otherwise.Uno de: frame, reference |
size | string | No | adaptive | Aspect ratio. `adaptive` lets the model pick one from the inputs.Uno de: adaptive, 16:9, 4:3, 1:1, 3:4, 9:16 |
resolution | string | No | 480p | Output resolution. Each tier is billed at its own per-second rate, so 1080p costs four times 480p for the same duration.Uno de: 480p, 720p, 1080p |
duration | number | No | 5 | Duration in seconds (2-30). Billing is per second at the resolution's rate. With reference videos, total input video duration plus this value must be at most 30 seconds. |
audio | boolean | No | true | Include an audio track in the output. |
watermark | boolean | No | false | Add a watermark to the output |
seed | number | No | — | Random seed for controlling randomness |
Preguntas frecuentes
¿Cuánto cuesta Wan 3.0 Video Prime?
Wan 3.0 Video Prime comienza en $0.068 por segundo de salida a través de la API de API Stock. Pagas por uso desde un único saldo prepago — no hay suscripción — y el precio final varía según parámetros como la resolución o la duración.
¿Cómo obtengo una clave API para Wan 3.0 Video Prime?
Regístrate en API Stock, recarga tu saldo con el importe que quieras y crea una clave API en el panel: lleva un par de minutos y no requiere contrato. La misma clave funciona con todos los modelos del catálogo, así que no hace falta una clave aparte para Wan 3.0 Video Prime.
¿Cómo llamo a la API de Wan 3.0 Video Prime?
Envía una solicitud POST a https://api.api-stock.com/api/v1/generation/create con tu clave de API y el ID del modelo "wan3.0-video-prime". La llamada devuelve un ID de tarea que debes consultar, o una llamada de retorno mediante webhook cuando el resultado esté listo. Encontrarás un ejemplo listo para ejecutar en el inicio rápido anterior.
¿Qué parámetros de entrada acepta Wan 3.0 Video Prime?
Wan 3.0 Video Prime acepta 14 parámetros de entrada. Sus tipos, valores predeterminados y valores permitidos aparecen en la tabla de parámetros anterior.
¿Qué ocurre si falla una solicitud de Wan 3.0 Video Prime?
API Stock reintenta automáticamente la solicitud con un proveedor de respaldo. Si todos los proveedores fallan, el cargo se reembolsa en tu saldo.
¿Puedo usar Wan 3.0 Video Prime con la misma clave de API que otros modelos?
Sí. Todos los modelos de API Stock — vídeo, imagen, música y chat — comparten una única clave de API y un único saldo prepago, por lo que puedes cambiar a Wan 3.0 Video Prime sin necesidad de nuevas credenciales.
Otros modelos de Vídeo
- Seedance 2.0 MiniByteDance$0.016/ segundo
- Grok Imagine 1.5 VideoxAI$0.016/ segundo
- MiniMax H3MiniMax$0.016/ segundo
- PixVerse V6PixVerse$0.024/ generación
- Wan 3.0 VideoAlibaba$0.05/ segundo
- Seedance 2.0 FastByteDance$0.06/ segundo
- FLUX 3 VideoBlack Forest Labs$0.06/ segundo
- Seedance 1.5 ProByteDance$0.068/ generación
- Kling 3.0 Motion ControlKling$0.07/ segundo
Guías
- Texto a vídeoCrear clips desde un prompt: encuadre, movimiento, duración y entrega.2 min de lectura
- Imagen a vídeoAnimar una imagen de referencia sin perder sujeto, composición ni estilo.1 min de lectura
- Lista de producciónPreparar una integración de generación fiable: costes, tareas, webhooks y recuperación ante errores.1 min de lectura