Alibaba WAN 2.5

alibaba/wan-2.5/text-to-video

alibaba/wan-2.5/text-to-video. Explore APIs de modelos de imagem, vídeo e troca de rosto. Teste qualquer modelo e integre-o por uma API REST unificada.

Modelos relacionados

Referência completa de parâmetros, esquema de saída e preços atuais

Marketplace de APIs de modelos de IAUma plataforma para tudoMais popularTermosExplore APIs de modelos de imagem, vídeo e troca de rosto. Teste qualquer modelo e integre-o por uma API REST unificada.
prompt *Prompttextarea—≤ 5000 chars
negative_promptNegative Prompttextarea—≤ 5000 chars
audioAudio urlaudio_upload——
sizeSizeselect1920*10801920*1080 | 1080*1920 | 1440*1440 | 1632*1248 | 1248*1632 | 1280*720 | 720*1280 | 960*960 | …
durationDurationselect55 | 10 | 15
prompt_extendEnable Prompt Expansionbooleanfalse—
seedSeednumber-1—

Referência completa de parâmetros, esquema de saída e preços atuais

Saiba maisUma plataforma para tudoExplore APIs de modelos de imagem, vídeo e troca de rosto. Teste qualquer modelo e integre-o por uma API REST unificada.
videosarray<string>

API

Explore APIs de modelos de imagem, vídeo e troca de rosto. Teste qualquer modelo e integre-o por uma API REST unificada.

cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/alibaba/wan-2.5/text-to-video" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "A serene sunset over a calm ocean with gentle waves and a silhouetted sailboat on the horizon.",
    "negative_prompt": "crowded beach, noisy environment, stormy weather",
    "size": "1920*1080",
    "duration": 10,
    "prompt_extend": true,
    "seed": 42
  }
}'

# 2) Poll until status is "completed", then read the output URLs
curl "https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID" \
  -H "Authorization: Bearer YOUR_API_KEY"
Python
import time, requests

API_KEY = "YOUR_API_KEY"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

# 1) Submit
resp = requests.post(
    "https://www.namifusion.com/api/v1/marketplace/run/alibaba/wan-2.5/text-to-video",
    headers=HEADERS,
    json={
        "input": {
            "prompt": "A serene sunset over a calm ocean with gentle waves and a silhouetted sailboat on the horizon.",
            "negative_prompt": "crowded beach, noisy environment, stormy weather",
            "size": "1920*1080",
            "duration": 10,
            "prompt_extend": True,
            "seed": 42
        }
    },
)
resp.raise_for_status()  # 401/402/429/5xx stop here instead of polling a bad task
task = resp.json()

# 2) Poll until a terminal state (completed / failed / cancelled).
#    This model is allowed up to 300s server-side.
deadline = time.time() + 360
while task.get("status") not in ("completed", "failed", "cancelled"):
    if time.time() > deadline:
        raise TimeoutError(f"still {task.get('status')} — keep the task_uuid and poll later")
    time.sleep(3)
    poll = requests.get(f"https://www.namifusion.com/api/v1/marketplace/run/tasks/{task['task_uuid']}", headers=HEADERS)
    poll.raise_for_status()
    task = poll.json()

print(task["status"], task.get("output"))
JavaScript
const API_KEY = "YOUR_API_KEY";
const HEADERS = { Authorization: `Bearer ${API_KEY}` };

// 1) Submit
const resp = await fetch("https://www.namifusion.com/api/v1/marketplace/run/alibaba/wan-2.5/text-to-video", {
  method: "POST",
  headers: { ...HEADERS, "Content-Type": "application/json" },
  body: JSON.stringify({
    "input": {
      "prompt": "A serene sunset over a calm ocean with gentle waves and a silhouetted sailboat on the horizon.",
      "negative_prompt": "crowded beach, noisy environment, stormy weather",
      "size": "1920*1080",
      "duration": 10,
      "prompt_extend": true,
      "seed": 42
    }
  }),
});
if (!resp.ok) throw new Error(`submit failed: ${resp.status} ${await resp.text()}`);
let task = await resp.json();

// 2) Poll until a terminal state (completed / failed / cancelled).
//    This model is allowed up to 300s server-side.
const deadline = Date.now() + 360 * 1000;
while (!["completed", "failed", "cancelled"].includes(task.status)) {
  if (Date.now() > deadline) throw new Error(`still ${task.status} — keep the task_uuid and poll later`);
  await new Promise((r) => setTimeout(r, 3000));
  const poll = await fetch(`https://www.namifusion.com/api/v1/marketplace/run/tasks/${task.task_uuid}`, { headers: HEADERS });
  if (!poll.ok) throw new Error(`poll failed: ${poll.status}`);
  task = await poll.json();
}

console.log(task.status, task.output);

Documentação da API

WAN 2.5 Text-to-Video

Generate cinematic videos directly from text prompts.

WAN 2.5 Text-to-Video is a next-generation AI video generation model designed to transform natural language prompts into dynamic video clips. Compared with earlier WAN models, it delivers improved motion realism, stronger scene understanding, and higher temporal consistency across frames. The model enables creators and developers to generate cinematic short videos from text descriptions through a scalable, production-ready REST inference API.


🚀 Key Features

  • Text-to-Video Generation: Convert natural language prompts into dynamic video clips with coherent scenes and motion.
  • Enhanced Motion Quality: WAN 2.5 produces smoother and more realistic motion between frames.
  • Improved Scene Understanding: The model better interprets complex prompts and generates visually consistent environments.
  • Multi-Resolution Output: Generate videos in different resolutions depending on production needs.
  • Production-Ready API: Easily integrate video generation into creative pipelines, applications, and automated workflows.

🛠️ How It Works

ParameterDetails
InputText Prompt
OutputGenerated Video (MP4)
Resolution Options480p, 720p, 1080p
Clip DurationTypically 5 seconds per generation
SeedDefault: -1 (random)

Generation Capabilities:

  • Scene Creation: "A futuristic city skyline with flying cars at sunset."
  • Character Motion: "A young woman walking slowly through a neon-lit street."
  • Product Visualization: "A luxury watch rotating on a reflective black surface."
  • Cinematic Effects: "Slow-motion waves crashing against dramatic cliffs."

💰 Pricing

ResolutionPrice (USD/sec)
480p$0.05
720p$0.10
1080p$0.15

💡 Best Use Cases

  • Social Media Content: Create engaging short videos for TikTok, Instagram, or YouTube Shorts.
  • Marketing & Advertising: Generate promotional video concepts quickly from simple prompts.
  • Creative Storyboarding: Visualize scenes and ideas before full production.
  • AI Content Pipelines: Integrate automated video generation into large-scale media production workflows.

🔗 Related Models

  • Need to generate videos from images? Try WAN 2.5 Image-to-Video.
  • Need simpler video generation? Try WAN 2.2 Text-to-Video Plus.
  • Need to extend existing video clips? Try WAN Spicy Video Extend.

Note: Generation quality depends on prompt clarity and scene complexity. Detailed prompts describing motion, subjects, and environments typically produce better results.

Modelos relacionados

xAI Grok Imagine Video v1.5 Text to Video
Texto para vídeoX Ai

xAI Grok Imagine Video v1.5 Text to Video

x-ai/grok-imagine-video-v1.5/text-to-video. Explore APIs de modelos de imagem, vídeo e troca de rosto. Teste qualquer modelo e integre-o por uma API REST unificada.

a partir de $0.840 / por execução
MiniMax H3 Text to Video
Texto para vídeoMinimax

MiniMax H3 Text to Video

minimax/h3/text-to-video. Explore APIs de modelos de imagem, vídeo e troca de rosto. Teste qualquer modelo e integre-o por uma API REST unificada.

a partir de $0.650 / por execução
ltx-2.5/text-to-video
Texto para vídeoLtx 2.5

ltx-2.5/text-to-video

ltx-2.5/text-to-video. Explore APIs de modelos de imagem, vídeo e troca de rosto. Teste qualquer modelo e integre-o por uma API REST unificada.

a partir de $0.500 / por execução
Kling Omni Video O3 Standard Text-To-Video
Texto para vídeoKling

Kling Omni Video O3 Standard Text-To-Video

kwaivgi/kling-video-o3/text-to-video. Explore APIs de modelos de imagem, vídeo e troca de rosto. Teste qualquer modelo e integre-o por uma API REST unificada.

a partir de $0.420 / por execução
Kling 3.0
Texto para vídeoKling

Kling 3.0

kwaivgi/kling-v3.0/text-to-video. Explore APIs de modelos de imagem, vídeo e troca de rosto. Teste qualquer modelo e integre-o por uma API REST unificada.

a partir de $0.420 / por execução
Kling V2.6 Text to Video API
Texto para vídeoKling

Kling V2.6 Text to Video API

kwaivgi/kling-v2.6/text-to-video. Explore APIs de modelos de imagem, vídeo e troca de rosto. Teste qualquer modelo e integre-o por uma API REST unificada.

a partir de $0.210 / por execução
Gemini Omni Flash Text to Video API
Texto para vídeoGoogle

Gemini Omni Flash Text to Video API

google/gemini-omni-flash/text-to-video. Explore APIs de modelos de imagem, vídeo e troca de rosto. Teste qualquer modelo e integre-o por uma API REST unificada.

a partir de $1.04 / por execução
Seedance 2.0 Mini Text to Video
Texto para vídeoDoubao

Seedance 2.0 Mini Text to Video

doubao/seedance-2.0-mini/text-to-video. Explore APIs de modelos de imagem, vídeo e troca de rosto. Teste qualquer modelo e integre-o por uma API REST unificada.

a partir de $0.378 / por execução