POST
/
video
/
text2video_ultra
Generate HD video from text prompt
curl --request POST \
  --url https://modelslab.com/api/v6/video/text2video_ultra \
  --header 'Content-Type: application/json' \
  --data '{
  "key": "<string>",
  "model_id": "wan2.1",
  "prompt": "<string>",
  "negative_prompt": "<string>",
  "seed": 123,
  "resolution": 123,
  "num_frames": 81,
  "num_inference_steps": 25,
  "guidance_scale": 4,
  "fps": 15,
  "portrait": false,
  "sample_shift": 5,
  "temp": false,
  "webhook": "<string>",
  "track_id": "<string>"
}'
{
  "status": "success",
  "generationTime": 123,
  "id": 123,
  "output": [
    "<string>"
  ],
  "proxy_links": [
    "<string>"
  ],
  "future_links": [
    "<string>"
  ],
  "meta": {},
  "eta": 123,
  "message": "<string>",
  "tip": "<string>",
  "fetch_result": "<string>"
}

Text to Video Ultra

Generate HD videos from text descriptions.

Request

Make a POST request to below endpoint and pass the required parameters in the request body.
curl
--request POST 'https://modelslab.com/api/v6/video/text2video_ultra' \

Body

json
{
    "key":"",
    "prompt":"Space Station in space",
    "negative_prompt":"low quality",
    "model_id": "wan2.1",
    "resolution":480,
    "num_frames":81,
    "num_inference_steps":30,
    "guidance_scale": 5.0,
    "shift_sample":3,
    "fps":16,
    "webhook": null,
    "track_id":null
}

Body

application/json

Response

HD video generation response

The response is of type object.