
All-in-one video generation up to 30 seconds with native audio, omni-modal references (images, video, audio, files, web links), and a fast Prime tier.
All-in-one video generation up to 30 seconds with native audio, omni-modal references (images, video, audio, files, web links), and a fast Prime tier.
Também conhecido como Alibaba Cloud Wan 3.0
wan-3-0/v1/videos/generationsalibaba/wan-3.0wan-3.0wan3.0wan3.0-videowan3.0-video-primeTarifas pay-as-you-go ao vivo do catálogo EmpirioLabs. Você paga só pelo que usa, sem mínimo mensal.
Wan 3.0 roda por POST /v1/videos/generations. A requisição retorna um job_id na hora; consulte GET /v1/jobs/{job_id} até o job terminar e leia as URLs de saída do resultado. Obtenha uma chave de API no painel EmpirioLabs.
curl https://api.empiriolabs.ai/v1/videos/generations \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan-3-0",
"prompt": "Describe what you want Wan 3.0 to generate."
}'curl https://api.empiriolabs.ai/v1/jobs/JOB_ID \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY"import requests
response = requests.post(
"https://api.empiriolabs.ai/v1/videos/generations",
headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
json={
"model": "wan-3-0",
"prompt": "Describe what you want Wan 3.0 to generate.",
},
)
job = response.json()
# Generation runs as an async job. Poll until it completes.
import time
while True:
status = requests.get(
f"https://api.empiriolabs.ai/v1/jobs/{job['job_id']}",
headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
).json()
if status.get("status") in ("completed", "failed"):
print(status)
break
time.sleep(5)Parâmetros de requisição suportados pela API Wan 3.0 na EmpirioLabs. Os padrões valem quando um campo é omitido.
| Parâmetro | Tipo | Padrão | Intervalo / valores | Descrição |
|---|---|---|---|---|
| prompt | string | - | - | Scene description, up to 20,000 characters. In reference mode, address inputs in your prompt as Image 1, Video 1, Audio 1. |
| model_tier | enum | standard | standard, prime | standard: full quality at the base rate. prime: significantly faster end-to-end generation at a higher per-second rate. Each tier is billed at its own rate. |
| mode | enum | auto | auto, t2v, i2v, r2v | Auto detects from attachments. t2v: text-to-video. i2v: animate one image, or interpolate between two (first and last frame). r2v: omni reference from images,... |
| resolution | enum | 1080p | 480p, 720p, 1080p | Output resolution. Each resolution bills at its own per-second rate. |
| duration | number | 5 | 2 a 30 | Clip length in seconds. Pass -1 via the API to let the model choose the length. With video references, input plus output stays within 30 seconds. |
| aspect_ratio | enum | adaptive | adaptive, 16:9, 9:16, 1:1, 4:3, 3:4 | adaptive recommends an aspect ratio from your inputs and prompt. |
| image | string | - | - | Image URL. i2v uses one or two images (first and last frame); r2v accepts up to 10 references. |
| video | string | - | - | Reference video URL (r2v). Up to 5 clips, 15 seconds combined. |
| seed | number | - | 0 a 2147483647 | Reproducibility seed. |
| audio | boolean | true | - | Generate the soundtrack with the video. Turning it off does not change the price. |
| watermark | boolean | false | - | Add a provenance watermark to the output. |
| prompt_extend | boolean | true | - | Let the service rewrite the prompt for better results. |
| link | string | - | - | Public web page URL used as a reference (r2v). Provide either a link or a file_url, not both. |
| file_url | string | - | - | Document URL used as a reference (r2v): PDF, Office, or text files up to 100 MB and 50 pages. Provide either a file_url or a link, not both. |
Generation can take several minutes on the standard tier; the prime tier is significantly faster end to end. Modes are auto-detected from attachments, or override with the mode parameter. The model_tier parameter picks standard or prime; each tier bills at its own per-second rate.
Na EmpirioLabs, Wan 3.0 é cobrado por uso: Standard 480P $0.07 per second; Standard 720P $0.14 per second; Standard 1080P $0.28 per second. A tabela de tarifas ao vivo desta página sempre corresponde ao que a API cobra.
Wan 3.0 é servido por POST /v1/videos/generations em api.empiriolabs.ai com autenticação padrão por token Bearer.
Sim. O playground da EmpirioLabs executa Wan 3.0 no navegador com os mesmos parâmetros que a API expõe, para você testar prompts antes de escrever código.
Crie uma conta EmpirioLabs e gere uma chave em API Keys no painel. A cobrança usa créditos pay-as-you-go, então você paga apenas pelas requisições que faz.
Confira nossos preços ou entre em contato se quiser que seu próprio modelo seja implementado em nossa pilha.