কনটেন্টে যান

Wan 3.0 Reference to Video

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

মডেল id alibaba/wan-3.0/reference-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/reference-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "The fox from Image 1 runs through the forest from Video 1 at night, fireflies everywhere",
    "resolution": "720p",
    "duration": 5,
    "images": [
      "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 রেফারেন্স থেকে ভিডিও নেটিভ অডিওরেফারেন্স ইনপুট২–৩০ s1080p পর্যন্ত #audio#references#long-clips

সর্বোচ্চ 10টি ছবি, 5টি ভিডিও ও 5টি অডিও ক্লিপ থেকে 2 থেকে 30 সেকেন্ডের Wan 3.0 ক্লিপ তৈরি করে।

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

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

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

88 / 20000

রেফারেন্স মিডিয়া কীভাবে যুক্ত করতে হবে তা বর্ণনা করুন এবং প্রম্পটের মধ্যে অবস্থান দিয়ে প্রতিটি রেফারেন্স শনাক্ত করুন। উদাহরণ: 'the subject in Image 1 walks past Video 1'।

reference_image_urls
একটি ফাইল ড্রপ করুন, অথবা · 10 পর্যন্ত

রেফারেন্স ছবির URL, সর্বোচ্চ 10টি।

resolution

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

aspect_ratio ডিফল্ট adaptive

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

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

অ্যাডভান্সড videos · audios · file_url · web_url · seed · generate_audio · enable_prompt_expansion · enable_thinking
reference_video_urls
একটি ফাইল ড্রপ করুন, অথবা · 5 পর্যন্ত

16 fps বা তার বেশি গতিতে চলা রেফারেন্স ক্লিপের URL দিন। সেটে সর্বোচ্চ 5টি ভিডিও থাকতে পারে এবং মোট ফুটেজ 15 সেকেন্ডের বেশি হতে পারবে না।

reference_audio_urls
একটি ফাইল ড্রপ করুন, অথবা · 5 পর্যন্ত

রেফারেন্স অডিওর URL, সর্বোচ্চ 5টি এবং সম্মিলিত সময়কাল 15 সেকেন্ডের বেশি নয়।

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

ভিডিওর ভিত্তি হিসেবে ব্যবহৃত নথির URL। enable_thinking true হতে হবে।

ভিডিওর ভিত্তি হিসেবে ব্যবহৃত ওয়েবপেজের URL; এটি শুধু লগইন ছাড়া এবং enable_thinking=true থাকলেই পড়া যায়।

POST /run/alibaba/wan-3.0/reference-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/reference-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "The fox from Image 1 runs through the forest from Video 1 at night, fireflies everywhere",
    "resolution": "720p",
    "duration": 5,
    "images": [
      "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 3.0 Reference to Video সম্পর্কে

Wan 3.0 reference-to-video রেফারেন্স ছবি, সংক্ষিপ্ত রেফারেন্স ভিডিও (মোট 15 সেকেন্ড) এবং রেফারেন্স অডিও একত্র করে একটি জেনারেট করা ক্লিপ তৈরি করে; প্রম্পটে অবস্থান অনুযায়ী এগুলো উল্লেখ করুন (Image 1, Video 1)। রিজনিং ধাপ চালু থাকলে কোনো ডকুমেন্ট বা পাবলিক ওয়েব পেজের ওপরও ভিডিও ভিত্তি করতে পারে। 480p থেকে 1080p, 2 থেকে 30 সেকেন্ড, ডিফল্টভাবে জেনারেট করা অডিও।

প্যারামিটার

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

নামধরন ডিফল্টঅনুমোদিত বিবরণ
promptঐচ্ছিক
ধরনstring | null
≤ ২০,০০০টি অক্ষর
রেফারেন্স মিডিয়া কীভাবে যুক্ত করতে হবে তা বর্ণনা করুন এবং প্রম্পটের মধ্যে অবস্থান দিয়ে প্রতিটি রেফারেন্স শনাক্ত করুন। উদাহরণ: 'the subject in Image 1 walks past Video 1'।
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
০ – ২,১৪,৭৪,৮৩,৬৪৭
reference_image_urlsঐচ্ছিক images
ধরনurl[] · image
≤ ১০টি আইটেম
রেফারেন্স ছবির URL, সর্বোচ্চ 10টি।
reference_video_urlsঐচ্ছিক videos
ধরনurl[] · video
≤ ৫টি আইটেম
16 fps বা তার বেশি গতিতে চলা রেফারেন্স ক্লিপের URL দিন। সেটে সর্বোচ্চ 5টি ভিডিও থাকতে পারে এবং মোট ফুটেজ 15 সেকেন্ডের বেশি হতে পারবে না।
reference_audio_urlsঐচ্ছিক audios
ধরনurl[] · audio
≤ ৫টি আইটেম
রেফারেন্স অডিওর URL, সর্বোচ্চ 5টি এবং সম্মিলিত সময়কাল 15 সেকেন্ডের বেশি নয়।
file_urlঐচ্ছিক
ধরনurl · file
ভিডিওর ভিত্তি হিসেবে ব্যবহৃত নথির URL। enable_thinking true হতে হবে।
web_urlঐচ্ছিক
ধরনstring | null
ভিডিওর ভিত্তি হিসেবে ব্যবহৃত ওয়েবপেজের URL; এটি শুধু লগইন ছাড়া এবং enable_thinking=true থাকলেই পড়া যায়।
আবশ্যক ক্যানোনিকাল নাম, এটিও গ্রহণযোগ্য

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

আউটপুট

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "alibaba/wan-3.0/reference-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": 500,
    "usd": "0.50",
    "charged": 500,
    "refunded": 0
  },
  "input": {
    "prompt": "The fox from Image 1 runs through the forest from Video 1 at night, fireflies everywhere",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ],
    "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/reference-to-video.md. সব মডেল ও গাইড: https://doitong.com/developers/llms.txt