ਸਮੱਗਰੀ ਵੱਲ ਜਾਓ

Wan 3.0 Text to Video

ਇੰਟੀਗ੍ਰੇਟ ਕਰੋ

ਮਾਡਲ id alibaba/wan-3.0/text-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/alibaba/wan-3.0/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A hummingbird hovers in front of a bright red hibiscus flower in a tropical garden, wings a blur, then darts away as the camera slowly racks focus to dew drops on the leaves. Macro lens, soft morning light, natural ambience.",
    "resolution": "480p",
    "aspect_ratio": "16:9",
    "duration": 5,
    "generate_audio": false
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

ਇਹ ਬੇਨਤੀ: $0.25 250 API ਕ੍ਰੈਡਿਟ ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ
Alibaba ਟੈਕਸਟ ਤੋਂ ਵੀਡੀਓ ਨੇਟਿਵ ਆਡੀਓ2–30 s1080p ਤੱਕ #audio#long-clips#1080p

Alibaba ਦਾ Wan 3.0, 2 ਤੋਂ 30 ਸਕਿੰਟ ਦੀਆਂ ਕਲਿੱਪਾਂ ਅਤੇ 1080p ਤੱਕ ਤਿਆਰ ਕੀਤੇ ਆਡੀਓ ਨਾਲ।

ਉਦਾਹਰਨਾਂ

ਆਉਟਪੁੱਟ · ~205 s

ਪ੍ਰੌਂਪਟA hummingbird hovers in front of a bright red hibiscus flower in a tropical garden, wings a blur, then darts away as the camera slowly racks focus to dew drops on the leaves. Macro lens, soft morning light, natural ambience.

5 s480p16:9$0.25 · 250 API ਕ੍ਰੈਡਿਟ

ਰਿਕਵੈਸਟ ਬਣਾਓ

ਕੰਟਰੋਲ ਮਾਡਲ ਸਕੀਮਾ ਤੋਂ ਤਿਆਰ ਹੁੰਦੇ ਹਨ। ਤੁਸੀਂ ਬਦਲਾਅ ਕਰਦੇ ਹੀ ਕੋਡ ਅਤੇ ਕੀਮਤ ਅੱਪਡੇਟ ਹੋ ਜਾਂਦੇ ਹਨ।

•ਲੋੜੀਂਦਾ 224 / 20000

ਸਿਰਜੇ ਜਾਣ ਵਾਲੇ ਵੀਡੀਓ ਦਾ ਵਰਣਨ ਕਰਨ ਵਾਲੀਆਂ ਟੈਕਸਟ ਹਦਾਇਤਾਂ।

resolution

ਨਤੀਜੇ ਵਾਲੀ ਵੀਡੀਓ ਲਈ ਰੈਜ਼ੋਲਿਊਸ਼ਨ ਪੱਧਰ।

aspect_ratio

ਆਉਟਪੁੱਟ ਲਈ ਆਸਪੈਕਟ ਰੇਸ਼ੋ, ਜਿਸ ਵਿੱਚ ਅਨੁਕੂਲ ਚੋਣ ਉਪਲਬਧ ਹੈ।

ਆਉਟਪੁੱਟ ਦੀ ਲੰਬਾਈ: null ਪ੍ਰੌਂਪਟ ਅਤੇ ਹਵਾਲਾ ਮੀਡੀਆ ਦੇ ਆਧਾਰ 'ਤੇ ਸਮਾਰਟ ਮਿਆਦ ਚਾਲੂ ਕਰਦਾ ਹੈ; ਨਹੀਂ ਤਾਂ ਦਿੱਤਾ ਮੁੱਲ ਸਕਿੰਟ ਦਰਸਾਉਂਦਾ ਹੈ।

ਉੱਨਤ seed · enable_prompt_expansion · enable_thinking
POST /run/alibaba/wan-3.0/text-to-video?wait=20 ਕੋਟ → $0.25
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/alibaba/wan-3.0/text-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A hummingbird hovers in front of a bright red hibiscus flower in a tropical garden, wings a blur, then darts away as the camera slowly racks focus to dew drops on the leaves. Macro lens, soft morning light, natural ambience.",
    "resolution": "480p",
    "aspect_ratio": "16:9",
    "duration": 5,
    "generate_audio": false
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

ਇਹ ਬੇਨਤੀ ਚਲਾਓ

ਤੁਹਾਡੀ key ਇਸ ਬ੍ਰਾਊਜ਼ਰ ਵਿੱਚ ਰਹਿੰਦੀ ਹੈ: ਇਹ ਸਿਰਫ਼ Doitong API ਨੂੰ ਭੇਜੀ ਜਾਂਦੀ ਹੈ ਅਤੇ ਸਿਰਫ਼ ਤਾਂ ਹੀ (localStorage) ਵਿੱਚ ਸੁਰੱਖਿਅਤ ਹੁੰਦੀ ਹੈ ਜੇ ਤੁਸੀਂ Remember ਚੁਣੋ। API ਕੁੰਜੀ ਪ੍ਰਾਪਤ ਕਰੋ

Doitong ’ਤੇ ਬਣਾਇਆ ਗਿਆ

Doitong ਭਾਈਚਾਰੇ ਵੱਲੋਂ Wan 3.0 ਨਾਲ ਬਣਾਏ ਜਨਤਕ ਕੰਮ। ਇੱਕ ਕਲਿੱਕ ਨਾਲ ਪ੍ਰੌਮਪਟ ਦੁਬਾਰਾ ਵਰਤੋ।

ਦਿਖਾਏ ਗਏ ਜਨਤਕ ਕੰਮ: 2
Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scen... ਵੀਡੀਓ

Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scene takes place inside a modern passenger airplane during a daytime flight. Natural smartphone-like cinematography, realistic airplane cabin, authentic passengers, natural lighting, realistic skin...

Реалистичная бытовая сцена в советской одесской квартире зимним вечером. Женщина находится на кух... ਵੀਡੀਓ

Реалистичная бытовая сцена в советской одесской квартире зимним вечером. Женщина находится на кухне, мужчина — в комнате и прихожей. Атмосфера обычной советской семьи перед приходом гостей. Голоса: все персонажи говорят по-русски с естественным, выразительным одесским говором. Характерная...

Wan 3.0 Text to Video ਬਾਰੇ

Wan 3.0 ਪ੍ਰੌਂਪਟ ਤੋਂ 2 ਤੋਂ 30 ਸਕਿੰਟ ਤੱਕ ਲੰਬੇ, ਇਕਸਾਰ ਸ਼ਾਟ ਰੈਂਡਰ ਕਰਦਾ ਹੈ, ਪੂਰਵ-ਨਿਰਧਾਰਤ ਤੌਰ 'ਤੇ ਤਿਆਰ ਕੀਤੀ ਧੁਨੀ ਸਮੇਤ। ਵਿਕਲਪਿਕ ਰੀਜ਼ਨਿੰਗ ਸਟੈਪ ਜਟਿਲ ਦ੍ਰਿਸ਼ਾਂ ਦੀ ਯੋਜਨਾ ਬਣਾਉਂਦਾ ਹੈ ਅਤੇ ਪ੍ਰੌਂਪਟ ਵਿਸਤਾਰ ਪੂਰਵ-ਨਿਰਧਾਰਤ ਤੌਰ 'ਤੇ ਚਾਲੂ ਹੈ। 480p, 720p ਜਾਂ 1080p ਵਿੱਚ ਛੇ ਆਸਪੈਕਟ ਰੇਸ਼ੋ, ਜਾਂ ਅਡੈਪਟਿਵ ਫ੍ਰੇਮਿੰਗ।

ਪੈਰਾਮੀਟਰ

ਕੈਨੋਨਿਕਲ ਨਾਮ ਜਾਂ ਨੇਟਿਵ ਨਾਮ ਵਿੱਚੋਂ ਕੋਈ ਇੱਕ ਭੇਜੋ, ਦੋਵੇਂ ਨਹੀਂ। ਕੈਨੋਨਿਕਲ ਨਾਮ

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
promptਲੋੜੀਂਦਾ
ਕਿਸਮstring
≤ 20,000 ਅੱਖਰ
ਸਿਰਜੇ ਜਾਣ ਵਾਲੇ ਵੀਡੀਓ ਦਾ ਵਰਣਨ ਕਰਨ ਵਾਲੀਆਂ ਟੈਕਸਟ ਹਦਾਇਤਾਂ।
resolutionਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟ1080p
480p720p1080p
ਨਤੀਜੇ ਵਾਲੀ ਵੀਡੀਓ ਲਈ ਰੈਜ਼ੋਲਿਊਸ਼ਨ ਪੱਧਰ।
aspect_ratioਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟadaptive
adaptive16:94:31:13:49:16
ਆਉਟਪੁੱਟ ਲਈ ਆਸਪੈਕਟ ਰੇਸ਼ੋ, ਜਿਸ ਵਿੱਚ ਅਨੁਕੂਲ ਚੋਣ ਉਪਲਬਧ ਹੈ।
durationਵਿਕਲਪਿਕ
ਕਿਸਮinteger | null
ਡਿਫ਼ਾਲਟ5
2 – 30
ਆਉਟਪੁੱਟ ਦੀ ਲੰਬਾਈ: null ਪ੍ਰੌਂਪਟ ਅਤੇ ਹਵਾਲਾ ਮੀਡੀਆ ਦੇ ਆਧਾਰ 'ਤੇ ਸਮਾਰਟ ਮਿਆਦ ਚਾਲੂ ਕਰਦਾ ਹੈ; ਨਹੀਂ ਤਾਂ ਦਿੱਤਾ ਮੁੱਲ ਸਕਿੰਟ ਦਰਸਾਉਂਦਾ ਹੈ।
audioਵਿਕਲਪਿਕ generate_audio
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟtrue
ਨਿਯੰਤਰਿਤ ਕਰਦਾ ਹੈ ਕਿ ਸਿਰਜਿਆ ਗਿਆ ਆਡੀਓ ਸ਼ਾਮਲ ਕੀਤਾ ਜਾਵੇ ਜਾਂ ਨਹੀਂ।
enable_prompt_expansionਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟtrue
ਨਿਯੰਤਰਿਤ ਕਰਦਾ ਹੈ ਕਿ ਸਿਰਜਣਾ ਤੋਂ ਪਹਿਲਾਂ ਪ੍ਰੌਂਪਟ ਨੂੰ ਬੁੱਧਿਮਾਨੀ ਨਾਲ ਦੁਬਾਰਾ ਲਿਖਿਆ ਜਾਵੇ ਜਾਂ ਨਹੀਂ। ਦੁਬਾਰਾ ਲਿਖਣਾ ਬੰਦ ਕਰਨ 'ਤੇ ਲਗਭਗ 20–60 ਸਕਿੰਟ ਘੱਟ ਲੇਟੈਂਸੀ ਦੇ ਬਦਲੇ ਗੁਣਵੱਤਾ ਘਟਣ ਦੀ ਸੰਭਾਵਨਾ ਰਹਿੰਦੀ ਹੈ।
enable_thinkingਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟfalse
ਸਿਰਜਣਾ ਸ਼ੁਰੂ ਹੋਣ ਤੋਂ ਪਹਿਲਾਂ ਵਾਧੂ ਤਰਕ-ਵਿਚਾਰ ਚਾਲੂ ਕਰਦਾ ਹੈ।
seedਵਿਕਲਪਿਕ
ਕਿਸਮinteger | null
0 – 2,14,74,83,647
ਲੋੜੀਂਦਾ ਕੈਨੋਨਿਕਲ ਨਾਮ, ਇਹ ਵੀ ਸਵੀਕਾਰਿਆ ਜਾਂਦਾ ਹੈ

ਆਉਟਪੁੱਟ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "alibaba/wan-3.0/text-to-video",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 250,
    "usd": "0.25",
    "charged": 250,
    "refunded": 0
  },
  "input": {
    "prompt": "A red panda walks through a bamboo forest at sunrise, mist between the stalks, gentle handheld camera",
    "duration": 5,
    "resolution": "720p"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "seed": 42,
    "duration": 5,
    "actual_prompt": "string"
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ, ਤੁਹਾਡੀ ਚੋਣਹਰ outputs[].url ਸਾਡੇ ਸਟੋਰੇਜ ਵਿੱਚ ਇੱਕ ਕਾਪੀ ਹੈ: ਹਮੇਸ਼ਾ ਲਈ ਰੱਖੀ ਜਾਂਦੀ ਹੈ (ਪ੍ਰਤੀ GB-ਮਹੀਨਾ ਭੁਗਤਾਨ) ਜਾਂ 7 ਦਿਨ ਤੱਕ ਮੁਫ਼ਤ, ਤੁਹਾਡੀ ਖਾਤਾ ਸੈਟਿੰਗ ਜਾਂ ?storage= ਅਨੁਸਾਰ।
ਹਰ ਮਾਡਲ ’ਤੇ ਇੱਕੋ ਜਿਹਾ ਰੂਪਤਸਵੀਰਾਂ, ਵੀਡੀਓ ਅਤੇ ਆਡੀਓ ਸਭ ਲਈ type, url, content_type, width, height ਅਤੇ duration। output ਮਾਡਲ ਦਾ ਆਪਣਾ ਨਤੀਜਾ ਆਬਜੈਕਟ ਹੈ।
ਆਉਟਪੁੱਟ ਦੇ ਫ਼ੀਲਡ
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}ਸਿਰਜਣਾ ਨਾਲ ਤਿਆਰ ਕੀਤੀ ਵੀਡੀਓ ਫ਼ਾਈਲ।
seed
integerਸਿਰਜਣਾ ਦੌਰਾਨ ਲਾਗੂ ਕੀਤਾ ਗਿਆ ਸੀਡ ਮੁੱਲ।
duration
numberਸਿਰਜੇ ਗਏ ਵੀਡੀਓ ਦੀ ਲੰਬਾਈ, ਸਕਿੰਟਾਂ ਵਿੱਚ ਮਾਪੀ ਗਈ।
actual_prompt
string | null

ਹੋਰ ਮਾਡਲ: ਟੈਕਸਟ ਤੋਂ ਵੀਡੀਓ

AI ਏਜੰਟਾਂ ਲਈ: ਇਹ ਪੰਨਾ Markdown ਵਜੋਂ ਇੱਥੇ ਹੈ https://doitong.com/pa/developers/models/alibaba/wan-3.0/text-to-video.md. ਸਾਰੇ ਮਾਡਲ ਅਤੇ ਗਾਈਡ: https://doitong.com/developers/llms.txt