Siirry sisältöön

Seedream · Lite · Text to Image

Integroi

Mallin tunniste 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"

Tämä pyyntö: 0,035 $ 35 API-krediittiä Suorita tällä sivulla

Hanki API-avain
ByteDance Tekstistä kuvaksi 4K-tulosteNopea #text-to-image#bytedance#seedream-5.0-lite

Seedream 5 Lite tekstistä kuvaksi 2K–4K-kokoluokilla ja usean kuvan generoinnilla

Tehty Doitongilla

Doitong-yhteisön Seedream 5.0-mallilla tekemät julkiset työt. Käytä kehotetta uudelleen yhdellä napsautuksella.

Näytetyt julkiset työt: 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-стиль,...

Muodosta pyyntö

Säätimet luodaan mallin skeemasta. Koodi ja hinta päivittyvät, kun muutat arvoja.

•pakollinen

Kuvan generointiin tarkoitetut tekstiohjeet.

oletus auto_2K

Generoidun kuvan koko, jota skaalataan tarvittaessa automaattisesti, jotta pikselimäärä pysyy vähintään arvossa 2560×1440 ja enintään arvossa 4096×4096.

num_images oletus 1

Kehotetta käyttävien erillisten mallin generointikertojen määrä.

oletus 1

Aseta generointikohtainen kuvakatto `max_images`-arvolla; ykköstä suuremmat arvot ottavat käyttöön monikuvageneroinnin. `num_images`-generoinnin aikana kukin voi palauttaa enintään `max_images` kuvaa, jolloin tulosteiden kokonaismäärä on välillä `num_images`–`max_images*num_images`.

Lisäasetukset enable_safety_checker · return_byteplus_urls
POST /run/bytedance/seedream/v5/lite/text-to-image?wait=20 hinta → 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"

Suorita tämä pyyntö

Avaimesi säilyy tässä selaimessa: se lähetetään vain Doitong APIlle ja tallennetaan localStorageen vain, jos valitset Muista. Hanki API-avain

Tietoja: Seedream · Lite · Text to Image

Luo kuvia tekstikehotteesta. `image_size` hyväksyy esiasetuksia, kuten square_hd ja landscape_16_9, tai auto_2K-, auto_3K- ja auto_4K-arvot, kokonaispikselimäärällä 2560x1440–4096x4096. `num_images` asettaa 1–6 generointia, ja `max_images` sallii jokaisen generoinnin palauttaa useita kuvia. `return_byteplus_urls` palauttaa valinnaisesti luotetut URL-osoitteet, jotka vanhenevat 24 tunnissa.

Parametrit

Lähetä joko kanoninen nimi tai natiivi nimi, älä molempia. Kanoniset nimet

NimiTyyppi OletusSallitut Kuvaus
promptpakollinen
Tyyppistring
Kuvan generointiin tarkoitetut tekstiohjeet.
image_sizevalinnainen
Tyyppiobject
Oletusauto_2K
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto_2Kauto_3Kauto_4K
Generoidun kuvan koko, jota skaalataan tarvittaessa automaattisesti, jotta pikselimäärä pysyy vähintään arvossa 2560×1440 ja enintään arvossa 4096×4096.
num_imagesvalinnainen num_outputs
Tyyppiinteger
Oletus1
1 – 6
Kehotetta käyttävien erillisten mallin generointikertojen määrä.
max_imagesvalinnainen
Tyyppiinteger
Oletus1
1 – 6
Aseta generointikohtainen kuvakatto `max_images`-arvolla; ykköstä suuremmat arvot ottavat käyttöön monikuvageneroinnin. `num_images`-generoinnin aikana kukin voi palauttaa enintään `max_images` kuvaa, jolloin tulosteiden kokonaismäärä on välillä `num_images`–`max_images*num_images`.
enable_safety_checkervalinnainen
Tyyppiboolean
Oletustrue
Turvatarkistuksen kytkin, jonka poiskytketty asetus edellyttää tilin valtuutusta. Ilman tätä valtuutusta jokainen pyyntö tarkistetaan asetuksesta riippumatta; true ottaa tarkistuksen käyttöön.
return_byteplus_urlsvalinnainen
Tyyppiboolean
Oletusfalse
Ota käyttöön, jos haluat vastaanottaa luotettavia seedance-2-URL-osoitteita, jotka ovat voimassa 24 tuntia.
pakollinen Kanoninen nimi, myös hyväksytty

Tulos

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"
  }
}
Tiedostosi, valintasiJokainen outputs[].url on kopio tallennustilassamme: säilytetään ikuisesti (maksetaan gigatavu-kuukauden mukaan) tai 7 päivää ilmaiseksi tiliasetuksesi tai ?storage= perusteella.
Sama rakenne kaikissa malleissatype, url, content_type, width, height ja duration kuville, videolle ja äänelle. output on mallin oma tulosobjekti.
Tuloksen kentät
images
array of object {url, content_type, file_name, file_size, width, height}Mallin tuottamat kuvat.
seed
integerGeneroinnissa käytetty siemen.

Lisää malleja: Tekstistä kuvaksi

Tekoälyagenteille: tämän sivun Markdown-muoto on osoitteessa https://doitong.com/fi/developers/models/bytedance/seedream/v5/lite/text-to-image.md. Kaikki mallit ja oppaat: https://doitong.com/developers/llms.txt