কনটেন্টে যান

Wan · v2.7 · Image to Video

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

মডেল id wan/v2.7/image-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/wan/v2.7/image-to-video?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 ছবি থেকে ভিডিও লিপসিঙ্ক২–১৫ s1080p পর্যন্ত #stylized#transform#lipsync

প্রথম-ফ্রেমের ছবিকে 2-15 সেকেন্ডের ক্লিপে অ্যানিমেট করে, ঐচ্ছিক শেষ ফ্রেম, ভিডিও কন্টিনিউয়েশন ও অডিওসহ

Doitong-এ তৈরি

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

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

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

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

তৈরি করার ভিডিওর বর্ণনা, সর্বোচ্চ 5000 অক্ষর।

duration ৫ s

জেনারেট করা ভিডিওর দৈর্ঘ্য, সেকেন্ডে; 2 থেকে 15।

resolution ডিফল্ট 1080p

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

অ্যাডভান্সড negative_prompt · image · end_image · video · audio · seed · enable_prompt_expansion · enable_safety_checker

ভিডিওতে যা থাকা উচিত নয়, সর্বোচ্চ 500 অক্ষর।

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

শুরুর-ফ্রেম ছবির URL; ফাইলের সীমা 20 MB। গ্রহণযোগ্য ফরম্যাট: JPEG, JPG, PNG, BMP, WEBP।

end_image_url
একটি ফাইল ড্রপ করুন, অথবা

প্রথম ও শেষ ফ্রেম থেকে ভিডিও জেনারেট করার সময় শেষ ছবির URL; বিধিনিষেধ `image_url`-এর মতোই।

video_url
একটি ফাইল ড্রপ করুন, অথবা

যে ক্লিপের অ্যাকশন চালিয়ে যাওয়া হবে, সেটি সরবরাহকারী URL; এই ইনপুট অথবা image_url-এর যেকোনো একটি ব্যবহার করুন, দুটিই নয়। ক্লিপটি MP4 বা MOV হতে হবে, 2–10 সেকেন্ড দীর্ঘ হতে হবে এবং ফাইলের আকার 100 MB-এর বেশি হওয়া যাবে না।

audio_url
একটি ফাইল ড্রপ করুন, অথবা

2–30 সেকেন্ড দীর্ঘ এবং 15 MB-এর বেশি নয়—এমন WAV বা MP3 ফাইলের দিকে নির্দেশ করা URL-এর মাধ্যমে ড্রাইভিং অডিও সরবরাহ করুন।

পুনরুৎপাদনযোগ্য ফলাফলের জন্য এলোমেলো সিড; পরিসর 0 থেকে 2147483647।

POST /run/wan/v2.7/image-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/wan/v2.7/image-to-video?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 · v2.7 · Image to Video সম্পর্কে

একটি স্থির ছবিকে ভিডিও ক্লিপে রূপান্তর করে। প্রথম ফ্রেম হিসেবে `image_url` পাঠান এবং শেষ ফ্রেম নির্ধারণ করতে ঐচ্ছিকভাবে `end_image_url` দিন, অথবা ছবির পরিবর্তে বিদ্যমান ক্লিপ চালিয়ে যেতে `video_url` (2-10s) ব্যবহার করুন। WAV বা MP3 অডিও দিয়ে ক্লিপ চালাতে `audio_url` ব্যবহার করা যায়। 720p বা 1080p-তে সময়কাল 2 থেকে 15 সেকেন্ড, এবং প্রম্পট সর্বোচ্চ 5000 অক্ষরের হতে পারে।

প্যারামিটার

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

নামধরন ডিফল্টঅনুমোদিত বিবরণ
promptঐচ্ছিক
ধরনstring | null
তৈরি করার ভিডিওর বর্ণনা, সর্বোচ্চ 5000 অক্ষর।
image_urlঐচ্ছিক image
ধরনurl · image
শুরুর-ফ্রেম ছবির URL; ফাইলের সীমা 20 MB। গ্রহণযোগ্য ফরম্যাট: JPEG, JPG, PNG, BMP, WEBP।
end_image_urlঐচ্ছিক end_image
ধরনurl · image
প্রথম ও শেষ ফ্রেম থেকে ভিডিও জেনারেট করার সময় শেষ ছবির URL; বিধিনিষেধ `image_url`-এর মতোই।
video_urlঐচ্ছিক video
ধরনurl · video
যে ক্লিপের অ্যাকশন চালিয়ে যাওয়া হবে, সেটি সরবরাহকারী URL; এই ইনপুট অথবা image_url-এর যেকোনো একটি ব্যবহার করুন, দুটিই নয়। ক্লিপটি MP4 বা MOV হতে হবে, 2–10 সেকেন্ড দীর্ঘ হতে হবে এবং ফাইলের আকার 100 MB-এর বেশি হওয়া যাবে না।
audio_urlঐচ্ছিক audio
ধরনurl · audio
2–30 সেকেন্ড দীর্ঘ এবং 15 MB-এর বেশি নয়—এমন WAV বা MP3 ফাইলের দিকে নির্দেশ করা URL-এর মাধ্যমে ড্রাইভিং অডিও সরবরাহ করুন।
resolutionঐচ্ছিক
ধরনenum
ডিফল্ট1080p
720p1080p
ফলাফল ভিডিওর রেজোলিউশন স্তর।
durationঐচ্ছিক
ধরনenum
ডিফল্ট5
23456789101112131415
জেনারেট করা ভিডিওর দৈর্ঘ্য, সেকেন্ডে; 2 থেকে 15।
negative_promptঐচ্ছিক
ধরনstring | null
ভিডিওতে যা থাকা উচিত নয়, সর্বোচ্চ 500 অক্ষর।
enable_prompt_expansionঐচ্ছিক
ধরনboolean
ডিফল্টtrue
প্রম্পটের বুদ্ধিমান পুনর্লিখন সক্রিয় করে।
seedঐচ্ছিক
ধরনinteger | null
পুনরুৎপাদনযোগ্য ফলাফলের জন্য এলোমেলো সিড; পরিসর 0 থেকে 2147483647।
enable_safety_checkerঐচ্ছিক
ধরনboolean
ডিফল্টtrue
ইনপুট ও আউটপুট উভয়ের মডারেশন; অ্যাকাউন্টটি এটি নিষ্ক্রিয় করার অনুমোদনপ্রাপ্ত না হলে এবং অপশনটি বন্ধ না করা পর্যন্ত প্রতিটি রিকোয়েস্টে এটি প্রয়োগ করা হয়।
আবশ্যক ক্যানোনিকাল নাম, এটিও গ্রহণযোগ্য

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

আউটপুট

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan/v2.7/image-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": 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,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "seed": 42,
    "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জেনারেশনের সময় প্রয়োগ করা সিডের মান।
actual_prompt
string | nullপ্রম্পট rewriting চালু থাকলে বাস্তবে প্রয়োগ করা প্রম্পট।

আরও মডেল: ছবি থেকে ভিডিও

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