Njuolgga sisdollui

Seedream · Lite · Text to Image

Integrere

Modealla-id 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.com/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Dát ohcamuš: 0,035 $ 35 API-kreditta Vuodje dán siiddu alde

Oza API-čoavdaga
ByteDance Teakstas gova 4K-bohtosJođán #text-to-image#bytedance#seedream-5.0-lite

Seedream 5 Lite teaksta-govva-genereren 2K rájes 4K-sturrodagaide ja máŋggagovva-genereremiin

Ráhkaduvvon Doitongis

Doitong-bargosearvvi almmolaš barggut, ráhkaduvvon Seedream 5.0 bokte. Geavat fas jearaldaga ovtta deaddilemiin.

Almmolaš barggut čájehuvvojit: 16
Создайте 20-секундный анимационный ролик в ярком, мультяшном стиле для Instagram. Сюжет: человек ...

Создайте 20-секундный анимационный ролик в ярком, мультяшном стиле для Instagram. Сюжет: человек с вдохновением собирается начать что-то новое (например, рисовать на холсте). Внезапно появляется его Мозг в виде забавного персонажа, который начинает активно мешать: показывает смешные картинки...

Art style: Cinematic Realistic. A hand gently reaching out to a wooden bookshelf filled with beau...

Art style: Cinematic Realistic. A hand gently reaching out to a wooden bookshelf filled with beautifully bound books. The fingers softly touch the spines. Warm, golden hour lighting. No faces. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the authoritative rendering...

Art style: Studio Ghibli animation style, lush forest and waterfall setting, warm sunlight filter...

Art style: Studio Ghibli animation style, lush forest and waterfall setting, warm sunlight filtering through trees, cozy wooden treehouse, high detail, 4K.. Studio Ghibli animation style. Close-up of Elara's hands carefully picking one of the glowing mushrooms and placing it into a small woven...

Art style: Cinematic Realistic. Maya standing in the near foreground; Eleanora standing further b...

Art style: Cinematic Realistic. Maya standing in the near foreground; Eleanora standing further back in the frame. Three feet of terracotta floor between them. Maya is standing on terracotta floor in the near foreground in the midground. Torso in three-quarter turn to screen-right. Head in...

A still from a 3D animated feature film, vertical 9:16, stylised appealing characters with expres...

A still from a 3D animated feature film, vertical 9:16, stylised appealing characters with expressive eyes, soft warm cinematic lighting, richly detailed setting, no text, no captions. Nepal, 1993. The main character is a 3-year-old girl, seen in an ordinary modest village setting. Scene: A cake...

A still from a 3D animated feature film, vertical 9:16, stylised appealing characters with expres...

A still from a 3D animated feature film, vertical 9:16, stylised appealing characters with expressive eyes, soft warm cinematic lighting, richly detailed setting, no text, no captions. Mumbai, India, 1996. The main character is a 8-year-old girl, seen in an ordinary poor city setting. Scene: You...

A still from a 3D animated feature film, vertical 9:16, stylised appealing characters with expres...

A still from a 3D animated feature film, vertical 9:16, stylised appealing characters with expressive eyes, soft warm cinematic lighting, richly detailed setting, no text, no captions. Bamenda, Cameroon, 1973. The main character is a 5-year-old boy, seen in an ordinary poor city setting. Scene:...

A cinematic film still, vertical 9:16, natural light, documentary realism, no text, no captions. ...

A cinematic film still, vertical 9:16, natural light, documentary realism, no text, no captions. Bengaluru, India, 1967. The main character is a 3-year-old boy, seen in an ordinary modest city setting. Scene: A cake with candles. You blow so hard that wax lands on the icing, and everyone claps...

Ráhkat jearaldaga

Kontrollat ráhkaduvvojit modealla skeama vuođul. Koda ja haddi ođasmahttojuvvojit go rievddadat daid.

•gáibiduvvo

Teakstainstrukšuvnnat govvva ráhkadeapmái.

standárda auto_2K

Ráhkaduvvon govvva sturrodat, automáhtalaččat skálerejuvvon sihke dán ala go oktiibuot pixel-lohku lea unnimusat 2560×1440 ja eanemusat 4096×4096.

num_images standárda 1

Iešguđet modealla-ráhkadanjohttoid lohku bivddain.

standárda 1

Bidje juohke ráhkadeami govvva-máksimala `max_images`:in; árvvut bajábealde ovtta álggahit máŋggagovvva-ráhkadeami. `num_images` ráhkadeamis sáhttá juohkehaš máhcat gitta `max_images` govvva, oktiibuot `num_images` gitta `max_images*num_images`.

Viiddiduvvon enable_safety_checker · return_byteplus_urls
POST /run/bytedance/seedream/v5/lite/text-to-image?wait=20 haddemearrádus → 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/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Geavat dán ohcamuša

Du key báhcá dán fierpmádatlogan: dat sáddejuvvo dušše Doitong API:ii ja vurkejuvvo (localStorage) dušše jos válljet Remember. Viečča API-keya

Dát lea Seedream · Lite · Text to Image birra

Luo govaid teakstabeavttáža vuođul. `image_size` dohkkeha ovdanmeroštumiid nugo square_hd ja landscape_16_9 dahje auto_2K, auto_3K ja auto_4K, oppalaš pikselmeariin 2560x1440 ja 4096x4096 gaskkas. `num_images` bidjá 1 rájes 6:i genererema, ja `max_images` diktá juohke genereremii máŋga gova. `return_byteplus_urls` sáhttá molssaeavttolaččat máhcahit luohtehahtti URL:aid, mat boarásmuvvet 24 diimmu geahčen.

Parametterat

Sádde kanonala nama dahje iežas nama, ii goappašiid. Kanonala namat

NammaŠládja StandárdaDohkkehuvvon Govvádus
promptgáibiduvvo
Šládjastring
Teakstainstrukšuvnnat govvva ráhkadeapmái.
image_sizeeaktodáhtolaš
Šládjaobject
Standárdaauto_2K
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto_2Kauto_3Kauto_4K
Ráhkaduvvon govvva sturrodat, automáhtalaččat skálerejuvvon sihke dán ala go oktiibuot pixel-lohku lea unnimusat 2560×1440 ja eanemusat 4096×4096.
num_imageseaktodáhtolaš num_outputs
Šládjainteger
Standárda1
1 – 6
Iešguđet modealla-ráhkadanjohttoid lohku bivddain.
max_imageseaktodáhtolaš
Šládjainteger
Standárda1
1 – 6
Bidje juohke ráhkadeami govvva-máksimala `max_images`:in; árvvut bajábealde ovtta álggahit máŋggagovvva-ráhkadeami. `num_images` ráhkadeamis sáhttá juohkehaš máhcat gitta `max_images` govvva, oktiibuot `num_images` gitta `max_images*num_images`.
enable_safety_checkereaktodáhtolaš
Šládjaboolean
Standárdatrue
Sihkarvuođakontrolla heivehus, man off-heivehus gáibida kontu autoriseren. Autoriserema haga dárkkistuvvo juohke jearaldat heivehusas beroškeahttá; true aktiveret dárkkisteaddji.
return_byteplus_urlseaktodáhtolaš
Šládjaboolean
Standárdafalse
Vállje dát oažžut luohtehahtti URL:aid seedance-2 várás, gustoáiggiin 24 diimmu.
gáibiduvvo Kanonala namma, maid sáhttá geavahit

Boađus

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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Du fiillat, du válljenJuohke outputs[].url lea kopia min vurkemis: bisuhuvvo álo (mákso GB-mánu mielde) dahje 7 beaivvi nuvttá, du konto­o heiveheami dahje ?storage= mielde.
Seammá hápmi juohke modeallastype, url, content_type, width, height ja duration, govvii, videoii ja jienai seammá ládje. output lea modealla iežas boađusobjekta.
Outputa giettit
images
array of object {url, content_type, file_name, file_size, width, height}Govvvaid maid modealla ráhkadii.
seed
integerRáhkadeamis geavahuvvon seed.

Eanet modeallat: Teakstas gova

AI-agenttaide: dán siidu Markdowna lea dáppe https://doitong.com/se/developers/models/bytedance/seedream/v5/lite/text-to-image.md. Buot modeallat ja ráđit: https://doitong.com/developers/llms.txt