Leum chun t-susbaint

Seedream · Lite · Text to Image

Amalaich

ID a’ mhodail 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"

An t-iarrtas seo: $0.035 35 creideasan API Ruith e air an duilleig seo

Faigh iuchair API
ByteDance Teacsa gu Ìomhaigh Toradh 4KLuath #text-to-image#bytedance#seedream-5.0-lite

Seedream 5 Lite teacsa-gu-ìomhaigh le ìrean meud 2K gu 4K agus gineadh ioma-ìomhaigh

Air a dhèanamh air Doitong

Obraichean poblach a rinn coimhearsnachd Doitong le Seedream 5.0. Ath-chleachd prompt ann an aon bhriogadh.

Obraichean poblach air an sealltainn: 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...

Tog iarrtas

Tha na smachdan air an cruthachadh bho sgeama a’ mhodail. Bidh an còd agus a’ phrìs ag ùrachadh fhad ’s a dh’atharraicheas tu iad.

•riatanach

Stiùireadh teacsa airson an ìomhaigh a ghineadh.

bun-roghainn auto_2K

Meud ìomhaigh ghineadh, air a sgèileadh gu fèin-obrachail nuair a tha feum air gus an àireamh iomlan pixel a chumail aig no os cionn 2560×1440 agus aig no fo 4096×4096.

num_images bun-roghainn 1

Àireamh de ruith gineadh neo-eisimeileach a’ mhodail a’ cleachdadh a’ phrompt.

bun-roghainn 1

Suidhich mullach ìomhaighean gach gineadh le `max_images`; tha luachan os cionn aon a’ cur gineadh ioma-ìomhaigh an comas. Thar `num_images` gineadh, faodaidh gach fear suas ri `max_images` ìomhaighean a thilleadh, a’ toirt àireamh às-chur iomlan bho `num_images` gu `max_images*num_images`.

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

Ruith an t-iarrtas seo

Fuirichidh an iuchair agad sa bhrobhsair seo: thèid a cur chun Doitong API a-mhàin agus a sàbhaladh (localStorage) a-mhàin ma chuireas tu comharra ri Cuimhnich. Faigh iuchair API

Mu Seedream · Lite · Text to Image

Cruthaichidh e ìomhaighean bho bhrosnachadh teacsa. Gabhaidh `image_size` ri ro-shuidhichidhean leithid square_hd agus landscape_16_9 no auto_2K, auto_3K agus auto_4K, le piogsail iomlan eadar 2560x1440 agus 4096x4096. Suidhichidh `num_images` 1 gu 6 ginealaichean agus leigidh `max_images` le gach ginealach grunn ìomhaighean a thilleadh. Tillidh `return_byteplus_urls` roghainneil URLan earbsach a thig gu crìch ann an 24 uair.

Paramadairean

Cuir an t-ainm canonical no an t-ainm dùthchasach, chan e an dà chuid. Ainmean canonical

AinmSeòrsa Bun-roghainnCeadaichte Tuairisgeul
promptriatanach
Seòrsastring
Stiùireadh teacsa airson an ìomhaigh a ghineadh.
image_sizeroghainneil
Seòrsaobject
Bun-roghainnauto_2K
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto_2Kauto_3Kauto_4K
Meud ìomhaigh ghineadh, air a sgèileadh gu fèin-obrachail nuair a tha feum air gus an àireamh iomlan pixel a chumail aig no os cionn 2560×1440 agus aig no fo 4096×4096.
num_imagesroghainneil num_outputs
Seòrsainteger
Bun-roghainn1
1 – 6
Àireamh de ruith gineadh neo-eisimeileach a’ mhodail a’ cleachdadh a’ phrompt.
max_imagesroghainneil
Seòrsainteger
Bun-roghainn1
1 – 6
Suidhich mullach ìomhaighean gach gineadh le `max_images`; tha luachan os cionn aon a’ cur gineadh ioma-ìomhaigh an comas. Thar `num_images` gineadh, faodaidh gach fear suas ri `max_images` ìomhaighean a thilleadh, a’ toirt àireamh às-chur iomlan bho `num_images` gu `max_images*num_images`.
enable_safety_checkerroghainneil
Seòrsaboolean
Bun-roghainntrue
Tionndadh sgrùdaidh sàbhailteachd agus feumaidh a shuidheachadh dheth ùghdarras cunntais. Gun an ùghdarras sin, thèid gach iarrtas a sgrùdadh ge bith dè an suidheachadh; tha true a’ cur an sgrùdaiche an comas.
return_byteplus_urlsroghainneil
Seòrsaboolean
Bun-roghainnfalse
Cuir an comas seo gus URL earbsach fhaighinn airson seedance-2 le ùine dhligheachd de 24 uairean.
riatanach Ainm canonical, gabhar ris cuideachd

Toradh

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"
  }
}
Na faidhlichean agad, do roghainnTha gach outputs[].url na lethbhreac air an stòradh againn: air a chumail gu bràth (air a phàigheadh gach GB-mìos) no 7 latha an-asgaidh, a rèir suidheachadh a’ chunntais agad no ?storage=.
An aon chruth air gach modailtype, url, content_type, width, height agus duration, airson dealbhan, bhidio agus fuaim le chèile. ’S e output nì toraidh a’ mhodail fhèin.
Raointean toraidh
images
array of object {url, content_type, file_name, file_size, width, height}Ìomhaighean a chruthaich am modail.
seed
integerSìol a chaidh a chur an sàs rè a’ ghineadh.

Barrachd mhodalan: Teacsa gu Ìomhaigh

Do riochdairean AI: tha an duilleag seo mar Markdown aig https://doitong.com/gd/developers/models/bytedance/seedream/v5/lite/text-to-image.md. Na modailean agus na treòraichean uile: https://doitong.com/developers/llms.txt