Léim chuig an ábhar

Seedream · Flash · Edit

Comhtháthú

Aitheantas na samhla bytedance/seedream/v5/flash/edit
# 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/flash/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

An t-iarratas seo: $0.027 27 gcreidmheas API · ≈ ₽2.90 Rith ar an leathanach seo

Faigh eochair API
ByteDance Eagarthóireacht Íomhá Tapa #realism#typography#stylized

Eagarthóireacht íomhánna Seedream 5 Flash ó leid agus suas le 10 n-íomhá thagartha

Déanta ar Doitong

Saothair phoiblí déanta leis an Seedream 5 Flash 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 chur in eagar.

•riachtanach image_urls
Scaoil comhad, nó

URLanna íomhánna tagartha, agus an phróiseáil teoranta do na 10 n-iontráil dheireanacha nuair a sháraíonn an liosta a chuirtear isteach uasmhéid tacaithe 10 n-íomhá.

image_size réamhshocrú auto_2K

Toisí íomhá an aschuir, le comhaireamh iomlán picteilíní idir 1024x1024–2048x2048 agus cóimheas gnéithe idir 1/16–16.

num_images réamhshocrú 1

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

Ardleibhéal output_format · enable_safety_checker
output_format réamhshocrú jpeg

Formáid comhaid don íomhá aschuir.

POST /run/bytedance/seedream/v5/flash/edit?wait=20 luachan → $0.027
# 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/flash/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.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 · Flash · Edit

Cuireann sé íomhánna in eagar nó athchumascann sé iad bunaithe ar leid téacs agus `image_urls`; má sheoltar níos mó ná 10, ní úsáidtear ach na 10 gcinn dheireanacha. Glacann `image_size` le réamhshocruithe nó auto_1K agus auto_2K, le picteilíní iomlána idir 1024x1024 agus 2048x2048. Cruthaíonn `num_images` 1 go 6 thoradh, agus is jpeg nó png an t-aschur.

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_1Kauto_2K
Toisí íomhá an aschuir, le comhaireamh iomlán picteilíní idir 1024x1024–2048x2048 agus cóimheas gnéithe idir 1/16–16.
num_imagesroghnach num_outputs
Cineálinteger
Réamhshocrú1
1 – 6
Líon ritheanna neamhspleácha giniúna na samhla leis an leid.
output_formatroghnach
Cineálenum
Réamhshocrújpeg
jpegpng
Formáid comhaid don íomhá aschuir.
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 tagartha, agus an phróiseáil teoranta do na 10 n-iontráil dheireanacha nuair a sháraíonn an liosta a chuirtear isteach uasmhéid tacaithe 10 n-íomhá.
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/flash/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": 27,
    "usd": "0.027",
    "charged": 27,
    "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
      }
    ]
  },
  "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áirgtear leis an nginiúint.

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/flash/edit.md. Gach samhail agus treoir: https://doitong.com/developers/llms.txt