কনটেন্টে যান

Alibaba V2.6 · Image to Video · Flash

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

মডেল id wan/v2.6/image-to-video/flash
# 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.6/image-to-video/flash?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 ছবি থেকে ভিডিও নেটিভ অডিওদ্রুত৫–১৫ s1080p পর্যন্ত

ঐচ্ছিক অডিও ইনপুটসহ 5, 10 বা 15 সেকেন্ডের জন্য প্রথম-ফ্রেমের ছবিকে অ্যানিমেট করা Flash ইমেজ-টু-ভিডিও

Doitong-এ তৈরি

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

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

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

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

•আবশ্যক

ভিডিওতে কাঙ্ক্ষিত গতি নির্দিষ্ট করা টেক্সট নির্দেশনা, 1500 অক্ষরে সীমাবদ্ধ।

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

240–7680 মাত্রা ব্যবহার করে একটি সর্বজনীনভাবে অ্যাক্সেসযোগ্য URL বা base64 data URI-এর মাধ্যমে ভিডিওর শুরুর ছবি দিন।

duration ৫ s

আউটপুট ভিডিওর দৈর্ঘ্য, সেকেন্ডে; উপলভ্য বিকল্প 5, 10 বা 15 সেকেন্ড।

resolution ডিফল্ট 1080p

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

অ্যাডভান্সড negative_prompt · audio · seed · enable_prompt_expansion · multi_shots · enable_safety_checker
ডিফল্ট

অনাকাঙ্ক্ষিত কনটেন্ট নির্দিষ্ট করা নেগেটিভ প্রম্পট, 500 অক্ষরে সীমাবদ্ধ।

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

ব্যাকগ্রাউন্ড মিউজিকের জন্য সর্বজনীনভাবে অ্যাক্সেসযোগ্য WAV বা MP3 ফাইলের URL; দৈর্ঘ্য 3–30 সেকেন্ড এবং আকার সর্বোচ্চ 15 MB। নির্বাচিত ভিডিওর দৈর্ঘ্য (5, 10 বা 15 সেকেন্ড) প্লেব্যাককে প্রথম N সেকেন্ডে সীমাবদ্ধ করে এবং অতিরিক্ত অডিও বাদ দেয়; অডিও আগে শেষ হলে বাকি ভিডিও নীরব থাকে। উদাহরণস্বরূপ, 3 সেকেন্ডের অডিও এবং 5 সেকেন্ডের ভিডিও হলে প্রথম 3 সেকেন্ড শব্দ বাজবে, এরপর 2 সেকেন্ড নীরবতা থাকবে।

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

POST /run/wan/v2.6/image-to-video/flash?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.6/image-to-video/flash?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 কী পান

Alibaba V2.6 · Image to Video · Flash সম্পর্কে

সর্বোচ্চ 1500 অক্ষরের টেক্সট `prompt` অনুসরণ করে একটি প্রথম-ফ্রেমের ছবি (`image_url`) অ্যানিমেট করে। আউটপুট 720p বা 1080p এবং দৈর্ঘ্য 5, 10 বা 15 সেকেন্ড। এটি নেটিভ অডিও জেনারেট করতে পারে অথবা সরবরাহ করা `audio_url` ব্যাকগ্রাউন্ড মিউজিক হিসেবে ব্যবহার করতে পারে, এবং ঐচ্ছিক multi-shot সেগমেন্টেশনসহ প্রম্পট সম্প্রসারণ উপলভ্য। সর্বোচ্চ 500 অক্ষরের `negative_prompt` এবং একটি `seed` সমর্থিত।

প্যারামিটার

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

নামধরন ডিফল্টঅনুমোদিত বিবরণ
promptআবশ্যক
ধরনstring
ভিডিওতে কাঙ্ক্ষিত গতি নির্দিষ্ট করা টেক্সট নির্দেশনা, 1500 অক্ষরে সীমাবদ্ধ।
image_urlআবশ্যক image
ধরনurl · image
240–7680 মাত্রা ব্যবহার করে একটি সর্বজনীনভাবে অ্যাক্সেসযোগ্য URL বা base64 data URI-এর মাধ্যমে ভিডিওর শুরুর ছবি দিন।
audio_urlঐচ্ছিক audio
ধরনurl · audio
ব্যাকগ্রাউন্ড মিউজিকের জন্য সর্বজনীনভাবে অ্যাক্সেসযোগ্য WAV বা MP3 ফাইলের URL; দৈর্ঘ্য 3–30 সেকেন্ড এবং আকার সর্বোচ্চ 15 MB। নির্বাচিত ভিডিওর দৈর্ঘ্য (5, 10 বা 15 সেকেন্ড) প্লেব্যাককে প্রথম N সেকেন্ডে সীমাবদ্ধ করে এবং অতিরিক্ত অডিও বাদ দেয়; অডিও আগে শেষ হলে বাকি ভিডিও নীরব থাকে। উদাহরণস্বরূপ, 3 সেকেন্ডের অডিও এবং 5 সেকেন্ডের ভিডিও হলে প্রথম 3 সেকেন্ড শব্দ বাজবে, এরপর 2 সেকেন্ড নীরবতা থাকবে।
resolutionঐচ্ছিক
ধরনenum
ডিফল্ট1080p
720p1080p
আউটপুট ভিডিওর রেজোলিউশন, 720p অথবা 1080p।
durationঐচ্ছিক
ধরনenum
ডিফল্ট5
51015
আউটপুট ভিডিওর দৈর্ঘ্য, সেকেন্ডে; উপলভ্য বিকল্প 5, 10 বা 15 সেকেন্ড।
negative_promptঐচ্ছিক
ধরনstring | null
ডিফল্ট
অনাকাঙ্ক্ষিত কনটেন্ট নির্দিষ্ট করা নেগেটিভ প্রম্পট, 500 অক্ষরে সীমাবদ্ধ।
enable_prompt_expansionঐচ্ছিক
ধরনboolean
ডিফল্টtrue
কোনো LLM প্রম্পটটি পুনর্লিখবে কি না তা নিয়ন্ত্রণ করে।
multi_shotsঐচ্ছিক
ধরনboolean
ডিফল্টfalse
true হলে বুদ্ধিমান multi-shot segmentation চালু হয় এবং false হলে একটি single shot তৈরি হয়। এটি কেবল enable_prompt_expansion True হলে কার্যকর হয়।
seedঐচ্ছিক
ধরনinteger | null
পুনরুৎপাদনযোগ্য জেনারেশনের জন্য সিড। এটিকে None সেট করলে এলোমেলোভাবে একটি সিড নির্বাচন করা হয়।
enable_safety_checkerঐচ্ছিক
ধরনboolean
ডিফল্টtrue
নিরাপত্তা যাচাইয়ের সুইচ, যার off সেটিংয়ে অ্যাকাউন্ট অনুমোদন প্রয়োজন। সেই অনুমোদন না থাকলে সেটিং নির্বিশেষে প্রতিটি রিকোয়েস্ট যাচাই করা হয়; true যাচাইকারী সক্রিয় করে।
generate_audioঐচ্ছিক
ধরনboolean
ডিফল্টtrue
Native ভিডিও অডিও টগল, audio_url থেকে পৃথক; audio_url কেবল synchronization track সরবরাহ করে। false সেট করলে নীরব ভিডিও তৈরি হয় এবং অডিওসহ flash জেনারেশন-এর তুলনায় খরচ কম।
আবশ্যক ক্যানোনিকাল নাম, এটিও গ্রহণযোগ্য

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

আউটপুট

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan/v2.6/image-to-video/flash",
  "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": 375,
    "usd": "0.375",
    "charged": 375,
    "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,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "seed": 42,
    "actual_prompt": "A comedic cinematic scene where the creator interacts with AI-generated reality transformations."
  },
  "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জেনারেশনের সময় ব্যবহৃত seed value।
actual_prompt
string | nullপুনর্লিখন চালু থাকলে ব্যবহৃত প্রকৃত প্রম্পট।

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