Léim chuig an ábhar

Seedream · Lite · Text to Image

Comhtháthú

Aitheantas na samhla bytedance/seedream/v5/lite/text-to-image
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/bytedance/seedream/v5/lite/text-to-image?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"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

An t-iarratas seo: $0.035 35 gcreidmheas API · ≈ ₽3.76 Rith ar an leathanach seo

Faigh eochair API
ByteDance Téacs go hÍomhá Aschur 4KTapa #text-to-image#bytedance#seedream-5.0-lite

Seedream 5 Lite téacs-go-íomhá le leibhéil méide 2K go 4K agus giniúint ilíomhánna

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: Hyperrealism. Девушка лежит на шезлонге у бассейна, держа в руке бокал с ярким коктейл...

Art style: Hyperrealism. Девушка лежит на шезлонге у бассейна, держа в руке бокал с ярким коктейлем. Напиток украшен долькой апельсина и мятой. Капли конденсата на стекле. Стиль: гиперреализм, фокус на деталях. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the...

Art style: 3D Pixar. Крупный план мордочки Натсика, лежащего на подушке из пуха. Один яркий золот...

Art style: 3D Pixar. Крупный план мордочки Натсика, лежащего на подушке из пуха. Один яркий золотистый луч света пробивается сквозь щель в потолке и падает прямо на его закрытые веки. Мех вокруг носа слегка шевелится от дыхания. Фон представляет собой размытые детали уютной норы. Освещение...

Art style: Vibrant 3D animation, K-pop aesthetic, cinematic lighting. Mia is being comforted by h...

Art style: Vibrant 3D animation, K-pop aesthetic, cinematic lighting. Mia is being comforted by her parents, an older version of Leo and a woman who looks like an older Mia. They are in their humble cottage. Leo is wearing tattered clothes. They look concerned and loving. The fireplace provides a...

Art style: Кинематографичный, реалистичная фотография, шпи.... Роскошная галерея современного иск...

Art style: Кинематографичный, реалистичная фотография, шпи.... Роскошная галерея современного искусства на верхнем этаже небоскреба. Хук Кратовец в безупречном смокинге стоит перед абстрактной голографической скульптурой, держит бокал с коктейлем. Мягкое неоновое освещение, панорамные окна....

Art style: 3D Pixar. Весенний сад на заднем дворе загородного дома, где видны последние островки ...

Art style: 3D Pixar. Весенний сад на заднем дворе загородного дома, где видны последние островки тающего снега на сочной зеленой траве. В центре внимания — зеленый пластиковый люк септика, вкопанный в землю. Хозяин в рабочей одежде стоит на коленях возле к люка септика Камера расположена под...

Art style: 3D Animation, Cinematic Comedy. Крупный план экрана телевизора. На экране ИДЕАЛЬНО ЧЕТ...

Art style: 3D Animation, Cinematic Comedy. Крупный план экрана телевизора. На экране ИДЕАЛЬНО ЧЕТКО и крупно горит яркий голографический баннер: 2ОО.ООО P. + 2OO ФC промо: STARS. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the authoritative rendering directive — it...

Art style: 3D анимация, комедийный мультфильм. Крупный план робота-пылесоса, который светится агр...

Art style: 3D анимация, комедийный мультфильм. Крупный план робота-пылесоса, который светится агрессивным красным цветом. На его круглом экране ИДЕАЛЬНО ЧЕТКО горит надпись: 2ОО.ООО P. + 2OO ФC промо: STARS. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the authoritative...

Art style: Реалистичная кинематография, приглушенные цвета.... Гриша опускает телефон. В комнате ...

Art style: Реалистичная кинематография, приглушенные цвета.... Гриша опускает телефон. В комнате повисла гнетущая тишина. Он подходит к Вике и Яне и крепко обнимает их. Они сидят втроем на чемодане посреди грязной, чужой квартиры. За окном уже совсем стемнело, и только одна тусклая лампочка...

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 ghiniúint.

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 · return_byteplus_urls
POST /run/bytedance/seedream/v5/lite/text-to-image?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.ru/v1/run/bytedance/seedream/v5/lite/text-to-image?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"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/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 · Text to Image

Gineann sé íomhánna ó leid téacs. Glacann `image_size` le réamhshocruithe amhail square_hd agus landscape_16_9 nó auto_2K, auto_3K agus auto_4K, le picteilíní iomlána idir 2560x1440 agus 4096x4096. Socraíonn `num_images` 1 go 6 ghiniúint agus ligeann `max_images` do gach giniúint roinnt íomhánna a thabhairt ar ais. Filleann `return_byteplus_urls` go roghnach URLanna iontaofa a rachaidh in éag i 24 uair.

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 ghiniúint.
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í.
return_byteplus_urlsroghnach
Cineálboolean
Réamhshocrúfalse
Cumasaigh é seo chun URLanna iontaofa a fháil do seedance-2 le tréimhse bailíochta 24 uair an chloig.
riachtanach Ainm canónach, glactar leis freisin

Aschur

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/seedream/v5/lite/text-to-image",
  "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"
  },
  "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/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: Téacs go hÍomhá

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