Pāriet uz saturu

Seedream · Lite · Text to Image

Integrēt

Modeļa 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"

Šis pieprasījums: 0,035 $ 35 API kredīti Izpildīt šajā lapā

Iegūt API atslēgu
ByteDance Teksts uz attēlu 4K izvadeĀtrs #text-to-image#bytedance#seedream-5.0-lite

Seedream 5 Lite teksta pārveidošanai attēlā ar 2K līdz 4K izmēru līmeņiem un vairāku attēlu ģenerēšanu

Izveidots vietnē Doitong

Doitong kopienas publiskie darbi, kas izveidoti ar Seedream 5.0. Izmantojiet uzvedni atkārtoti ar vienu klikšķi.

Rādīti publiskie darbi: 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-стиль,...

Izveidot pieprasījumu

Vadīklas tiek ģenerētas no modeļa shēmas. Kods un cena tiek atjaunināti, kad tos maināt.

•obligāts

Teksta instrukcijas attēla ģenerēšanai.

noklusējums auto_2K

Ģenerētā attēla izmērs, kas vajadzības gadījumā automātiski mērogots, lai kopējais pikseļu skaits būtu vismaz 2560×1440 un ne vairāk kā 4096×4096.

num_images noklusējums 1

Neatkarīgo modeļa ģenerēšanas izpildes reižu skaits, izmantojot uzvedni.

noklusējums 1

Iestatiet attēlu ierobežojumu katrai ģenerēšanai ar `max_images`; vērtības virs vienas iespējo vairāku attēlu ģenerēšanu. `num_images` ģenerēšanās katra var atgriezt līdz `max_images` attēliem, kopā nodrošinot no `num_images` līdz `max_images*num_images` izvades attēliem.

Papildu 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"

Palaist šo pieprasījumu

Jūsu atslēga paliek šajā pārlūkprogrammā: tā tiek nosūtīta tikai uz Doitong API un saglabāta (localStorage) tikai tad, ja atzīmējat Atcerēties. Iegūt API atslēgu

Par Seedream · Lite · Text to Image

Ģenerē attēlus no teksta uzvednes. `image_size` pieņem tādus iestatījumus kā square_hd un landscape_16_9 vai auto_2K, auto_3K un auto_4K, ar kopējo pikseļu skaitu no 2560x1440 līdz 4096x4096. `num_images` iestata 1 līdz 6 ģenerēšanas, bet `max_images` ļauj katrai ģenerēšanai atgriezt vairākus attēlus. `return_byteplus_urls` pēc izvēles atgriež uzticamus URL, kuru derīgums beidzas pēc 24 stundām.

Parametri

Nosūti vai nu kanonisko nosaukumu, vai vietējo nosaukumu, bet ne abus. Kan啤niskie nosaukumi

NosaukumsTips NoklusējumsAtļauts Apraksts
promptobligāts
Tipsstring
Teksta instrukcijas attēla ģenerēšanai.
image_sizeneobligāts
Tipsobject
Noklusējumsauto_2K
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto_2Kauto_3Kauto_4K
Ģenerētā attēla izmērs, kas vajadzības gadījumā automātiski mērogots, lai kopējais pikseļu skaits būtu vismaz 2560×1440 un ne vairāk kā 4096×4096.
num_imagesneobligāts num_outputs
Tipsinteger
Noklusējums1
1 – 6
Neatkarīgo modeļa ģenerēšanas izpildes reižu skaits, izmantojot uzvedni.
max_imagesneobligāts
Tipsinteger
Noklusējums1
1 – 6
Iestatiet attēlu ierobežojumu katrai ģenerēšanai ar `max_images`; vērtības virs vienas iespējo vairāku attēlu ģenerēšanu. `num_images` ģenerēšanās katra var atgriezt līdz `max_images` attēliem, kopā nodrošinot no `num_images` līdz `max_images*num_images` izvades attēliem.
enable_safety_checkerneobligāts
Tipsboolean
Noklusējumstrue
Drošības pārbaudes slēdzis, kura izslēgšanai nepieciešama konta autorizācija. Bez šīs autorizācijas katrs pieprasījums tiek pārbaudīts neatkarīgi no iestatījuma; true iespējo pārbaudītāju.
return_byteplus_urlsneobligāts
Tipsboolean
Noklusējumsfalse
Iespējojiet šo opciju, lai saņemtu uzticamus seedance-2 URL ar 24 stundu derīguma periodu.
obligāts Kan啤niskais nosaukums, arī pieņemts

Izvade

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"
  }
}
Jūsu faili, jūsu izvēleKatrs outputs[].url ir kopija mūsu krātuvē: tiek glabāta mūžīgi (maksa par GB mēnesī) vai 7 dienas bez maksas — atbilstoši konta iestatījumam vai ?storage=.
Vienāda struktūra katram modelimtype, url, content_type, width, height un duration gan attēliem, gan video un audio. output ir paša modeļa rezultāta objekts.
Izvades lauki
images
array of object {url, content_type, file_name, file_size, width, height}Modeļa izveidotie attēli.
seed
integerĢenerēšanas laikā izmantotā sēkla.

Vairāk modeļu: Teksts uz attēlu

AI aģentiem: šī lapa Markdown formātā ir pieejama https://doitong.com/lv/developers/models/bytedance/seedream/v5/lite/text-to-image.md. Visi modeļi un ceļveži: https://doitong.com/developers/llms.txt