More modelsWavespeed aiWan 2.1 t2v 720p

Generate video with wavespeed-ai/wan-2.1/t2v-720p

Generates a video using the wavespeed-ai/wan-2.1/t2v-720p model.

POST
/api/v1/model/generateVideo
AuthorizationBearer <token>

API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.

In: header

modelstring

model name

seed?integer

The random seed to use for the generation. -1 means a random seed will be used.

Default-1
size?string

The size of the generated media in pixels (width*height).

Value in"1280*720" | "720*1280"
promptstring

The prompt for generating the output.

duration?integer

The duration of the generated media in seconds.

Default5
Range5 <= value <= 10
flow_shift?number

The shift value for the timestep schedule for flow matching.

Default5
Range1 <= value <= 10
guidance_scale?number

The guidance scale to use for the generation.

Default5
Range0 <= value <= 20
negative_prompt?string

The negative prompt for generating the output.

num_inference_steps?integer

The number of inference steps to perform.

Default30
Range1 <= value <= 40
enable_safety_checker?boolean

If set to true, the safety checker will be enabled.

Defaulttrue

Response Body

curl -X POST "https://api.atlascloud.ai/api/v1/model/generateVideo" \  -H "Content-Type: application/json" \  -d '{    "model": "wavespeed-ai/wan-2.1/t2v-720p",    "prompt": "A rugged male secret agent in a torn tactical suit sprints through a war-torn urban alley, pistol in one hand, a bleeding gash on his brow. His eyes are sharp and calculating, sweat glistening on his tense face. Explosions light up the background as he dives into cover in slow motion"  }'
{
  "id": "string",
  "urls": {},
  "model": "string",
  "status": "string",
  "outputs": [
    "string"
  ],
  "created_at": "2019-08-24T14:15:22Z",
  "has_nsfw_contents": [
    true
  ]
}