Ruka hadi kwenye maudhui

Bytedance Seedream V4.5 Text To Image

Unganisha

Kitambulisho cha modeli bytedance/seedream/v4.5/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/v4.5/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"

Ombi hili: $ 0.04 salio za API 40 Iendeshe kwenye ukurasa huu

Pata ufunguo wa API
ByteDance Maandishi hadi Picha Pato la 4K #stylized#transform

Uzalishaji wa maandishi-hadi-picha katika saizi za 2K hadi 4K, ukiwa na chaguo la kutoa picha nyingi kwa ombi

Imetengenezwa kwenye Doitong

Kazi za umma zilizotengenezwa kwa Bytedance Seedream V4.5 na jumuiya ya Doitong. Tumia tena kidokezo kwa kubofya mara moja.

Kazi za umma zilizoonyeshwa: 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-стиль,...

Unda ombi

Vidhibiti vinazalishwa kutoka kwenye schema ya modeli. Msimbo na bei husasishwa unapovibadilisha.

•inahitajika

Maelekezo ya maandishi ya kuzalisha picha.

image_size chaguomsingi {"height":2048,"width...

Ukubwa wa picha iliyozalishwa lazima utimize mojawapo ya masharti mawili: jumla ya pikseli kutoka 2560*1440 hadi 4096*4096, au upana na urefu kila mmoja kati ya 1920–4096.

num_images chaguomsingi 1

Idadi ya uendeshaji huru wa uzalishaji wa modeli kwa kutumia kidokezo.

chaguomsingi 1

Weka kikomo cha picha kwa kila uzalishaji kwa `max_images`; thamani zilizo juu ya moja huwezesha uzalishaji wa picha nyingi. Katika uzalishaji wa `num_images`, kila mmoja unaweza kurejesha hadi `max_images` picha, na kutoa jumla ya tokeo kutoka `num_images` hadi `max_images*num_images`.

Ya kina seed · enable_safety_checker

Mbegu nasibu inayodhibiti nasibu wakati wa uzalishaji wa picha.

POST /run/bytedance/seedream/v4.5/text-to-image?wait=20 makadirio → $ 0.04
# 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/v4.5/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"

Endesha ombi hili

Key yako inabaki kwenye kivinjari hiki: inatumwa kwa Doitong API pekee na kuhifadhiwa (localStorage) tu ukiweka tiki kwenye Kumbuka. Pata ufunguo wa API

Kuhusu Bytedance Seedream V4.5 Text To Image

Toleo la uzalishaji la Seedream 4.5 linalotumia maandishi pekee, bila kuhitaji picha ya ingizo. Weka `prompt` na uchague mipangilio ya `image_size` kama landscape_16_9, auto_2K au auto_4K, au toa vipimo maalum. `num_images` na `max_images` kila moja inaruhusu hadi 6, na `seed` hufanya matokeo yarudiwe. Jibu linajumuisha mbegu iliyotumika.

Vigezo

Tuma jina rasmi au jina asilia, si yote mawili. Majina rasmi

JinaAina ChaguomsingiInaruhusiwa Maelezo
promptinahitajika
Ainastring
Maelekezo ya maandishi ya kuzalisha picha.
image_sizesi lazima
Ainaobject
Chaguomsingi{"height":2048,"width":2048}
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto_2Kauto_4K
Ukubwa wa picha iliyozalishwa lazima utimize mojawapo ya masharti mawili: jumla ya pikseli kutoka 2560*1440 hadi 4096*4096, au upana na urefu kila mmoja kati ya 1920–4096.
num_imagessi lazima num_outputs
Ainainteger
Chaguomsingi1
1 – 6
Idadi ya uendeshaji huru wa uzalishaji wa modeli kwa kutumia kidokezo.
max_imagessi lazima
Ainainteger
Chaguomsingi1
1 – 6
Weka kikomo cha picha kwa kila uzalishaji kwa `max_images`; thamani zilizo juu ya moja huwezesha uzalishaji wa picha nyingi. Katika uzalishaji wa `num_images`, kila mmoja unaweza kurejesha hadi `max_images` picha, na kutoa jumla ya tokeo kutoka `num_images` hadi `max_images*num_images`.
seedsi lazima
Ainainteger | null
Mbegu nasibu inayodhibiti nasibu wakati wa uzalishaji wa picha.
enable_safety_checkersi lazima
Ainaboolean
Chaguomsingitrue
Swichi ya ukaguzi wa usalama ambayo hali yake ya kuzimwa inahitaji uidhinishaji wa akaunti. Bila uidhinishaji huo, kila ombi hukaguliwa bila kujali mpangilio; true huwezesha kikagua.
inahitajika Jina rasmi, pia linakubalika

Tokeo

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/seedream/v4.5/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": 40,
    "usd": "0.04",
    "charged": 40,
    "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"
  }
}
Faili zako, chaguo lakoKila outputs[].url ni nakala kwenye hifadhi yetu: huhifadhiwa milele (hutozwa kwa GB kwa mwezi) au 7 siku bila malipo, kulingana na mpangilio wa akaunti yako au ?storage=.
Muundo uleule kwenye kila modelitype, url, content_type, width, height na duration, kwa picha, video na sauti. output ni kitu cha matokeo cha modeli yenyewe.
Sehemu za tokeo
images
array of object {url, content_type, file_name, file_size, width, height}Picha zilizozalishwa na modeli.
seed
integerThamani ya mbegu inayotumiwa wakati wa uzalishaji.

Miundo zaidi: Maandishi hadi Picha

Kwa mawakala wa AI: ukurasa huu katika Markdown unapatikana kwenye https://doitong.com/sw/developers/models/bytedance/seedream/v4.5/text-to-image.md. Modeli na miongozo yote: https://doitong.com/developers/llms.txt