কনটেন্টে যান

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"

এই অনুরোধ: ০.২৫$ ২৫০ API ক্রেডিট এই পেজে চালান

API কী পান
Alibaba টেক্সট থেকে ভিডিও নেটিভ অডিও২–৩০ 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.

৫ s480p16:9০.২৫$ · ২৫০ API ক্রেডিট

একটি অনুরোধ তৈরি করুন

মডেল স্কিমা থেকে কন্ট্রোল তৈরি করা হয়। এগুলো পরিবর্তন করলে কোড ও মূল্য আপডেট হয়।

•আবশ্যক 224 / 20000

জেনারেট করার ভিডিও বর্ণনাকারী টেক্সট নির্দেশনা।

resolution

ফলাফল ভিডিওর রেজোলিউশন স্তর।

aspect_ratio

আউটপুটের অ্যাসপেক্ট রেশিও; অভিযোজিত নির্বাচন উপলভ্য।

আউটপুটের দৈর্ঘ্য: null দিলে প্রম্পট ও রেফারেন্স মিডিয়ার ভিত্তিতে স্মার্টভাবে সময়কাল নির্ধারিত হয়; অন্যথায় প্রদত্ত মানটি সেকেন্ড নির্দেশ করে।

অ্যাডভান্সড seed · enable_prompt_expansion · enable_thinking
POST /run/alibaba/wan-3.0/text-to-video?wait=20 মূল্য → ০.২৫$
# 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-তে পাঠানো হয় এবং Remember টিক দিলে কেবল localStorage-এ সংরক্ষিত হয়। একটি API কী পান

Doitong-এ তৈরি

Doitong কমিউনিটির Wan 3.0 দিয়ে তৈরি পাবলিক কাজ। এক ক্লিকে একটি প্রম্পট পুনরায় ব্যবহার করুন।

দেখানো পাবলিক কাজ: 5
Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a... ভিডিও

Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a daytime flight. Natural cabin lighting, subtle handheld camera movement, authentic airplane ambience, realistic passengers and natural acting. The video must feel like a real spontaneous phone...

**SORA 2 PROMPT — 20 seconds, vertical 9:16** Create a highly realistic UGC-style smartphone vide... ভিডিও

**SORA 2 PROMPT — 20 seconds, vertical 9:16** Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a daytime flight. Natural cabin lighting, subtle handheld camera movement, authentic airplane ambience, realistic passengers and natural acting. The video...

Create a realistic cinematic 20-second video, filmed like a high-budget modern commercial with na... ভিডিও

Create a realistic cinematic 20-second video, filmed like a high-budget modern commercial with natural acting, realistic lighting and believable facial expressions. All dialogue is spoken naturally in French. **SCENE 1 — EXPENSIVE RESTAURANT, EVENING — 0–5 sec** A young man in his late 20s is...

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...

TITLE: Santa's Secret Christmas Selfie with Dasha 🎄 VIDEO FORMAT: 15–20 seconds, vertical 9:16, c... ভিডিও

TITLE: Santa's Secret Christmas Selfie with Dasha 🎄 VIDEO FORMAT: 15–20 seconds, vertical 9:16, cinematic Christmas short film, high-quality realistic 3D animation. REFERENCE IMAGE — DASHA_001 Use the uploaded image as the exact character reference for Dasha. Preserve her recognizable face,...

Wan 3.0 Text to Video সম্পর্কে

Wan 3.0 একটি প্রম্পট থেকে 2 থেকে 30 সেকেন্ড দীর্ঘ, সুসংগত শট রেন্ডার করে, ডিফল্টভাবে জেনারেট করা সাউন্ডসহ। একটি ঐচ্ছিক রিজনিং ধাপ জটিল দৃশ্যের পরিকল্পনা করে এবং প্রম্পট এক্সপ্যানশন ডিফল্টভাবে চালু থাকে। ছয়টি অ্যাসপেক্ট রেশিওতে 480p, 720p বা 1080p, অথবা অ্যাডাপটিভ ফ্রেমিং।

প্যারামিটার

ক্যানোনিকাল নাম অথবা নেটিভ নাম—দুটো একসঙ্গে নয়—পাঠান। ক্যানোনিকাল নামগুলো

নামধরন ডিফল্টঅনুমোদিত বিবরণ
promptআবশ্যক
ধরনstring
≤ ২০,০০০টি অক্ষর
জেনারেট করার ভিডিও বর্ণনাকারী টেক্সট নির্দেশনা।
resolutionঐচ্ছিক
ধরনenum
ডিফল্ট1080p
480p720p1080p
ফলাফল ভিডিওর রেজোলিউশন স্তর।
aspect_ratioঐচ্ছিক
ধরনenum
ডিফল্টadaptive
adaptive16:94:31:13:49:16
আউটপুটের অ্যাসপেক্ট রেশিও; অভিযোজিত নির্বাচন উপলভ্য।
durationঐচ্ছিক
ধরনinteger | null
ডিফল্ট5
২ – ৩০
আউটপুটের দৈর্ঘ্য: null দিলে প্রম্পট ও রেফারেন্স মিডিয়ার ভিত্তিতে স্মার্টভাবে সময়কাল নির্ধারিত হয়; অন্যথায় প্রদত্ত মানটি সেকেন্ড নির্দেশ করে।
audioঐচ্ছিক generate_audio
ধরনboolean
ডিফল্টtrue
জেনারেট করা অডিও অন্তর্ভুক্ত হবে কি না তা নিয়ন্ত্রণ করে।
enable_prompt_expansionঐচ্ছিক
ধরনboolean
ডিফল্টtrue
জেনারেশনের আগে প্রম্পট বুদ্ধিমত্তার সঙ্গে পুনর্লিখন করা হবে কি না তা নিয়ন্ত্রণ করে। পুনর্লিখন নিষ্ক্রিয় করলে প্রায় 20–60 সেকেন্ড কম লেটেন্সির বিনিময়ে গুণমান কমার সম্ভাবনা রয়েছে।
enable_thinkingঐচ্ছিক
ধরনboolean
ডিফল্টfalse
জেনারেশন শুরু হওয়ার আগে অতিরিক্ত যুক্তি-প্রয়োগ সক্ষম করে।
seedঐচ্ছিক
ধরনinteger | null
০ – ২,১৪,৭৪,৮৩,৬৪৭
আবশ্যক ক্যানোনিকাল নাম, এটিও গ্রহণযোগ্য

আউটপুট

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-মাস অনুযায়ী অর্থপ্রদত্ত) অথবা অ্যাকাউন্ট সেটিংস বা ?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/bn/developers/models/alibaba/wan-3.0/text-to-video.md. সব মডেল ও গাইড: https://doitong.com/developers/llms.txt