Мазмұнға өту

Seedream 5.0 Pro Text to Image

Интеграциялау

Модель идентификаторы bytedance/seedream/v5/pro/text-to-image
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/bytedance/seedream/v5/pro/text-to-image?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Hard sci-fi cinematic film still, \"AIRLOCK\" — SHOT 3: Wide vertiginous establishing shot. A lone astronaut in a white EVA suit tumbles slowly in zero gravity, impossibly small against the absolute black of deep space. The figure is positioned off-center, slightly diagonal — the slow rotation implied by body posture. A severed umbilical tether trails loose behind the suit, drifting in a long graceful arc. Far in the upper corner, the space station is a tiny receding white geometric speck, maybe 10 pixels of implied detail. Nothing else. Pure black void filling 90% of the frame. The astronaut is the only warm element — the suit'\''s white catching the single hard solar key light, one side blazing white-silver, the shadow side absolute black. No stars. No nebula. Just black. Cold desaturated palette, the suit slightly yellowed-ivory against void. Anamorphic 2.39:1 letterboxed, extreme negative space. 35mm film grain. The scale creates overwhelming existential dread. Hyper-real photographic detail. Shot on ARRI Alexa 65."
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Мысалдағыдай файлдар: 0,135 $ 135 API кредиті файлдарыңыз іске қосу алдында өлшенеді Осы бетте іске қосу

API кілтін алу
ByteDance Мәтіннен кескінге #realism#typography#2k

Редакциялық сападағы фотосуреттер мен постерлерге арналған, 2K-ға дейінгі ByteDance флагмандық кескін моделі.

Мысалдар

Шығыс · ~80 с
Hard sci-fi cinematic film still, "AIRLOCK" — SHOT 3: Wide vertiginous establishing shot. A lone astronaut in a white...

ПромптHard sci-fi cinematic film still, "AIRLOCK" — SHOT 3: Wide vertiginous establishing shot. A lone astronaut in a white EVA suit tumbles slowly in zero gravity, impossibly small against the absolute black of deep space. The figure is positioned off-center, slightly diagonal — the slow rotation implied by body posture. A severed umbilical tether trails loose behind the suit, drifting in a long graceful arc. Far in the upper corner, the space station is a tiny receding white geometric speck, maybe 10 pixels of implied detail. Nothing else. Pure black void filling 90% of the frame. The astronaut is the only warm element — the suit's white catching the single hard solar key light, one side blazing white-silver, the shadow side absolute black. No stars. No nebula. Just black. Cold desaturated palette, the suit slightly yellowed-ivory against void. Anamorphic 2.39:1 letterboxed, extreme negative space. 35mm film grain. The scale creates overwhelming existential dread. Hyper-real photographic detail. Shot on ARRI Alexa 65.

0,135 $ · 135 API кредиті

X желісіндегі @karim_yourself пайдаланушысының промпты

Сұрау жасау

Басқару элементтері модель схемасынан жасалады. Оларды өзгерткен сайын код пен баға жаңартылады.

•міндетті

Кескін генерациясына арналған мәтіндік нұсқаулар.

image_size әдепкі auto_2K

Шығыс кескінінің өлшемдері: жалпы пиксель саны 1024x1024–2048x2048 аралығында, арақатынасы 1/16–16 аралығында болуы керек.

num_images әдепкі 1

Нұсқауды пайдаланатын тәуелсіз модель генерацияларының саны.

Қосымша output_format · enhance_prompt_mode
output_format әдепкі jpeg

Шығыс кескінінің файл пішімі.

enhance_prompt_mode әдепкі standard

Нұсқауды оңтайландыру параметрі: кескін сапасына басымдық беру үшін `standard`, генерация уақытын қысқарту үшін `fast` таңдаңыз.

POST /run/bytedance/seedream/v5/pro/text-to-image?wait=20 бағасы → 0,135 $
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/bytedance/seedream/v5/pro/text-to-image?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Hard sci-fi cinematic film still, \"AIRLOCK\" — SHOT 3: Wide vertiginous establishing shot. A lone astronaut in a white EVA suit tumbles slowly in zero gravity, impossibly small against the absolute black of deep space. The figure is positioned off-center, slightly diagonal — the slow rotation implied by body posture. A severed umbilical tether trails loose behind the suit, drifting in a long graceful arc. Far in the upper corner, the space station is a tiny receding white geometric speck, maybe 10 pixels of implied detail. Nothing else. Pure black void filling 90% of the frame. The astronaut is the only warm element — the suit'\''s white catching the single hard solar key light, one side blazing white-silver, the shadow side absolute black. No stars. No nebula. Just black. Cold desaturated palette, the suit slightly yellowed-ivory against void. Anamorphic 2.39:1 letterboxed, extreme negative space. 35mm film grain. The scale creates overwhelming existential dread. Hyper-real photographic detail. Shot on ARRI Alexa 65."
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Осы сұрауды іске қосу

Кілтіңіз осы браузерде қалады: ол тек Doitong API-ге жіберіледі және Remember параметрін белгілеcеңіз ғана localStorage ішінде сақталады. API кілтін алу

Seedream 5.0 Pro Text to Image туралы

Seedream 5.0 Pro сән редакциялық материалдарынан бастап қаптама мен иллюстрацияланған постерлерге дейін бай, егжей-тегжейлі кескіндер жасайды және типографияны дәл, стильді басқаруды қамтамасыз етеді. Ол 1-ден 4 мегапиксельге дейінгі кескіндерді шығарады (әдепкі auto_2K промпт үшін 2K кадрды таңдайды) және бір сұрауға алты кескінге дейін қайтара алады. Кірістірілген промпт жақсартқышы standard немесе fast режимінде жұмыс істейді.

Параметрлер

Канондық атауды немесе төл атауды жіберіңіз, екеуін қатар жібермеңіз. Канондық атаулар

АтауыТүрі ӘдепкіРұқсат етілген Сипаттама
promptміндетті
Түріstring
Кескін генерациясына арналған мәтіндік нұсқаулар.
image_sizeміндетті емес
Түріobject
Әдепкіauto_2K
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto_1Kauto_2K
Шығыс кескінінің өлшемдері: жалпы пиксель саны 1024x1024–2048x2048 аралығында, арақатынасы 1/16–16 аралығында болуы керек.
num_imagesміндетті емес num_outputs
Түріinteger
Әдепкі1
1 – 6
Нұсқауды пайдаланатын тәуелсіз модель генерацияларының саны.
output_formatміндетті емес
Түріenum
Әдепкіjpeg
jpegpng
Шығыс кескінінің файл пішімі.
enhance_prompt_modeміндетті емес
Түріenum
Әдепкіstandard
standardfast
Нұсқауды оңтайландыру параметрі: кескін сапасына басымдық беру үшін `standard`, генерация уақытын қысқарту үшін `fast` таңдаңыз.
міндетті Канондық атау, бұл да қабылданады

Шығыс

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/seedream/v5/pro/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": 135,
    "usd": "0.135",
    "charged": 135,
    "refunded": 0
  },
  "input": {
    "prompt": "Fashion editorial of a model in a coat patterned with West African textile motifs, studio backdrop, soft key light",
    "image_size": "auto_2K"
  },
  "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
      }
    ]
  },
  "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://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Файлдарыңыз — таңдауыңызӘр outputs[].url — сақтау орнымыздағы көшірме: мәңгі (әр GB-ай үшін ақылы) немесе аккаунт параметрі не ?storage= арқылы 7 күн тегін сақталады.
Әр модельдегі пішім бірдейtype, url, content_type, width, height және duration — кескіндерге, бейнеге және аудиоға ортақ. output — модельдің өз нәтижелер нысаны.
Шығыс өрістері
images
array of object {url, content_type, file_name, file_size, width, height}Генерация нәтижесінде алынған кескіндер.

Қосымша модельдер: Мәтіннен кескінге

AI агенттеріне: бұл беттің Markdown нұсқасы мына жерде: https://doitong.com/kk/developers/models/bytedance/seedream/v5/pro/text-to-image.md. Барлық модельдер мен нұсқаулықтар: https://doitong.com/developers/llms.txt