models

Alibaba: Wan 3.0 Prime

Markdown · JSON

Alibaba: Wan 3.0 Prime

Alibaba Wan 3.0 Prime is the speed-optimized Wan 3.0 video model. Its maker profile supports text, first-frame and first/last-frame generation, plus multimodal references, with integrated sound. It produces 2–30-second MP4 clips at 30 fps in 480p, 720p or 1080p, with adaptive framing and editing workflows.

About the model

This description covers the model’s capabilities. Available in Ailoot inputs, outputs and options are listed for the selected method below.

Alibaba Wan 3.0 Prime is the accelerated edition of the Wan 3.0 video family. The manufacturer names it wan3.0-video-prime and documents the same all-in-one task categories as standard Wan 3.0, with speed as the edition’s distinguishing emphasis. A written brief, a starting image, visual or audio references, or source video can guide a clip with its sound. Useful artifacts include a product scene, a short narrative sequence, an animated still or a directed revision of an existing shot.

For text-to-video, describe the subject, scene, motion, camera, visual treatment and sound. The 3.0 guide supports single shots or a storyboard with shot labels and time ranges, recommending roughly four to six seconds per shot. For a product clip, move from a stable wide view of a bag on a table to a closer material detail, then hold a closing composition while a short line is spoken. Give the sequence one clear purpose and review whether the camera, pacing and product identity remain coherent.

For first-frame generation, the supplied image establishes the opening, and the prompt describes motion and camera work. First/last-frame generation supplies both endpoints and requests the transition between them. Prepare endpoints that belong to the same scene and a target shape consistent with the intended output. The maker recommends adaptive framing for image-based tasks. Endpoint mode and the separate reference modes have different material-combination rules: first or last frames are not mixed with reference-image, reference-video or reference-audio inputs in one request.

Reference mode accepts up to ten images, five video clips and five audio clips, within twenty multimodal reference materials. The documented per-file limits are 20 MB for a reference image, 100 MB for a video and 15 MB for audio. Reference video clips together may contain at most fifteen seconds; reference audio clips have their own fifteen-second combined allowance. Name each material’s role and use its type-specific index, such as Image 1, Video 1 or Audio 1. A person, a product, a camera movement and a voice should not be left as interchangeable references.

The maker also supports one document or one public web-page reference, which can accompany other reference materials. A file and web link are mutually exclusive, and the source needs to be reachable without a login. A document-based scene can use the relevant product or story content as context while a visual reference defines the appearance. Prepare the material that should actually inform the clip and state which elements matter. Review factual visual details and text in the generated scene against that source rather than accepting an attractive but altered rendition.

Voice dialogue, ambience, sound effects and background music are generated with the picture. Describe the spoken words, speaker identity, delivery and the sound’s place in the scene. The guide documents audio enabled by default and a silent-video control. In a dialogue, give speakers unique visual and voice cues and leave enough time for the exchange. Listen to the result for actual wording, speaker attribution and the relationship between an effect and the visible action. Integrated audio is part of the scene, so it needs the same review as the picture.

The all-in-one maker guide also documents editing and extension from reference video. An edit brief should state the element to add, remove or replace and the features to retain. An extension brief should describe content before, after or around the existing clip. Use adaptive framing and smart duration for these workflows. When video input is supplied, the documented combined input and output video duration must not exceed 30 seconds. Prepare the source passage and the intended change clearly; review the transition, retained subject and sound instead of judging only one appealing frame.

The documented output is MP4 at 30 fps, with 480p, 720p or 1080p resolution and new-generation duration from two to thirty seconds. Smart duration lets the model select a suitable length. Square, landscape and portrait framing are available, and adaptive framing follows supplied material. The maker processes generation as a job and returns the completed video location; its guide states that the result location is valid for twenty-four hours. Retain the actual clip and creative brief when preparing an edit or sequence, and inspect the complete artifact before using it.

Prime and standard Wan 3.0 share the documented modes and preparation structure. Prime is the speed-optimized choice, without a fixed completion-time guarantee. Earlier Wan 2.7 and 2.6 modes have their own duration, reference and output rules; those limits do not define this 3.0 edition. For a useful review, check object and character continuity, endpoint framing, requested edits, dialogue and any source-dependent details. Keep the next correction specific so successful elements of the scene remain stable while the identified issue is revised.

Ailoot Ultra · Video POST /v1/videos alibaba/wan-3.0-prime

alibaba/wan-3.0-prime

Alibaba /alibaba/wan-3.0-prime

Overview

Alibaba Wan 3.0 Prime is the speed-optimized Wan 3.0 video model. Its maker profile supports text, first-frame and first/last-frame generation, plus multimodal references, with integrated sound. It produces 2–30-second MP4 clips at 30 fps in 480p, 720p or 1080p, with adaptive framing and editing workflows.

Accepted inputs
Text · Images
Results
Video

Available in Ailoot · inputs & methods

Ailoot Ultra · Video POST /v1/videos
Input types
text, image
Output types
video
Output format
original MP4 bytes; no normalization/transcode
FieldTypeRequirementValues & limitsDefault
FieldmodelTypestringRequirementRequiredValues & limits
alibaba/wan-3.0-prime
Default—
FieldpromptTypestringRequirementRequiredValues & limitsDefault—
FielddurationTypeintegerRequirementRequiredValues & limits
2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
Minimum: 1
Maximum: 600
Default—
FieldresolutionTypestringRequirementOptionalValues & limits
480p, 720p, 1080p
Default—
Fieldaspect_ratioTypestringRequirementOptionalValues & limits
16:9, 4:3, 1:1, 3:4, 9:16
Default—
Fieldgenerate_audioTypebooleanRequirementOptionalValues & limits
false, true
Default—
Fieldframe_imagesTypearrayRequirementOptionalValues & limits
Minimum items: 1
Maximum items: 1
Input content: Array of frame objects. Each object has type=image_url, image_url containing url, and frame_type. Use an HTTPS image URL and set frame_type to first_frame. Each frame role appears at most once.
Exact keys: type, image_url, frame_type
Conditions: These keys describe each frame object; image_url contains only url. Omit frame_images for a text-only request.
Default—
Fieldinput_referencesTypearrayRequirementOptionalValues & limitsDefault—
FieldseedTypeintegerRequirementOptionalValues & limits
Minimum: -9,223,372,036,854,775,808
Maximum: 9,223,372,036,854,775,807
Default—
Fieldcallback_urlTypestringRequirementOptionalValues & limits
Pattern: ^https://
Default—
Fieldsession_idTypestringRequirementOptionalValues & limitsDefault—
FieldtraceTypeobjectRequirementOptionalValues & limitsDefault—
FielduserTypestringRequirementOptionalValues & limitsDefault—
Input material combinations

Text to video · A written prompt. · Required: model, prompt, duration

Provide prompt as text and duration as whole seconds. Choose a supported resolution and, if needed, an aspect ratio.

model: Type: string · alibaba/wan-3.0-prime

prompt: Type: string · Maximum UTF-8 bytes: 10,000 · Non-whitespace required: Yes

Image to video · A written prompt and a first-frame image. · Required: model, prompt, duration, frame_images

frame_images is an array. Each frame object has type, image_url and frame_type; image_url contains url. Set type to image_url. Use first_frame. Each frame role appears at most once. Supply a public HTTPS image URL for each frame. Choose a supported resolution and, if needed, an aspect ratio.

Exact keys: type, image_url, frame_type

model: Type: string · alibaba/wan-3.0-prime

prompt: Type: string · Maximum UTF-8 bytes: 10,000 · Non-whitespace required: Yes

Method parameters and lifecycle
ParameterContract
Parametercontent_typeContractapplication/json
ParameterrequiredContractmodel, prompt, duration
Parametermaterial_typesContracttext, image
Parameteradditional_propertiesContractfalse
Parameteroptional_controlsContractresolution, aspect_ratio, generate_audio, frame_images, input_references, seed, callback_url, session_id, trace, user

Lifecycle: submit_once_poll_original

GET /v1/videos/{public_id}

GET /v1/videos/{public_id}/content

Pricing

How the final charge is calculated

The displayed rates estimate the cost before generation. The final charge is calculated from the cost recorded for the original generation. Measured output duration and forecast quantities are not the final billable quantity.

Tariff references do not add request options. Supported parameters are listed for the selected method.

Fast mode
Not specified When fast mode is selected
Flex mode
Not specified When flex mode is selected
Maximum reasoning effort
Not specified When maximum reasoning effort uses the default adjustment

Estimated rates for comparison

Prices by configuration

Match each charge to the conditions shown. Use one rate for each set of alternative configurations.

ConfigurationRate scheduleForecast quantityBilling unitBilling conditionsCharge
ConfigurationBase token ratesRate scheduleBase rateForecast quantity—Billing unit—Billing conditions—Charge
Input · Input tokens · Estimate for comparison only — / 1K tokens
Output · Output tokens · Estimate for comparison only — / 1K tokens
Input · Cache read · Estimate for comparison only — / 1K tokens
Input · Cache write · Estimate for comparison only — / 1K tokens
Input · Cache write, 1 hour · Estimate for comparison only — / 1K tokens
ConfigurationVideo priceRate schedule—Forecast quantity—Billing unitper video secondBilling conditionsresolution: 1080pCharge
Output · Video price · Estimate for comparison only $0.56 per video second
ConfigurationVideo priceRate schedule—Forecast quantity—Billing unitper video secondBilling conditionsresolution: 480pCharge
Output · Video price · Estimate for comparison only $0.136 per video second
ConfigurationVideo priceRate schedule—Forecast quantity—Billing unitper video secondBilling conditionsresolution: 720pCharge
Output · Video price · Estimate for comparison only $0.28 per video second
ConfigurationEstimated generation costRate schedule—Forecast quantityone generation estimateBilling unit—Billing conditions—Charge
Output · Estimated generation cost · Estimate for comparison only $0.272 estimate before generation

This estimate is not an additional charge or a fixed rate for the completed generation.

Ailoot reserves an estimated amount before a request. After the result, it settles the final charge from measured usage. Streaming settlement uses the final usage record. How reservation and settlement work →

Reference tariff details

Model-level reference schedules do not change method selection, quotes or charges. Active charges use the selected Ailoot method rates.

Video configuration price references

Prices by configuration

Match each charge to the conditions shown. Use one rate for each set of alternative configurations.

ConfigurationBilling conditionsCharge
ConfigurationVideo priceBilling conditionsresolution: 480pCharge
Output · Video price $0.136 per video second

Published price reference for the configuration shown. Final charges follow the actual billed configuration.

ConfigurationVideo priceBilling conditionsresolution: 720pCharge
Output · Video price $0.28 per video second

Published price reference for the configuration shown. Final charges follow the actual billed configuration.

ConfigurationVideo priceBilling conditionsresolution: 1080pCharge
Output · Video price $0.56 per video second

Published price reference for the configuration shown. Final charges follow the actual billed configuration.

Example requests

Ailoot Ultra · Video

curl · create video
set -eu
: "${AILOOT_API_KEY:?Set your Ailoot API key}"
python3 - <<'PY_REQUEST'
from pathlib import Path
Path('request.json').write_text('{"aspect_ratio":"16:9","duration":8,"model":"alibaba/wan-3.0-prime","prompt":"A serene mountain landscape at sunset","resolution":"720p"}', encoding='utf-8')
PY_REQUEST
curl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/videos \
  -H "Authorization: Bearer $AILOOT_API_KEY" -H 'Content-Type: application/json' \
  --data-binary @request.json -D response-headers.txt -o result.json
python3 - <<'PY_RESULT'
import json
from pathlib import Path
r=json.loads(Path('result.json').read_text())
print(json.dumps(r,ensure_ascii=False,indent=2))
print('Keep the complete JSON and response headers; do not resubmit an unknown creation.')
PY_RESULT

Receive and save results

Ailoot Ultra · Video

signed owned content URLs

  • GET /v1/videos/{public_id}
  • GET /v1/videos/{public_id}/content
Check job status
GET original status
set -eu
: "${AILOOT_API_KEY:?Set your Ailoot API key}"
python3 - <<'PY_STATUS_URL'
import json
from pathlib import Path
from urllib.parse import quote
r=json.loads(Path('result.json').read_text())
if not isinstance(r.get('id'),str) or not r['id']:raise SystemExit('Keep the original response and headers for reconciliation; no returned ID')
Path('status-url.txt').write_text('https://api.ailoot.ai/v1/videos/'+quote(r['id'],safe=''))
PY_STATUS_URL
curl --fail-with-body --silent --show-error "$(cat status-url.txt)" \
  -H "Authorization: Bearer $AILOOT_API_KEY" -D status-headers.txt -o status.json
python3 - <<'PY_RESULT'
import json
from pathlib import Path
r=json.loads(Path('status.json').read_text())
print(json.dumps(r,ensure_ascii=False,indent=2))
print('Keep the complete JSON and response headers; do not resubmit an unknown creation.')
PY_RESULT
Other content reads
Save every completed owned output
set -eu
: "${AILOOT_API_KEY:?Set your Ailoot API key}"
export AILOOT_API_KEY
python3 - <<'PY_ASSETS'
import json,os,subprocess
from pathlib import Path
from urllib.parse import urljoin,urlsplit
r=json.loads(Path('status.json').read_text())
if r.get('status')!='completed':raise SystemExit('Keep the original ID and read its status; never recreate an unknown job')
if not isinstance(r.get('data'),list) or not r['data']:raise SystemExit('Keep the complete original status; no completed outputs supplied')
urls=[]
for i,u in enumerate(r.get('data',[])):
    if not isinstance(u,str):raise SystemExit('Keep the original response; unexpected asset shape')
    urls.append((str(i),u))
for label,path in urls:
    u=urljoin('https://api.ailoot.ai',path);z=urlsplit(u)
    if z.scheme!='https' or z.netloc!='api.ailoot.ai' or z.username or z.password:raise SystemExit('Use the actual returned Ailoot owned content URL')
    target=Path('owned-'+label+'.bin')
    subprocess.run(['curl','--fail-with-body','--silent','--show-error',u,'-H','Authorization: Bearer '+os.environ['AILOOT_API_KEY'],'-D',str(target)+'.headers','-o',str(target)],check=True)
print('All returned owned URLs saved; complete metadata, timing and usage remain in the JSON.')
PY_ASSETS
Keep all completed results

Save every completed video or returned file; retrieve every actual returned asset URL.

Keep every actual owned output and its returned measured metadata.

If the original response needs checking

503 result_pending_check + originalid + X-Should-Retry:false; never replay original

Response fields
FieldTypeMeaning
FieldindexTypeintegerMeaningZero-based position of this video in the outputs list.
Fieldcontent_urlTypestringMeaningSigned HTTPS download URL for this completed video.
Fieldsha256Typestring | nullMeaningSHA-256 digest of the original video bytes; null if unavailable.
Fieldsize_bytesTypeinteger | nullMeaningSize of the original video file in bytes; null if unavailable.
Fieldduration_msTypeinteger | nullMeaningMeasured video duration in milliseconds; null if unavailable.
FieldwidthTypeinteger | nullMeaningVideo width in pixels; null if unavailable.
FieldheightTypeinteger | nullMeaningVideo height in pixels; null if unavailable.
Fieldvideo_codecTypestring | nullMeaningVideo codec identifier; null if not recorded.
Fieldhas_audioTypeboolean | nullMeaningWhether the video contains an audio track; null if not measured.
Fieldaudio_codecTypestring | nullMeaningAudio codec identifier; null when no identifier is recorded.
Errors and next steps
ResponseConditionNext step
Response404 · not_found_errorConditionVideo access is unavailable, or this video ID was not found.Next stepCheck video access. For an existing video, use its original public ID and the same API key.
Response401 · authentication_errorConditionThe API key does not match the authenticated account.Next stepCheck your API key and account access before submitting.
Response400 · invalid_request_errorConditionThe request could not be read, or the download index is invalid.Next stepCorrect the request body. For a download, choose an output index returned by the original task.
Response422 · price_unavailableConditionThe selected video configuration cannot be priced.Next stepChoose a supported video configuration and complete its required options before submitting a corrected request.
Response422 · invalid_request_errorConditionA video input or original continuation task is invalid.Next stepUse valid HTTPS inputs. For continuation, use your completed original public video ID with the same API key.
Response402 · billing_errorConditionThe available balance or limits do not allow a reservation.Next stepCheck your available balance and limits before sending a new request.
Response503 · server_errorConditionVideo verification, storage or service access is temporarily unavailable.Next stepWait for service availability. If you already have a video ID, check that original task instead of creating another generation.
Response503 · result_pending_checkConditionThe original video result and charge need checking.Next stepKeep the returned video ID and check that task. Do not send a replacement generation request while it is being checked.
Response503 · owned_result_unavailableConditionThe existing video download is temporarily unavailable.Next stepCheck the same video task later and download its existing output. A new generation creates a separate operation.
Response409 · video_not_readyConditionThe video content has not been published.Next stepCheck the original task status. Download after it reports completed; if it reports failed, follow its charge-check notice.

Aliases

Model aliases

Ailoot Ultra alibaba/wan-3.0-prime

Method path aliases

Use the method paths shown above.

Related caller IDs

alibaba/wan-3.0-prime

FAQ · Alibaba: Wan 3.0 Prime
What inputs and results are available?

POST /v1/videos · alibaba/wan-3.0-prime: text, image → video

Which fields does the request use?

POST /v1/videos · alibaba/wan-3.0-prime: model, prompt, duration, resolution, aspect_ratio, generate_audio, frame_images, input_references, seed, callback_url, session_id, trace, user

What limits apply?

POST /v1/videos · alibaba/wan-3.0-prime: duration.minimum: 1; duration.maximum: 600; frame_images.max_items: 1; frame_images.min_items: 1; seed.minimum: -9223372036854775808; seed.maximum: 9223372036854775807

More details

Connect Ailoot to Claude Code, OpenCode, Hermes or your own app.

The company and its project portfolio

The company and its project portfolio: millions of customers; monthly sales in the billions.

Buy tokens at a discount.

Subscription discounts for regular use. Promo codes offer up to 50% off token purchases.

Subscription
Choose a discounted plan for your regular requests.
Promo code: up to 50% off
Enter your code at checkout. The price updates to reflect the current promotion.
Spending in your history
The model, tokens and amount are recorded for each request.

Choose a subscription · View model prices

Connect the API to a product you sell.

Use Ailoot in SaaS, apps and bots under its official service offer and licence agreement. Request a reseller licence for resale.

Commercial application
Add text, image, video and audio generation to paid features in your service.
Reseller licence
Send a description of your project and how you provide access. Request written terms for use and resale.
Documents on the website
The service offer, licence agreement and data processing policy are available before you connect.

Request a reseller licence · Service offer and licence agreement