ਸਮੱਗਰੀ ਵੱਲ ਜਾਓ

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
ਫ਼ਾਈਲ ਛੱਡੋ, ਜਾਂ

ਹਵਾਲਾ ਚਿੱਤਰਾਂ ਦੇ URLs; ਜਦੋਂ ਭੇਜੀ ਸੂਚੀ 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
ਹਵਾਲਾ ਚਿੱਤਰਾਂ ਦੇ URLs; ਜਦੋਂ ਭੇਜੀ ਸੂਚੀ 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/pa/developers/models/bytedance/seedream/v5/pro/edit.md. ਸਾਰੇ ਮਾਡਲ ਅਤੇ ਗਾਈਡ: https://doitong.com/developers/llms.txt