কনটেন্টে যান

Wan-2.1 Text-to-Video with LoRAs

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

মডেল id wan-t2v-lora
# 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-lora?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"#"lora"

কাস্টম LoRA ওয়েটস গ্রহণকারী Wan 2.1 text-to-video, যাতে Turbo মোড এবং ঐচ্ছিক রিভার্সাল রয়েছে

Doitong-এ তৈরি

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

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

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

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

•আবশ্যক

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

resolution ডিফল্ট 480p

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

aspect_ratio ডিফল্ট 16:9

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

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

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

ডিফল্ট 81

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

ডিফল্ট 16

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

ডিফল্ট 30

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

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

ডিফল্ট []

ইনফারেন্সের সময় প্রয়োগ করা LoRA ওজন।

POST /run/wan-t2v-lora?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-lora?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 with LoRAs সম্পর্কে

`prompt` টেক্সট থেকে ভিডিও তৈরি করে এবং `loras`-এ তালিকাভুক্ত কাস্টম LoRA প্রয়োগ করে। রেজোলিউশন 480p, 580p অথবা 720p এবং অ্যাসপেক্ট রেশিও 16:9 অথবা 9:16। `num_frames` 81 থেকে 100 এবং `frames_per_second` 5 থেকে 24 পর্যন্ত হতে পারে। ডিফল্টভাবে `turbo_mode` চালু থাকে, আর `reverse_video` ফলাফলটি উল্টোভাবে চালায়।

প্যারামিটার

নামধরন ডিফল্টঅনুমোদিত বিবরণ
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
ডিফল্ট480p
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
ডিফল্টtrue
দ্রুত ভিডিও জেনারেশনের টগল। এটি সক্রিয় করলে দৃশ্যমান গুণমান উল্লেখযোগ্যভাবে না কমিয়েই জেনারেশনের সময় কমে।
lorasঐচ্ছিক
ধরনobject[]
ডিফল্ট[]
ইনফারেন্সের সময় প্রয়োগ করা LoRA ওজন।
loras[].pathআবশ্যক
ধরনstring
LoRA weights-এর অবস্থান, URL বা path হিসেবে নির্দিষ্ট করা হয়।
loras[].weight_nameঐচ্ছিক
ধরনstring | null
Hugging Face রিপোজিটরিতে 1টির বেশি safetensors ফাইল থাকলেই কেবল প্রয়োজনীয় LoRA weight নাম। `path` এমন রিপোজিটরি শনাক্ত করলেই শুধু এই নাম ব্যবহার করা হয়।
loras[].scaleঐচ্ছিক
ধরনnumber
ডিফল্ট1
০ – ৪
বেস মডেলে মার্জ করার আগে LoRA-এর ওজনে প্রয়োগ করা গুণক।
reverse_videoঐচ্ছিক
ধরনboolean
ডিফল্টfalse
ভিডিও উল্টানোর টগল; true হলে প্লেব্যাক উল্টো হয়।
আবশ্যক

আউটপুট

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan-t2v-lora",
  "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": 750,
    "usd": "0.75",
    "charged": 750,
    "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-lora.md. সব মডেল ও গাইড: https://doitong.com/developers/llms.txt