Ruka hadi kwenye maudhui

Seedream · Lite · Edit

Unganisha

Kitambulisho cha modeli bytedance/seedream/v5/lite/edit
# 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/bytedance/seedream/v5/lite/edit?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",
    "images": [
      "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"

Ombi hili: $ 0.035 salio za API 35 Iendeshe kwenye ukurasa huu

Pata ufunguo wa API
ByteDance Uhariri wa Picha Pato la 4KHaraka #bytedance#seedream-5.0-lite#edit

Uhariri wa picha wa Seedream 5 Lite kutoka hadi picha 10 za pembejeo, wenye saizi za matokeo hadi viwango vya 4K

Imetengenezwa kwenye Doitong

Kazi za umma zilizotengenezwa kwa Seedream 5.0 na jumuiya ya Doitong. Tumia tena kidokezo kwa kubofya mara moja.

Kazi za umma zilizoonyeshwa: 16
Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerf...

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting, child-friendly cartoon aesthetic. Бенни. Маленький мальчик ~2-3 лет, похож на JJ из Cocomelon но чуть отличается: круглое личико, большие карие глаза, тёмные короткие волосы, румяные...

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerf...

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting, child-friendly cartoon aesthetic. Full-length view, the entire figure visible from head to feet, standing upright and centered, a gentle young mother named Jenny, around thirty years old....

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerf...

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting, child-friendly cartoon aesthetic. Full-length view, the entire figure visible from head to feet, standing upright and centered — Anna, a cheerful big sister about five or six years old....

3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting...

3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting, child-friendly cartoon aesthetic. Детская зубная щетка ярко-синего цвета с мягкой щетиной. Округлая эргономичная ручка, современный дизайн, стиль 3D-анимации Cocomelon. Изолированный объект на...

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerf...

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting, child-friendly cartoon aesthetic. Cozy colorful bedroom, warm golden sunrise from the window. Benny (blue t-shirt, round face) asleep under bear-print sheets, eyes closed. A sunbeam lies...

3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting...

3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting, child-friendly cartoon aesthetic. Интерьер светлой ванной комнаты в стиле 3D-анимации Cocomelon. Белая раковина, зеркало с лампой над ним, кафельные стены. Округлые формы, мягкое освещение,...

3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting...

3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting, child-friendly cartoon aesthetic. Просторная кухня в стиле 3D-анимации Cocomelon с теплым желтым освещением от потолочной лампы. Большой обеденный стол, современные стулья и один высокий детский...

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerf...

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting, child-friendly cartoon aesthetic. Боб. Папа семьи, ~30-35 лет, высокий и добрый, тёмные короткие волосы, широкая улыбка, карие глаза, одет в клетчатую рубашку и брюки. 3D Cocomelon-стиль,...

Unda ombi

Vidhibiti vinazalishwa kutoka kwenye schema ya modeli. Msimbo na bei husasishwa unapovibadilisha.

•inahitajika

Maelekezo ya maandishi ya kuhariri picha.

•inahitajika image_urls
Dondosha faili, au

URL za picha za kuhariri, zinazochakatwa kutoka maingizo 10 ya mwisho ikiwa orodha ndefu itatumwa; kikomo cha sasa cha ingizo ni picha 10.

chaguomsingi auto_2K

Ukubwa wa picha iliyozalishwa, unaopimwa kiotomatiki inapohitajika ili kuweka jumla ya pikseli angalau 2560×1440 na isizidi 4096×4096.

num_images chaguomsingi 1

Idadi ya uendeshaji huru wa uzalishaji wa modeli kwa kutumia kidokezo.

chaguomsingi 1

Weka kikomo cha picha kwa kila uzalishaji kwa `max_images`; thamani zilizo juu ya moja huwezesha uzalishaji wa picha nyingi. Katika uzalishaji wa `num_images`, kila mmoja unaweza kurejesha hadi `max_images` picha, na kutoa jumla ya tokeo kutoka `num_images` hadi `max_images*num_images`.

Ya kina enable_safety_checker
POST /run/bytedance/seedream/v5/lite/edit?wait=20 makadirio → $ 0.035
# 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/bytedance/seedream/v5/lite/edit?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",
    "images": [
      "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"

Endesha ombi hili

Key yako inabaki kwenye kivinjari hiki: inatumwa kwa Doitong API pekee na kuhifadhiwa (localStorage) tu ukiweka tiki kwenye Kumbuka. Pata ufunguo wa API

Kuhusu Seedream · Lite · Edit

Huhariri au kuchanganya picha kulingana na kidokezo cha maandishi. `image_urls` huchukua hadi ingizo 10; picha za ziada zaidi ya 10 huondolewa, zikibakiza kumi za mwisho. `image_size` hutoa mipangilio pamoja na auto_2K, auto_3K na auto_4K. `num_images` huendesha uzalishaji 1 hadi 6, na `max_images` huruhusu picha kadhaa kwa kila uzalishaji.

Vigezo

Tuma jina rasmi au jina asilia, si yote mawili. Majina rasmi

JinaAina ChaguomsingiInaruhusiwa Maelezo
promptinahitajika
Ainastring
Maelekezo ya maandishi ya kuhariri picha.
image_sizesi lazima
Ainaobject
Chaguomsingiauto_2K
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto_2Kauto_3Kauto_4K
Ukubwa wa picha iliyozalishwa, unaopimwa kiotomatiki inapohitajika ili kuweka jumla ya pikseli angalau 2560×1440 na isizidi 4096×4096.
num_imagessi lazima num_outputs
Ainainteger
Chaguomsingi1
1 – 6
Idadi ya uendeshaji huru wa uzalishaji wa modeli kwa kutumia kidokezo.
max_imagessi lazima
Ainainteger
Chaguomsingi1
1 – 6
Weka kikomo cha picha kwa kila uzalishaji kwa `max_images`; thamani zilizo juu ya moja huwezesha uzalishaji wa picha nyingi. Katika uzalishaji wa `num_images`, kila mmoja unaweza kurejesha hadi `max_images` picha, na kutoa jumla ya tokeo kutoka `num_images` hadi `max_images*num_images`.
enable_safety_checkersi lazima
Ainaboolean
Chaguomsingitrue
Swichi ya ukaguzi wa usalama ambayo hali yake ya kuzimwa inahitaji uidhinishaji wa akaunti. Bila uidhinishaji huo, kila ombi hukaguliwa bila kujali mpangilio; true huwezesha kikagua.
image_urlsinahitajika images
Ainaurl[] · image
URL za picha za kuhariri, zinazochakatwa kutoka maingizo 10 ya mwisho ikiwa orodha ndefu itatumwa; kikomo cha sasa cha ingizo ni picha 10.
inahitajika Jina rasmi, pia linakubalika

Vigezo vya faili vinakubali URL ya umma ya https://, data: URI ya hadi 10 MB, au file_url ya upakiaji. Faili

Tokeo

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/seedream/v5/lite/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": 35,
    "usd": "0.035",
    "charged": 35,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  },
  "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
      }
    ],
    "seed": 42
  },
  "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://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Faili zako, chaguo lakoKila outputs[].url ni nakala kwenye hifadhi yetu: huhifadhiwa milele (hutozwa kwa GB kwa mwezi) au 7 siku bila malipo, kulingana na mpangilio wa akaunti yako au ?storage=.
Muundo uleule kwenye kila modelitype, url, content_type, width, height na duration, kwa picha, video na sauti. output ni kitu cha matokeo cha modeli yenyewe.
Sehemu za tokeo
images
array of object {url, content_type, file_name, file_size, width, height}Picha zilizozalishwa na modeli.
seed
integerSeed iliyotumika wakati wa uzalishaji.

Miundo zaidi: Uhariri wa Picha

Kwa mawakala wa AI: ukurasa huu katika Markdown unapatikana kwenye https://doitong.com/sw/developers/models/bytedance/seedream/v5/lite/edit.md. Modeli na miongozo yote: https://doitong.com/developers/llms.txt