مواد پر جائیں

Veo3.1 First Last Frame to Video

انٹیگریٹ کریں

ماڈل id veo3.1/first-last-frame-to-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/veo3.1/first-last-frame-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",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "end_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://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

یہ درخواست: ⁨$3.20⁩ 3,200 API کریڈٹس اس صفحے پر چلائیں

API کلید حاصل کریں
Google تصویر سے ویڈیو مقامی آڈیو4K آؤٹ پٹ4–8 s4k تک

Veo 3.1 کا کلپ جو فراہم کردہ پہلے اور آخری فریم کے درمیان منتقلی کرتا ہے، اختیاری آڈیو کے ساتھ

Google · ویڈیو

آپ کا پہلا نتیجہ یہاں آئے گا

ذیل میں درخواست بنائیں اور اپنی API کلید کے ساتھ چلائیں۔ آؤٹ پٹس ہمارے اسٹوریج میں کاپی ہو جاتے ہیں، ہمیشہ کے لیے یا مفت میں 7 دن تک محفوظ رہتے ہیں۔

درخواست بنائیں

کنٹرولز ماڈل اسکیما سے تیار ہوتے ہیں۔ آپ کے بدلنے کے ساتھ کوڈ اور قیمت اپ ڈیٹ ہوتے ہیں۔

•لازمی 88 / 20000

تخلیق کے لیے مطلوبہ ویڈیو کی متنی وضاحت۔

duration 8 s

آؤٹ پٹ ویڈیو کی لمبائی۔

aspect_ratio ڈیفالٹ auto

آؤٹ پٹ ویڈیو کا aspect ratio۔

resolution ڈیفالٹ 720p

آؤٹ پٹ ویڈیو کے لیے استعمال ہونے والا ریزولوشن۔

•لازمی first_frame_url

ویڈیو کے opening فریم کی طرف اشارہ کرنے والا URL۔

•لازمی last_frame_url

ویڈیو کے final فریم کی طرف اشارہ کرنے والا URL۔

ایڈوانسڈ negative_prompt · safety_tolerance · seed · auto_fix

ویڈیو تخلیق کی سمت متعین کرنے کے لیے استعمال ہونے والا negative پرامپٹ۔

safety_tolerance ڈیفالٹ 4

content-moderation tolerance کو کم ترین پابندی والی سطح 6 اور سخت ترین سطح 1 کے درمیان مقرر کریں؛ 1 زیادہ تر مواد کو روکتی ہے۔

سیڈ کی قدر جو بے ترتیب اعداد کی تخلیق شروع کرتی ہے۔

POST /run/veo3.1/first-last-frame-to-video?wait=20 قیمت → ⁨$3.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/veo3.1/first-last-frame-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",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "end_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://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

یہ درخواست چلائیں

آپ کی key اسی براؤزر میں رہتی ہے: یہ صرف Doitong API کو بھیجی جاتی ہے اور صرف اس صورت میں localStorage میں محفوظ ہوتی ہے جب آپ Remember منتخب کریں۔ API کلید حاصل کریں

Veo3.1 First Last Frame to Video کے بارے میں

`first_frame_url` کو `last_frame_url` سے ملانے والی ویڈیو بناتا ہے، جسے زیادہ سے زیادہ 20000 حروف کے `prompt` سے رہنمائی ملتی ہے۔ 4s، 6s یا 8s دورانیہ، 720p، 1080p یا 4k ریزولوشن، اور auto، 16:9 یا 9:16 نسبتِ ابعاد منتخب کریں۔ یہ آڈیو تخلیق کر سکتا ہے، `negative_prompt` اور `seed` قبول کرتا ہے، اور معیاری، غیر تیز ورژن ہے۔

پیرامیٹرز

معیاری نام یا مقامی نام میں سے صرف ایک بھیجیں، دونوں نہیں۔ معیاری نام

نامقسم ڈیفالٹمجاز تفصیل
promptلازمی
قسمstring
≤ 20,000 کریکٹرز
تخلیق کے لیے مطلوبہ ویڈیو کی متنی وضاحت۔
aspect_ratioاختیاری
قسمenum
ڈیفالٹauto
auto16:99:16
آؤٹ پٹ ویڈیو کا aspect ratio۔
durationاختیاری
قسمenum
ڈیفالٹ8s
4s6s8s
آؤٹ پٹ ویڈیو کی لمبائی۔
negative_promptاختیاری
قسمstring | null
ویڈیو تخلیق کی سمت متعین کرنے کے لیے استعمال ہونے والا negative پرامپٹ۔
resolutionاختیاری
قسمenum
ڈیفالٹ720p
720p1080p4k
آؤٹ پٹ ویڈیو کے لیے استعمال ہونے والا ریزولوشن۔
generate_audioاختیاری
قسمboolean
ڈیفالٹtrue
کنٹرول کرتا ہے کہ ویڈیو میں تیار کردہ آڈیو شامل ہو یا نہیں۔
seedاختیاری
قسمinteger | null
سیڈ کی قدر جو بے ترتیب اعداد کی تخلیق شروع کرتی ہے۔
auto_fixاختیاری
قسمboolean
ڈیفالٹfalse
Content-policy checks یا دیگر validation کی ناکامیوں کو حل کرنے کی کوشش کے لیے پرامپٹس کی خودکار rewriting۔
safety_toleranceاختیاری
قسمenum
ڈیفالٹ4
123456
content-moderation tolerance کو کم ترین پابندی والی سطح 6 اور سخت ترین سطح 1 کے درمیان مقرر کریں؛ 1 زیادہ تر مواد کو روکتی ہے۔
first_frame_urlلازمی image
قسمstring
ویڈیو کے opening فریم کی طرف اشارہ کرنے والا URL۔
last_frame_urlلازمی end_image
قسمstring
ویڈیو کے final فریم کی طرف اشارہ کرنے والا URL۔
لازمی معیاری نام، یہ بھی قبول ہے

آؤٹ پٹ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "veo3.1/first-last-frame-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": 3200,
    "usd": "3.20",
    "charged": 3200,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "first_frame_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "last_frame_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
    }
  },
  "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-ماہ ادائیگی) یا مفت میں 7 دن تک، آپ کی اکاؤنٹ سیٹنگ یا ?storage= کے مطابق۔
ہر ماڈل میں ایک جیسی ساختtype، url، content_type، width، height اور duration، تصاویر، ویڈیو اور آڈیو سب کے لیے یکساں۔ output ماڈل کا اپنا نتیجہ آبجیکٹ ہے۔
آؤٹ پٹ کے فیلڈز
video
object {url, content_type, file_name, file_size}ماڈل کی تیار کردہ ویڈیو۔

مزید ماڈلز: تصویر سے ویڈیو

AI ایجنٹس کے لیے: یہ صفحہ Markdown میں یہاں موجود ہے https://doitong.com/ur/developers/models/veo3.1/first-last-frame-to-video.md. تمام ماڈلز اور گائیڈز: https://doitong.com/developers/llms.txt