More modelsAlibabaWan 2.5 text to video
Generate video with alibaba/wan-2.5/text-to-video
Generates a video using the alibaba/wan-2.5/text-to-video model.
AuthorizationBearer <token>
API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.
In: header
modelstring
model name
audio?string
Audio URL to guide generation (optional).
duration?integer
The duration of the generated media in seconds.
Default
5Value in
5 | 10enable_prompt_expansion?boolean
If set to true, the prompt optimizer will be enabled.
Default
falsenegative_prompt?string
Negative prompt for the generation.
promptstring
The prompt for generating the output.
seed?integer
The random seed to use for the generation. -1 means a random seed will be used.
Default
-1sizestring
The size of the generated media in pixels (width*height).
Value in
"832*480" | "480*832" | "1280*720" | "720*1280" | "1920*1080" | "1080*1920"Response Body
curl -X POST "https://api.atlascloud.ai/api/v1/model/generateVideo" \ -H "Content-Type: application/json" \ -d '{ "model": "alibaba/wan-2.5/text-to-video", "prompt": "string", "size": "832*480" }'{
"created_at": "2019-08-24T14:15:22Z",
"has_nsfw_contents": [
true
],
"id": "string",
"model": "string",
"outputs": [
{}
],
"status": "string",
"urls": {}
}