কনটেন্টে যান

Wan-2.1 Text-to-Video

ইন্টিগ্রেট করুন

মডেল id wan-t2v
# 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/wan-t2v?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# 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 টেক্সট থেকে ভিডিও 720p পর্যন্ত #text-to-video#motion

Wan 2.1 text-to-video, 480p থেকে 720p আউটপুট, পোর্ট্রেট বা ল্যান্ডস্কেপ এবং ঐচ্ছিক turbo modeসহ

Doitong-এ তৈরি

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

দেখানো পাবলিক কাজ: 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...

Реалистичная бытовая сцена в советской одесской квартире зимним вечером. Женщина находится на кух... ভিডিও

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

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

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

•আবশ্যক

ভিডিও জেনারেশন পরিচালনার জন্য টেক্সট নির্দেশনা।

resolution ডিফল্ট 720p

আউটপুট ভিডিওর রেজোলিউশন: 480p, 580p অথবা 720p।

aspect_ratio ডিফল্ট 16:9

আউটপুট ভিডিওর অ্যাসপেক্ট রেশিও, 16:9 অথবা 9:16।

ডিফল্ট 81

জেনারেশনের ফ্রেম সংখ্যা, 81 থেকে 100 পর্যন্ত।

অ্যাডভান্সড negative_prompt · frames_per_second · num_inference_steps · seed · enable_safety_checker · enable_prompt_expansion · turbo_mode
ডিফল্ট bright colors, overex...

ভিডিও জেনারেশনের সময় প্রয়োগ করা negative প্রম্পট।

ডিফল্ট 16

জেনারেট করা ভিডিওর প্রতি সেকেন্ডে ফ্রেমের হার, 5 থেকে 24 পর্যন্ত।

ডিফল্ট 30

Sampling step-এর সংখ্যা; সংখ্যা বাড়ার সঙ্গে processing time বাড়ে এবং quality উন্নত হয়।

পুনরুৎপাদনযোগ্য জেনারেশনের জন্য সিড। এটিকে None সেট করলে এলোমেলোভাবে একটি সিড নির্বাচন করা হয়।

POST /run/wan-t2v?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/wan-t2v?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# 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 কী পান

Wan-2.1 Text-to-Video সম্পর্কে

একটি টেক্সট `prompt` থেকে একটি সংক্ষিপ্ত ভিডিও ক্লিপ জেনারেট করে। রেজোলিউশন 480p, 580p বা 720p এবং অ্যাসপেক্ট রেশিও 16:9 বা 9:16 হতে পারে। `num_frames` 81 থেকে 100 এবং `frames_per_second` 5 থেকে 24 পর্যন্ত। এটি `negative_prompt`, `seed`, ঐচ্ছিক প্রম্পট এক্সপ্যানশন এবং দ্রুততর রান-এর জন্য একটি `turbo_mode` সুইচও গ্রহণ করে।

প্যারামিটার

নামধরন ডিফল্টঅনুমোদিত বিবরণ
promptআবশ্যক
ধরনstring
ভিডিও জেনারেশন পরিচালনার জন্য টেক্সট নির্দেশনা।
negative_promptঐচ্ছিক
ধরনstring
ডিফল্টbright colors, overexposed, static, blurred details, subtitles, style, artwork, painting, picture, still, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, malformed limbs, fused fingers, still picture, cluttered background, three legs, many people in the background, walking backwards
ভিডিও জেনারেশনের সময় প্রয়োগ করা negative প্রম্পট।
num_framesঐচ্ছিক
ধরনinteger | null
ডিফল্ট81
৮১ – ১০০
জেনারেশনের ফ্রেম সংখ্যা, 81 থেকে 100 পর্যন্ত।
frames_per_secondঐচ্ছিক
ধরনinteger | null
ডিফল্ট16
৫ – ২৪
জেনারেট করা ভিডিওর প্রতি সেকেন্ডে ফ্রেমের হার, 5 থেকে 24 পর্যন্ত।
seedঐচ্ছিক
ধরনinteger | null
পুনরুৎপাদনযোগ্য জেনারেশনের জন্য সিড। এটিকে None সেট করলে এলোমেলোভাবে একটি সিড নির্বাচন করা হয়।
resolutionঐচ্ছিক
ধরনenum
ডিফল্ট720p
480p580p720p
আউটপুট ভিডিওর রেজোলিউশন: 480p, 580p অথবা 720p।
aspect_ratioঐচ্ছিক
ধরনenum
ডিফল্ট16:9
9:1616:9
আউটপুট ভিডিওর অ্যাসপেক্ট রেশিও, 16:9 অথবা 9:16।
num_inference_stepsঐচ্ছিক
ধরনinteger
ডিফল্ট30
২ – ৪০
Sampling step-এর সংখ্যা; সংখ্যা বাড়ার সঙ্গে processing time বাড়ে এবং quality উন্নত হয়।
enable_safety_checkerঐচ্ছিক
ধরনboolean
ডিফল্টfalse
নিরাপত্তা যাচাইয়ের সুইচ, যার off সেটিংয়ে অ্যাকাউন্ট অনুমোদন প্রয়োজন। সেই অনুমোদন না থাকলে সেটিং নির্বিশেষে প্রতিটি রিকোয়েস্ট যাচাই করা হয়; true যাচাইকারী সক্রিয় করে।
enable_prompt_expansionঐচ্ছিক
ধরনboolean
ডিফল্টfalse
প্রম্পট expansion সক্রিয় থাকবে কি না তা নিয়ন্ত্রণ করে।
turbo_modeঐচ্ছিক
ধরনboolean
ডিফল্টfalse
দ্রুত ভিডিও জেনারেশনের টগল। এটি সক্রিয় করলে দৃশ্যমান গুণমান উল্লেখযোগ্যভাবে না কমিয়েই জেনারেশনের সময় কমে।
আবশ্যক

আউটপুট

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan-t2v",
  "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": 400,
    "usd": "0.40",
    "charged": 400,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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
    },
    "seed": 42
  },
  "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}জেনারেশনের মাধ্যমে তৈরি ভিডিও ফাইল।
seed
integerজেনারেশনের সময় প্রয়োগ করা সিডের মান।

আরও মডেল: টেক্সট থেকে ভিডিও

AI এজেন্টদের জন্য: এই পৃষ্ঠাটি Markdown হিসেবে এখানে আছে https://doitong.com/bn/developers/models/wan-t2v.md. সব মডেল ও গাইড: https://doitong.com/developers/llms.txt