APIMart
Wan 2.5 model icon
Video

Wan 2.5 API

Wan 2.5 API (Wan2.5 Preview) on APIMart runs Alibaba's Wan 2.5 video model with model ID wan2.5-preview. It turns a text prompt or a single image into a 5 or 10 second video at 480p, 720p or 1080p, and every clip comes with generated sound or your own audio track.

5 / 10 Seconds480p / 720p / 1080pAudio IncludedText & Image to Video

Service Highlights

  • Official Discounts
  • Pay-as-you-go
  • Fast & Low Latency
Input
9 characters
0/500
  

Click to upload audio

WAV/MP3, 3-30s (max 15MB, duration ≤ 30s)

Output

Video link valid for 72 hours

Wan 2.5 API Pricing

Transparent pricing with no hidden fees. Pay only for what you use.

VariantTierGoldCurrent pricePlatinumDiamondOfficialYour savings
wan2.5-preview480P0.336Credits(~$0.0336)/sec0.3192Credits(~$0.0319)/sec0.3024Credits(~$0.0302)/sec0.42Credits(~$0.042)/sec20%
720P0.664Credits(~$0.0664)/sec0.6308Credits(~$0.0631)/sec0.5976Credits(~$0.0598)/sec0.83Credits(~$0.083)/sec20%
1080P1.096Credits(~$0.1096)/sec1.0412Credits(~$0.1041)/sec0.9864Credits(~$0.0986)/sec1.37Credits(~$0.137)/sec20%

* Actual costs are subject to final output.

Wan 2.5 API - Alibaba Wan2.5 Preview Video with Audio

Wan 2.5 API access on APIMart: turn a prompt or one image into a 5 or 10 second video at 480p, 720p or 1080p with sound in every clip, optional custom audio and per-second billing.

50K+

Active Users

99.9%

Uptime

2x

Faster

—

Cost Savings

Wan 2.5 API Example: Text to Video and Image to Video

Call the Wan 2.5 API on APIMart with one POST request. Generation is asynchronous: submit a task, then poll the task endpoint for the video URL.

  1. 1

    Authenticate Wan 2.5 API requests

    Save your APIMart key in the APIMART_API_KEY environment variable and send it as Authorization: Bearer <key> on every request.

  2. 2

    Submit a Wan 2.5 task

    POST /v1/videos/generations with model wan2.5-preview, your prompt, duration, resolution and size. Add one image in image_urls for image to video. The task ID is in data[0].task_id.

  3. 3

    Get the Wan 2.5 video result

    Poll GET /v1/tasks/{task_id} until status is completed, then read the video URL from data.result.videos[0].url[0] and save the file to your own storage.

    See the Wan 2.5 API reference for every parameter, size table and response field.

POST /v1/videos/generations
curl -X POST https://api.apimart.ai/v1/videos/generations \
  -H "Authorization: Bearer $APIMART_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "wan2.5-preview",
    "prompt": "A street musician plays violin under a bridge at night, warm lamplight, the music echoes softly, slow push-in",
    "duration": 5,
    "resolution": "720p",
    "size": "16:9"
  }'

Wan 2.5 API Parameters

ParameterTypeRequiredDefaultDescription
modelstringRequiredDefault: wan2.5-previewUse wan2.5-preview for Wan 2.5.
promptstringRequiredDefault: —Scene, motion and sound description. Optional but recommended for image to video.
image_urlsarrayOptionalDefault: —Exactly one image (public URL or Base64 data URI) for image to video.
negative_promptstringOptionalDefault: —Content to avoid, up to 500 characters.
resolutionstringOptionalDefault: 720p480p, 720p or 1080p.
sizestringOptionalDefault: 16:916:9, 9:16, 1:1, 4:3 or 3:4 (480p supports the first three). Text to video only; sending it in image to video returns an error.
durationintegerOptionalDefault: 55 or 10 seconds.
audiobooleanOptionalDefault: trueOnly true is supported; every video includes sound.
audio_urlstringOptionalDefault: —wav or mp3, 3–30 seconds, up to 15 MB. Cut to the video length if longer.
prompt_extendbooleanOptionalDefault: trueRewrite and enrich the prompt. Helps short prompts but adds latency.
seedintegerOptionalDefault: —0 or greater for more repeatable results.
watermarkbooleanOptionalDefault: falseAdd an AI-generated mark in the bottom-right corner.
nsfw_checkbooleanOptionalDefault: falseModerate the prompt and input image with omni-moderation-latest before submission.

Compare Alibaba Wan Video Models

Compare every Alibaba Wan video model on APIMart. One API key calls all of them, billed per second of video.

ModelBest forResolutionDuration
Wan 3.0 APILongest Wan clips, with first and last frames or image, video, audio, document and webpage references480P / 720P / 1080P2–30 s
Wan 3.0 Prime APISame parameters as Wan 3.0 under a separate model and price480P / 720P / 1080P2–30 s
Wan 2.7 APIText to video, first and last frames, video continuation and audio-driven clips720P / 1080P2–15 s
Wan 2.7 R2V APIKeeping characters consistent from reference images or videos720P / 1080P2–15 s
Wan 2.7 Video Edit APIEditing or restyling an existing video with an instruction720P / 1080PFollows source, up to 10 s
Wan 2.6 APIMulti-shot text to video and image to video with audio and effect templates720p / 1080p5 / 10 / 15 s
Wan 2.6 I2V APIDedicated image to video from a single first frame720p / 1080p5 / 10 / 15 s
Wan 2.6 I2V Flash APIImage to video at any length from 2 to 15 seconds, with or without audio720p / 1080p2–15 s
Wan 2.5 APIThis pageShort clips that always include sound, with a low-cost 480p tier480p / 720p / 1080p5 / 10 s

Guides, comparisons and pricing analysis from the APIMart blog.