सामग्री पर जाएँ

Seedream 5.0 Pro Edit

इंटीग्रेट करें

मॉडल id bytedance/seedream/v5/pro/edit
# 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/bytedance/seedream/v5/pro/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Place the sneaker from image 1 on the desk of the office from image 2, natural lighting",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_sneaker_ad.jpg",
      "https://content.doitong.com/images/gp/image_20260610003801_541d9719_316882.png"
    ]
  }'

# 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"

उदाहरण जैसी फ़ाइलें: $0.14 140 API क्रेडिट चलाने से पहले आपकी फ़ाइलों को मापा जाता है इसे इस पेज पर चलाएँ

API कुंजी प्राप्त करें
ByteDance इमेज एडिटिंग #editing#multi-reference#2k

Seedream 5.0 Pro के साथ बहु-छवि संपादन, जिसमें अधिकतम दस संदर्भों को एक 2K चित्र में संयोजित किया जाता है।

ByteDance · इमेज

आपका पहला परिणाम यहाँ आएगा

नीचे एक अनुरोध बनाएँ और उसे अपनी API कुंजी से चलाएँ। आउटपुट हमारे स्टोरेज में कॉपी किए जाते हैं और हमेशा के लिए या 7 दिन तक मुफ़्त में रखे जाते हैं।

अनुरोध बनाएँ

कंट्रोल मॉडल स्कीमा से जनरेट होते हैं। इन्हें बदलने पर कोड और कीमत अपडेट होती है।

•आवश्यक

इमेज संपादित करने के लिए पाठ निर्देश।

•आवश्यक image_urls
फ़ाइल ड्रॉप करें, या

संदर्भ इमेज के URL; भेजी गई सूची में समर्थित अधिकतम 10 इमेज से अधिक होने पर केवल अंतिम 10 प्रविष्टियां संसाधित की जाती हैं।

image_size डिफ़ॉल्ट auto_2K

आउटपुट इमेज के आयाम, जिनमें कुल पिक्सेल संख्या 1024x1024–2048x2048 के भीतर और पहलू अनुपात 1/16–16 के भीतर होना आवश्यक है।

num_images डिफ़ॉल्ट 1

प्रॉम्प्ट का उपयोग करके स्वतंत्र मॉडल निर्माण रन की संख्या।

उन्नत output_format · enhance_prompt_mode
output_format डिफ़ॉल्ट jpeg

आउटपुट इमेज का फ़ाइल प्रारूप।

enhance_prompt_mode डिफ़ॉल्ट standard

प्रॉम्प्ट अनुकूलन सेटिंग: इमेज गुणवत्ता को प्राथमिकता देने के लिए `standard` या कम निर्माण समय के लिए `fast` चुनें।

POST /run/bytedance/seedream/v5/pro/edit?wait=20 कोटेशन → $0.14
# 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/bytedance/seedream/v5/pro/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Place the sneaker from image 1 on the desk of the office from image 2, natural lighting",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_sneaker_ad.jpg",
      "https://content.doitong.com/images/gp/image_20260610003801_541d9719_316882.png"
    ]
  }'

# 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 कुंजी प्राप्त करें

Seedream 5.0 Pro Edit के बारे में

Seedream 5.0 Pro को अधिकतम दस संदर्भ छवियां (उत्पाद, लोगो, लोग, स्थान) दें और बताएं कि उन्हें कैसे संयोजित या बदलना है; यह सामग्री और अक्षरांकन को मूल के अनुरूप रखता है। प्रति अनुरोध 1 से 4 मेगापिक्सेल और अधिकतम छह छवियां आउटपुट में मिलती हैं।

पैरामीटर

कैनोनिकल नाम या नेटिव नाम में से कोई एक भेजें, दोनों नहीं। कैनोनिकल नाम

नामप्रकार डिफ़ॉल्टअनुमत विवरण
promptआवश्यक
प्रकारstring
इमेज संपादित करने के लिए पाठ निर्देश।
image_sizeवैकल्पिक
प्रकारobject
डिफ़ॉल्टauto_2K
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto_1Kauto_2K
आउटपुट इमेज के आयाम, जिनमें कुल पिक्सेल संख्या 1024x1024–2048x2048 के भीतर और पहलू अनुपात 1/16–16 के भीतर होना आवश्यक है।
num_imagesवैकल्पिक num_outputs
प्रकारinteger
डिफ़ॉल्ट1
1 – 6
प्रॉम्प्ट का उपयोग करके स्वतंत्र मॉडल निर्माण रन की संख्या।
output_formatवैकल्पिक
प्रकारenum
डिफ़ॉल्टjpeg
jpegpng
आउटपुट इमेज का फ़ाइल प्रारूप।
enhance_prompt_modeवैकल्पिक
प्रकारenum
डिफ़ॉल्टstandard
standardfast
प्रॉम्प्ट अनुकूलन सेटिंग: इमेज गुणवत्ता को प्राथमिकता देने के लिए `standard` या कम निर्माण समय के लिए `fast` चुनें।
image_urlsआवश्यक images
प्रकारurl[] · image
संदर्भ इमेज के URL; भेजी गई सूची में समर्थित अधिकतम 10 इमेज से अधिक होने पर केवल अंतिम 10 प्रविष्टियां संसाधित की जाती हैं।
आवश्यक कैनोनिकल नाम, यह भी स्वीकार्य है

फ़ाइल पैरामीटर में सार्वजनिक https:// URL, 10 MB तक का data: URI, या अपलोड का file_url लिया जाता है। फ़ाइलें

आउटपुट

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/seedream/v5/pro/edit",
  "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": 140,
    "usd": "0.14",
    "charged": 140,
    "refunded": 0
  },
  "input": {
    "prompt": "Place the sneaker from image 1 on the desk of the office from image 2, natural lighting",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_sneaker_ad.jpg",
      "https://content.doitong.com/images/gp/image_20260610003801_541d9719_316882.png"
    ]
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200,
        "width": 1024,
        "height": 768
      }
    ]
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "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 मॉडल का अपना परिणाम ऑब्जेक्ट है।
आउटपुट के फ़ील्ड
images
array of object {url, content_type, file_name, file_size, width, height}निर्माण से तैयार की गई इमेज।

और मॉडल: इमेज एडिटिंग

AI एजेंट के लिए: इस पेज का Markdown यहाँ है https://doitong.com/hi/developers/models/bytedance/seedream/v5/pro/edit.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt