Wan 3.0 Video
Modelo de vídeo de referência multifuncional Alibaba Wanxiang 3.0. Texto, primeiro quadro, primeiro e último quadro, referência multimodal (imagens, vídeo, áudio) e referências de documentos ou páginas da web, 2 a 30 segundos em 480p/720p/1080p.
- Texto para vídeo
- Imagem para vídeo
A partir de
$0.05
por segundo de saída
Playground
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.
As execuções são cobradas do seu saldo.
Saída
A saída aparecerá aqui.
Início rápido
Referência completa da 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",6 "input": {7 "size": "adaptive",8 "resolution": "480p",9 "duration": 5,10 "audio": true,11 "watermark": false12 }13 }'
Parâmetros
| Nome | Tipo | Obrigatório | Padrão | Descrição |
|---|---|---|---|---|
prompt | string | Não | — | 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[] | Não | — | 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[] | Não | — | Images with explicit roles. Use this when you need first/last frame or reference images stated outright rather than inferred from order. |
videoUrls | string[] | Não | — | 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[] | Não | — | Reference audio, up to 5 clips of 1-15s each (total <= 15s). |
fileUrl | string | Não | — | 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 | Não | — | Public, login-free web page to turn into a video. Cannot be combined with fileUrl. |
generationType | string | Não | — | 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.Um dos seguintes: frame, reference |
size | string | Não | adaptive | Aspect ratio. `adaptive` lets the model pick one from the inputs.Um dos seguintes: adaptive, 16:9, 4:3, 1:1, 3:4, 9:16 |
resolution | string | Não | 480p | Output resolution. Each tier is billed at its own per-second rate, so 1080p costs four times 480p for the same duration.Um dos seguintes: 480p, 720p, 1080p |
duration | number | Não | 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 | Não | true | Include an audio track in the output. |
watermark | boolean | Não | false | Add a watermark to the output |
seed | number | Não | — | Random seed for controlling randomness |
Perguntas frequentes
Quanto custa Wan 3.0 Video?
Wan 3.0 Video começa em $0.05 por segundo de saída pela API da API Stock. Você paga por uso a partir de um único saldo pré-pago — não há assinatura — e o preço final varia de acordo com parâmetros como resolução ou duração.
Como faço uma chamada à API Wan 3.0 Video?
Envie uma solicitação POST para https://api.api-stock.com/api/v1/generation/create com sua chave de API e o ID do modelo "wan3.0-video". A chamada retorna um ID de tarefa que você consulta, ou um callback de webhook quando o resultado estiver pronto. Há um exemplo pronto para execução no início rápido acima.
Quais parâmetros de entrada Wan 3.0 Video aceita?
Wan 3.0 Video aceita 14 parâmetros de entrada. Seus tipos, valores padrão e valores permitidos estão listados na tabela de parâmetros acima.
O que acontece se uma solicitação para Wan 3.0 Video falhar?
A API Stock tenta automaticamente a solicitação novamente usando um provedor de reserva. Se todos os provedores falharem, o valor cobrado será reembolsado ao seu saldo.
Posso usar Wan 3.0 Video com a mesma chave de API que outros modelos?
Sim. Todos os modelos da API Stock — vídeo, imagem, música e chat — compartilham uma única chave de API e um único saldo pré-pago, então você pode mudar para Wan 3.0 Video sem novas credenciais.
Outros 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/ geração
- Seedance 2.0 FastByteDance$0.06/ segundo
- Seedance 1.5 ProByteDance$0.068/ geração
- Kling 3.0 Motion ControlKling$0.07/ segundo
- Kling 3.0Kling$0.09/ segundo
- Sora 2 OfficialOpenAI$0.09/ segundo
Guias
- Texto para vídeoCriar clipes a partir de um prompt: enquadramento, movimento, duração e entrega.2 min de leitura
- Imagem para vídeoAnimar uma imagem de referência sem perder o sujeito, a composição ou o estilo.1 min de leitura
- Checklist de produçãoPreparar uma integração de geração confiável: custos, tarefas, webhooks e recuperação de erros.1 min de leitura