
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.
También conocido como Alibaba Cloud Wan 3.0
wan-3-0/v1/videos/generationsalibaba/wan-3.0wan-3.0wan3.0wan3.0-videowan3.0-video-primeTarifas de pago por uso en vivo del catálogo de EmpirioLabs. Solo pagas por lo que usas, sin mínimo mensual.
Wan 3.0 funciona a través de POST /v1/videos/generations. La solicitud devuelve un job_id de inmediato; consulta GET /v1/jobs/{job_id} hasta que el trabajo termine y lee las URLs de salida del resultado. Consigue una clave de API en el panel de 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 solicitud compatibles con la API de Wan 3.0 en EmpirioLabs. Los valores por defecto se aplican cuando se omite un campo.
| Parámetro | Tipo | Predeterminado | Rango / valores | Descripción |
|---|---|---|---|---|
| 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.
En EmpirioLabs, Wan 3.0 se factura por uso: Standard 480P $0.07 per second; Standard 720P $0.14 per second; Standard 1080P $0.28 per second. La tabla de tarifas en vivo de esta página siempre coincide con lo que cobra la API.
Wan 3.0 se sirve a través de POST /v1/videos/generations en api.empiriolabs.ai con autenticación estándar de token Bearer.
Sí. El playground de EmpirioLabs ejecuta Wan 3.0 en el navegador con los mismos parámetros que expone la API, para que pruebes prompts antes de escribir código.
Crea una cuenta de EmpirioLabs y genera una clave en API Keys en el panel. La facturación es con créditos de pago por uso, así que solo pagas por las solicitudes que haces.
Consulta nuestros precios o contacta con nosotros si quieres que tu propio modelo se implemente en nuestra pila.