Léim chuig an ábhar

Seedream · Lite · Edit

Comhtháthú

Aitheantas na samhla 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"

An t-iarratas seo: $0.035 35 gcreidmheas API Rith ar an leathanach seo

Faigh eochair API
ByteDance Eagarthóireacht Íomhá Aschur 4KTapa #bytedance#seedream-5.0-lite#edit

Eagarthóireacht íomhánna Seedream 5 Lite ó suas le 10 n-íomhá ionchuir, le méideanna aschuir suas le leibhéil 4K

Déanta ar Doitong

Saothair phoiblí déanta leis an Seedream 5.0 ag pobal Doitong. Athúsáid leid le clic amháin.

Saothair phoiblí ar taispeáint: 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-стиль,...

Tóg iarratas

Gintear na rialtáin ó scéim na samhla. Nuashonraítear an cód agus an praghas de réir mar a athraíonn tú iad.

•riachtanach

Treoracha téacs chun an íomhá a chur in eagar.

•riachtanach image_urls
Scaoil comhad, nó

URLanna íomhánna eagarthóireachta, próiseáilte ó na 10 n-iontráil dheireanacha má sheoltar liosta níos faide; is é 10 n-íomhá an teorainn ionchuir reatha.

réamhshocrú auto_2K

Méid na híomhá ginte, scálaithe go huathoibríoch nuair is gá chun an comhaireamh iomlán picteilíní a choinneáil ar a laghad 2560×1440 agus ar a mhéad 4096×4096.

num_images réamhshocrú 1

Líon ritheanna neamhspleácha giniúna na samhla leis an leid.

réamhshocrú 1

Socraigh uasteorainn íomhánna in aghaidh na giniúna le `max_images`; cumasaíonn luachanna os cionn a haon giniúint ilíomhánna. Trasna `num_images` giniúint, féadfaidh gach ceann suas le `max_images` íomhá a thabhairt ar ais, rud a thugann comhaireamh aschuir ó `num_images` go `max_images*num_images`.

Ardleibhéal enable_safety_checker
POST /run/bytedance/seedream/v5/lite/edit?wait=20 luachan → $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"

Rith an t-iarratas seo

Fanann d'eochair sa bhrabhsálaí seo: seoltar chuig Doitong API amháin í agus sábháiltear (localStorage) í ach amháin má chuireann tú tic le Meabhraigh. Faigh eochair API

Maidir le Seedream · Lite · Edit

Cuireann sé íomhánna in eagar nó comhcheanglaíonn sé iad de réir leid téacs. Glacann `image_urls` le suas le 10 n-ionchur; caitear amach íomhánna breise thar 10, agus coinnítear na deich gcinn dheireanacha. Cuireann `image_size` réamhshocruithe ar fáil chomh maith le auto_2K, auto_3K agus auto_4K. Reáchtálann `num_images` 1 go 6 ghiniúint, agus ceadaíonn `max_images` roinnt íomhánna in aghaidh na giniúna.

Paraiméadair

Seol an t-ainm canónach nó an t-ainm dúchasach, ní an dá cheann. Ainmneacha canónacha

AinmCineál RéamhshocrúCeadaithe Cur síos
promptriachtanach
Cineálstring
Treoracha téacs chun an íomhá a chur in eagar.
image_sizeroghnach
Cineálobject
Réamhshocrúauto_2K
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto_2Kauto_3Kauto_4K
Méid na híomhá ginte, scálaithe go huathoibríoch nuair is gá chun an comhaireamh iomlán picteilíní a choinneáil ar a laghad 2560×1440 agus ar a mhéad 4096×4096.
num_imagesroghnach num_outputs
Cineálinteger
Réamhshocrú1
1 – 6
Líon ritheanna neamhspleácha giniúna na samhla leis an leid.
max_imagesroghnach
Cineálinteger
Réamhshocrú1
1 – 6
Socraigh uasteorainn íomhánna in aghaidh na giniúna le `max_images`; cumasaíonn luachanna os cionn a haon giniúint ilíomhánna. Trasna `num_images` giniúint, féadfaidh gach ceann suas le `max_images` íomhá a thabhairt ar ais, rud a thugann comhaireamh aschuir ó `num_images` go `max_images*num_images`.
enable_safety_checkerroghnach
Cineálboolean
Réamhshocrútrue
Lascthrealamh seiceála sábháilteachta a éilíonn údarú cuntais nuair atá sé múchta. Gan an t-údarú sin, seiceáiltear gach iarratas beag beann ar an socrú; cumasaíonn true an seiceálaí.
image_urlsriachtanach images
Cineálurl[] · image
URLanna íomhánna eagarthóireachta, próiseáilte ó na 10 n-iontráil dheireanacha má sheoltar liosta níos faide; is é 10 n-íomhá an teorainn ionchuir reatha.
riachtanach Ainm canónach, glactar leis freisin

Glacann paraiméadair chomhaid le URL poiblí https://, URI data: suas le 10 MB, nó file_url uaslódála. Comhaid

Aschur

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"
  }
}
Do chuid comhad, do roghaIs cóip ar ár stóráil é gach outputs[].url: coinnithe go deo (íoctha in aghaidh GB-mhí) nó ar feadh 7 lá saor in aisce, de réir shocrú do chuntais nó ?storage=.
An cruth céanna ar gach samhailtype, url, content_type, width, height agus duration, d'íomhánna, d'fhíseáin agus d'fhuaim araon. Is é output réad toraidh na samhla féin.
Réimsí aschuir
images
array of object {url, content_type, file_name, file_size, width, height}Íomhánna a tháirgeann an tsamhail.
seed
integerSíl a cuireadh i bhfeidhm le linn na giniúna.

Tuilleadh samhlacha: Eagarthóireacht Íomhá

Do ghníomhairí AI: tá an leathanach seo mar Markdown ag https://doitong.com/ga/developers/models/bytedance/seedream/v5/lite/edit.md. Gach samhail agus treoir: https://doitong.com/developers/llms.txt