Preskoči na vsebino

Seedream · Lite · Text to Image

Integracija

ID modela 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"

Ta zahteva: 0,035 $ 35 API kreditov Zaženi na tej strani

Pridobi ključ API
ByteDance Besedilo v sliko Izhod 4KHitro #text-to-image#bytedance#seedream-5.0-lite

Seedream 5 Lite za pretvorbo besedila v sliko z velikostmi od 2K do 4K in večslikovnim ustvarjanjem

Ustvarjeno v Doitong

Javna dela, ki jih je skupnost Doitong ustvarila z Seedream 5.0. Poziv znova uporabite z enim klikom.

Prikazana javna dela: 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...

Ustvari zahtevo

Kontrolniki se ustvarijo iz sheme modela. Koda in cena se posodobita, ko ju spreminjate.

•obvezno

Besedilna navodila za generiranje slike.

privzeto auto_2K

Velikost generirane slike, ki se po potrebi samodejno spremeni, da je skupno število slikovnih pik najmanj 2560×1440 in največ 4096×4096.

num_images privzeto 1

Število neodvisnih generiranj modela z uporabo poziva.

privzeto 1

Z `max_images` nastavite omejitev slik na generiranje; vrednosti nad ena omogočijo generiranje več slik. Pri `num_images` generiranjih lahko vsako vrne do `max_images` slik, zato je skupno število izhodov od `num_images` do `max_images*num_images`.

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

Zaženi to zahtevo

Vaš ključ ostane v tem brskalniku: pošlje se samo v Doitong API in shrani v localStorage samo, če označite možnost Zapomni si. Pridobi ključ API

O modelu Seedream · Lite · Text to Image

Ustvari slike iz besedilnega poziva. `image_size` sprejema prednastavitve, kot sta square_hd in landscape_16_9, ali auto_2K, auto_3K in auto_4K, s skupnim številom slikovnih pik med 2560x1440 in 4096x4096. `num_images` nastavi od 1 do 6 ustvarjanj, `max_images` pa omogoči, da vsako ustvarjanje vrne več slik. `return_byteplus_urls` po želji vrne zaupanja vredne URL-je, ki potečejo po 24 urah.

Parametri

Pošlji kanonično ali izvorno ime, ne obeh. Kanonična imena

ImeVrsta PrivzetoDovoljeno Opis
promptobvezno
Vrstastring
Besedilna navodila za generiranje slike.
image_sizeneobvezno
Vrstaobject
Privzetoauto_2K
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto_2Kauto_3Kauto_4K
Velikost generirane slike, ki se po potrebi samodejno spremeni, da je skupno število slikovnih pik najmanj 2560×1440 in največ 4096×4096.
num_imagesneobvezno num_outputs
Vrstainteger
Privzeto1
1 – 6
Število neodvisnih generiranj modela z uporabo poziva.
max_imagesneobvezno
Vrstainteger
Privzeto1
1 – 6
Z `max_images` nastavite omejitev slik na generiranje; vrednosti nad ena omogočijo generiranje več slik. Pri `num_images` generiranjih lahko vsako vrne do `max_images` slik, zato je skupno število izhodov od `num_images` do `max_images*num_images`.
enable_safety_checkerneobvezno
Vrstaboolean
Privzetotrue
Preklop preverjanja varnosti, pri katerem izklopljena nastavitev zahteva avtorizacijo računa. Brez te avtorizacije se vsaka zahteva preveri ne glede na nastavitev; true omogoči preverjanje.
return_byteplus_urlsneobvezno
Vrstaboolean
Privzetofalse
Omogočite to možnost za prejete zaupanja vredne URL-je za seedance-2 z veljavnostjo 24 ur.
obvezno Kanonično ime, prav tako sprejeto

Izhod

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"
  }
}
Vaše datoteke, vaša izbiraVsak outputs[].url je kopija v naši shrambi: hrani se za vedno (plačilo na GB-mesec) ali 7 dni brezplačno, glede na nastavitev računa ali ?storage=.
Enaka struktura pri vsakem modelutype, url, content_type, width, height in duration za slike, videoposnetke in zvok. output je lasten objekt rezultata modela.
Polja izhoda
images
array of object {url, content_type, file_name, file_size, width, height}Slike, ki jih ustvari model.
seed
integerSeed, uporabljen med generiranjem.

Več modelov: Besedilo v sliko

Za agente AI: ta stran je v obliki Markdown na voljo na https://doitong.com/sl/developers/models/bytedance/seedream/v5/lite/text-to-image.md. Vsi modeli in vodniki: https://doitong.com/developers/llms.txt