কনটেন্টে যান

Wan-2.1 Image-to-Video with LoRAs

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

মডেল id wan-i2v-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-i2v-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",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# 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 পর্যন্ত #image-to-video#motion#lora

কাস্টম LoRA সমর্থন, ঐচ্ছিক বিপরীত প্লেব্যাক এবং turbo mode-সহ Wan 2.1 image-to-video

Doitong-এ তৈরি

Doitong কমিউনিটির Wan-2.1 Image-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...

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

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

•আবশ্যক

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

•আবশ্যক image_url
একটি ফাইল ড্রপ করুন, অথবা

সোর্স ছবির URL; নির্বাচিত অ্যাসপেক্ট রেশিও অনুযায়ী প্রিপ্রসেসিং প্রয়োজন কি না নির্ধারিত হয়: অমিল থাকলে রিসাইজ করার পর সেন্টার ক্রপ করা হয়।

resolution ডিফল্ট 720p

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

aspect_ratio ডিফল্ট 16:9

আউটপুট ভিডিওর প্রস্থ-উচ্চতা অনুপাত।

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

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

ডিফল্ট 81

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

ডিফল্ট 16

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

ডিফল্ট 30

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

ডিফল্ট 5

Classifier-free guidance-এর শক্তি; scale বাড়ার সঙ্গে সম্ভাব্য quality loss-এর বিনিময়ে প্রম্পটের সঙ্গে আরও ঘনিষ্ঠ মিল পাওয়া যায়।

ডিফল্ট 5

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

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

ডিফল্ট []

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

POST /run/wan-i2v-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-i2v-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",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# 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 Image-to-Video with LoRAs সম্পর্কে

একটি ইনপুট ছবিকে (`image_url`) `prompt` থেকে অ্যানিমেট করে, `loras`-এর মাধ্যমে কাস্টম LoRA ওয়েটসসহ। অন্যান্য বিকল্পের মধ্যে ক্লিপটি উল্টোভাবে চালানোর জন্য `reverse_video` এবং দ্রুত জেনারেশনের জন্য `turbo_mode` রয়েছে। রেজোলিউশন 480p বা 720p, `num_frames` 81-100, ফ্রেম রেট 5-24 এবং অ্যাসপেক্ট রেশিও auto, 16:9, 9:16 বা 1:1।

প্যারামিটার

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

নামধরন ডিফল্টঅনুমোদিত বিবরণ
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 প্রম্পট।
image_urlআবশ্যক image
ধরনurl · image
সোর্স ছবির URL; নির্বাচিত অ্যাসপেক্ট রেশিও অনুযায়ী প্রিপ্রসেসিং প্রয়োজন কি না নির্ধারিত হয়: অমিল থাকলে রিসাইজ করার পর সেন্টার ক্রপ করা হয়।
num_framesঐচ্ছিক
ধরনinteger | null
ডিফল্ট81
৮১ – ১০০
জেনারেশনের ফ্রেম সংখ্যা, 81 থেকে 100 পর্যন্ত।
frames_per_secondঐচ্ছিক
ধরনinteger | null
ডিফল্ট16
৫ – ২৪
জেনারেট করা ভিডিওর প্রতি সেকেন্ডে ফ্রেমের হার, 5 থেকে 24 পর্যন্ত।
seedঐচ্ছিক
ধরনinteger | null
পুনরুৎপাদনযোগ্য জেনারেশনের জন্য সিড। এটিকে None সেট করলে এলোমেলোভাবে একটি সিড নির্বাচন করা হয়।
resolutionঐচ্ছিক
ধরনenum
ডিফল্ট720p
480p720p
আউটপুট ভিডিওর রেজোলিউশন, 480p বা 720p।
num_inference_stepsঐচ্ছিক
ধরনinteger
ডিফল্ট30
২ – ৪০
Sampling step-এর সংখ্যা; সংখ্যা বাড়ার সঙ্গে processing time বাড়ে এবং quality উন্নত হয়।
guide_scaleঐচ্ছিক
ধরনnumber
ডিফল্ট5
১ – ১০
Classifier-free guidance-এর শক্তি; scale বাড়ার সঙ্গে সম্ভাব্য quality loss-এর বিনিময়ে প্রম্পটের সঙ্গে আরও ঘনিষ্ঠ মিল পাওয়া যায়।
shiftঐচ্ছিক
ধরনnumber
ডিফল্ট5
১ – ১০
ভিডিও জেনারেশনের সময় প্রয়োগ করা shift setting।
enable_safety_checkerঐচ্ছিক
ধরনboolean
ডিফল্টfalse
নিরাপত্তা যাচাইয়ের সুইচ, যার off সেটিংয়ে অ্যাকাউন্ট অনুমোদন প্রয়োজন। সেই অনুমোদন না থাকলে সেটিং নির্বিশেষে প্রতিটি রিকোয়েস্ট যাচাই করা হয়; true যাচাইকারী সক্রিয় করে।
enable_prompt_expansionঐচ্ছিক
ধরনboolean
ডিফল্টfalse
প্রম্পট expansion সক্রিয় থাকবে কি না তা নিয়ন্ত্রণ করে।
aspect_ratioঐচ্ছিক
ধরনenum
ডিফল্ট16:9
auto16:99:161:1
আউটপুট ভিডিওর প্রস্থ-উচ্চতা অনুপাত।
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 হলে প্লেব্যাক উল্টো হয়।
turbo_modeঐচ্ছিক
ধরনboolean
ডিফল্টtrue
দ্রুত ভিডিও জেনারেশনের টগল। এটি সক্রিয় করলে দৃশ্যমান গুণমান উল্লেখযোগ্যভাবে না কমিয়েই জেনারেশনের সময় কমে।
আবশ্যক ক্যানোনিকাল নাম, এটিও গ্রহণযোগ্য

ফাইল প্যারামিটার হিসেবে একটি পাবলিক https:// URL, 10 MB পর্যন্ত একটি data: URI, অথবা আপলোডের file_url গ্রহণ করা হয়। ফাইল

আউটপুট

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan-i2v-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",
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "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-i2v-lora.md. সব মডেল ও গাইড: https://doitong.com/developers/llms.txt