কনটেন্টে যান

H3 Max

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

মডেল id minimax/h3-max/insert-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/minimax/h3-max/insert-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "start_time": 1.625,
    "resume_time": 2
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

এই অনুরোধ: ০.৩০$ ৩০০ API ক্রেডিট এই পেজে চালান

API কী পান
MiniMax ভিডিও থেকে ভিডিও রেফারেন্স ইনপুট৫–১৩ s768p পর্যন্ত #video-to-video#video-editing#scene-insertion

নির্বাচিত সময়ে বিদ্যমান ভিডিওতে একটি নতুন তৈরি দৃশ্য যুক্ত করে, তারপর মূল ফুটেজে ফিরে যায়

MiniMax · ভিডিও

আপনার প্রথম ফলাফল এখানে আসবে

নিচে একটি রিকোয়েস্ট তৈরি করে আপনার API কী দিয়ে চালান। আউটপুট আমাদের স্টোরেজে কপি করা হয়, চিরকাল বা বিনামূল্যে ৭ দিন পর্যন্ত রাখা হয়।

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

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

0 / 50000
•আবশ্যক video_url
একটি ফাইল ড্রপ করুন, অথবা
resolution ডিফল্ট 768p
•আবশ্যক
•আবশ্যক
ডিফল্ট 5
অ্যাডভান্সড images · reference_video_urls · seed · enable_prompt_expansion · color_match
reference_image_urls
একটি ফাইল ড্রপ করুন, অথবা · 9 পর্যন্ত
একটি ফাইল ড্রপ করুন, অথবা · 3 পর্যন্ত
POST /run/minimax/h3-max/insert-video?wait=20 মূল্য → ০.৩০$
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/minimax/h3-max/insert-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "start_time": 1.625,
    "resume_time": 2
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

এই অনুরোধ চালান

আপনার key এই ব্রাউজারেই থাকে: এটি শুধু Doitong API-তে পাঠানো হয় এবং Remember টিক দিলে কেবল localStorage-এ সংরক্ষিত হয়। একটি API কী পান

H3 Max সম্পর্কে

`start_time` এবং `resume_time`-এর মধ্যে (প্রতিটি 1.625 থেকে 60 s) একটি নতুন দৃশ্য যোগ করে সোর্স ভিডিও সম্পাদনা করে। দৃশ্যটি একটি `prompt`, সর্বোচ্চ 9টি রেফারেন্স ছবি এবং সর্বোচ্চ 3টি রেফারেন্স ভিডিও দ্বারা নির্দেশিত হতে পারে। `duration` 5 থেকে 13 সেকেন্ড, আউটপুট 480p অথবা 768p এবং সোর্সের সঙ্গে ইনসার্ট মিশিয়ে দিতে `color_match` ডিফল্টভাবে চালু থাকে।

প্যারামিটার

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

নামধরন ডিফল্টঅনুমোদিত বিবরণ
video_urlআবশ্যক video
ধরনurl · video
promptঐচ্ছিক
ধরনstring | null
≤ ৫০,০০০টি অক্ষর
reference_image_urlsঐচ্ছিক images
ধরনurl[] · image
≤ ৯টি আইটেম
reference_video_urlsঐচ্ছিক
ধরনurl[] · video
≤ ৩টি আইটেম
start_timeআবশ্যক
ধরনnumber
১.৬২৫ – ৬০
resume_timeআবশ্যক
ধরনnumber
≤ ৬০> ১.৬২৫
durationঐচ্ছিক
ধরনnumber
ডিফল্ট5
৫ – ১৩
resolutionঐচ্ছিক
ধরনenum
ডিফল্ট768p
480p768p
seedঐচ্ছিক
ধরনinteger | null
০ – ২,১৪,৭৪,৮৩,৬৪৭
enable_prompt_expansionঐচ্ছিক
ধরনboolean
ডিফল্টtrue
color_matchঐচ্ছিক
ধরনboolean
ডিফল্টtrue
আবশ্যক ক্যানোনিকাল নাম, এটিও গ্রহণযোগ্য

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

আউটপুট

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "minimax/h3-max/insert-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": 300,
    "usd": "0.30",
    "charged": 300,
    "refunded": 0
  },
  "input": {
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "start_time": 1.625,
    "resume_time": 2
  },
  "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,
    "width": 1024,
    "height": 768,
    "frame_count": 1,
    "duration": 5,
    "start_time": 1.0,
    "resume_time": 1.0,
    "injected_duration": 1.0,
    "expanded_prompt": "string",
    "source": {},
    "timings": {}
  },
  "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://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/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
width
integer
height
integer
frame_count
integer
duration
number
start_time
number
resume_time
number
injected_duration
number
expanded_prompt
string | null
source
object
timings
object

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

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